]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Remove duplicate strcat implementations
[thirdparty/glibc.git] / ChangeLog
1 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
3 * sysdeps/ia64/strcat.c: Remove file.
4 * sysdeps/powerpc/strcat.c: Likewise.
5 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
6 C implementation.
7 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
9
10 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11 Steven Munroe <sjmunroe@us.ibm.com>
12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13
14 [BZ #20822]
15 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16 (__lll_lock_elision): Access adapt_count via C11 atomics.
17 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18 (__lll_trylock_elision): Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
20 (__lll_unlock_elision): Update adapt_count variable inside the
21 critical section using C11 atomics.
22
23 2017-01-03 Joseph Myers <joseph@codesourcery.com>
24
25 * math/test-fenvinline.c (do_test): Disable tests of raised
26 exceptions if !EXCEPTION_TESTS (FLOAT).
27
28 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29
30 [BZ #19390]
31 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
32 maximum string size.
33 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
34 in pointer addition.
35 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
36 Likewise.
37
38 2017-01-03 Joseph Myers <joseph@codesourcery.com>
39
40 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
41 passed to tst-ldconfig-X.sh.
42
43 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
44
45 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
46
47 2017-01-02 Joseph Myers <joseph@codesourcery.com>
48
49 [BZ #21019]
50 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
51 New syscall entry.
52 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
53 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
54 lseek.
55
56 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
57 power4 glibc for powerpc-linux-gnu.
58
59 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
60
61 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
62 semctl.
63
64 2017-01-02 Joseph Myers <joseph@codesourcery.com>
65
66 * math/test-nearbyint-except.c: Include <stdbool.h>.
67 (any_supported): New variable.
68 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
69 set any_supported.
70 (do_test): Return 77 if no floating-point type supported
71 exceptions.
72
73 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
74 condition on [__mips_hard_float].
75
76 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
77
78 [BZ #21014]
79 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
80 in pointer addition.
81 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
82
83 2017-01-02 Torvald Riegel <triegel@redhat.com>
84
85 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
86 new condvar.
87
88 2017-01-02 Joseph Myers <joseph@codesourcery.com>
89
90 * scripts/build-many-glibcs.py (Context.checkout): Default
91 binutils version to 2.28 branch.
92
93 2017-01-01 Florian Weimer <fweimer@redhat.com>
94
95 * support/support_format_netent.c (support_format_netent): Work
96 around alpha struct netent definition difference.
97
98 2017-01-01 Florian Weimer <fweimer@redhat.com>
99
100 * support/xwrite.c (xwrite): Use %td for pointer difference.
101
102 2017-01-01 Florian Weimer <fweimer@redhat.com>
103
104 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
105 have-tunables only.
106 (tests-static): Add tst-malloc-usable-static-tunables for
107 have-tunables only.
108
109 2017-01-01 Joseph Myers <joseph@codesourcery.com>
110
111 * scripts/config.guess: Update to version 2017-01-01.
112 * scripts/config.sub: Update to version 2017-01-01.
113
114 * NEWS: Update copyright dates.
115 * catgets/gencat.c (print_version): Likewise.
116 * csu/version.c (banner): Likewise.
117 * debug/catchsegv.sh: Likewise.
118 * debug/pcprofiledump.c (print_version): Likewise.
119 * debug/xtrace.sh (do_version): Likewise.
120 * elf/ldconfig.c (print_version): Likewise.
121 * elf/ldd.bash.in: Likewise.
122 * elf/pldd.c (print_version): Likewise.
123 * elf/sotruss.sh: Likewise.
124 * elf/sprof.c (print_version): Likewise.
125 * iconv/iconv_prog.c (print_version): Likewise.
126 * iconv/iconvconfig.c (print_version): Likewise.
127 * locale/programs/locale.c (print_version): Likewise.
128 * locale/programs/localedef.c (print_version): Likewise.
129 * login/programs/pt_chown.c (print_version): Likewise.
130 * malloc/memusage.sh (do_version): Likewise.
131 * malloc/memusagestat.c (print_version): Likewise.
132 * malloc/mtrace.pl: Likewise.
133 * manual/libc.texinfo: Likewise.
134 * nptl/version.c (banner): Likewise.
135 * nscd/nscd.c (print_version): Likewise.
136 * nss/getent.c (print_version): Likewise.
137 * nss/makedb.c (print_version): Likewise.
138 * posix/getconf.c (main): Likewise.
139 * scripts/test-installation.pl: Likewise.
140 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
141
142 * All files with FSF copyright notices: Update copyright dates
143 using scripts/update-copyrights.
144 * intl/plural.c: Regenerated.
145 * locale/programs/charmap-kw.h: Likewise.
146 * locale/programs/locfile-kw.h: Likewise.
147
148 2016-12-31 Florian Weimer <fweimer@redhat.com>
149
150 [BZ #20593]
151 Update DNS RR type definitions.
152 * scripts/gen-rrtypes.py: New file.
153 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
154 BIND-internal RR type not used on the Internet. Add ns_t_ds,
155 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
156 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
157 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
158 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
159 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
160 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
161 ns_t_ta, ns_t_dlv.
162 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
163 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
164 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
165 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
166 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
167 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
168 Define.
169 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
170 entry for ns_t_zxfr.
171
172 2016-12-31 Florian Weimer <fweimer@redhat.com>
173
174 [BZ #18784]
175 CVE-2015-5180
176 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
177 T_UNSPEC. Adjust value.
178 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
179 * resolv/res_query.c (__libc_res_nquery): Likewise.
180 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
181 QTYPEs.
182 * resolv/tst-resolv-qtypes.c: New file.
183 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
184 (tst-resolv-qtypes): Link against libresolv and libpthread.
185
186 2016-12-31 Florian Weimer <fweimer@redhat.com>
187
188 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
189
190 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
191
192 * manual/tunables.texi: New chapter.
193 * manual/Makefile (chapters): Add it.
194 * manual/probes.texi (@node): Point to the Tunables chapter.
195
196 * Makeconfig (have-tunables): Check for non-negative instead
197 of positive.
198 * configure.ac: Add 'valstring' as a valid value for
199 --enable-tunables.
200 * configure: Regenerate.
201 * elf/Makefile (have-tunables): Check for non-negative instead
202 of positive.
203 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
204 dl-tunables.c.
205 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
206 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
207 (tunables_strdup): Likewise.
208 (disable_tunables): Likewise.
209 (parse_tunables): Likewise.
210 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
211 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
212 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
213 (TUNABLES_FRONTEND_yes): New macro, define as
214 TUNABLES_FRONTEND_valstring by default.
215 * manual/install.texi: Document new acceptable values for
216 --enable-tunables.
217 * INSTALL: Regenerate.
218
219 * config.make.in (have-loop-to-function): Define.
220 * elf/Makefile (CFLAGS-dl-tunables.c): Add
221 -fno-tree-loop-distribute-patterns.
222 * elf/dl-tunables.c: Include libc-internals.h.
223 (GLIBC_TUNABLES): New macro.
224 (tunables_strdup): New function.
225 (parse_tunables): New function.
226 (min_strlen): New function.
227 (__tunables_init): Use the new functions and macro.
228 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
229 * malloc/tst-malloc-usable-tunables.c: New test case.
230 * malloc/tst-malloc-usable-static-tunables.c: New test case.
231 * malloc/Makefile (tests, tests-static): Add tests.
232
233 * manual/install.texi: Add --enable-tunables option.
234 * INSTALL: Regenerate.
235 * README.tunables: New file.
236 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
237 (before-compile): Generate dl-tunable-list.h early.
238 * config.h.in: Add HAVE_TUNABLES.
239 * config.make.in: Add have-tunables.
240 * configure.ac: Add --enable-tunables option.
241 * configure: Regenerate.
242 * csu/init-first.c (__libc_init_first): Move
243 __libc_init_secure earlier...
244 * csu/init-first.c (LIBC_START_MAIN):... to here.
245 Include dl-tunables.h, libc-internal.h.
246 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
247 binaries.
248 * elf/Makefile (dl-routines): Add dl-tunables.
249 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
250 namespace.
251 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
252 only when !HAVE_TUNABLES.
253 * elf/rtld.c (process_envvars): Likewise.
254 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
255 (_dl_sysdep_start): Call __tunables_init.
256 * elf/dl-tunable-types.h: New file.
257 * elf/dl-tunables.c: New file.
258 * elf/dl-tunables.h: New file.
259 * elf/dl-tunables.list: New file.
260 * malloc/tst-malloc-usable-static.c: New test case.
261 * malloc/Makefile (tests-static): Add it.
262 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
263 Define TUNABLE_NAMESPACE.
264 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
265 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
266 callback functions.
267 (ptmalloc_init): Set tunable values.
268 * scripts/gen-tunables.awk: New file.
269 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
270 (_dl_sysdep_start): Call __tunables_init.
271
272 2016-12-31 Florian Weimer <fweimer@redhat.com>
273
274 * resolv/resolv.h (RES_BLAST): Deprecate.
275 * resolv/res_debug.c (p_option): Remove RES_BLAST.
276 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
277 to RES_BLAST.
278
279 2016-12-27 Florian Weimer <fweimer@redhat.com>
280
281 [BZ #19582]
282 Deprecate RES_USE_INET6.
283 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
284 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
285 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
286 RES_USE_INET6.
287 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
288 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
289 (_nss_nisplus_gethostbyaddr_r): Likewise.
290 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
291 of res_use_inet6.
292 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
293 instead of RES_USE_INET6.
294 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
295 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
296 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
297 Likewise.
298 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
299 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
300 Likewise.
301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
302 (_nss_dns_gethostbyname_r): Likewise.
303 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
304 alternate RES_USE_INET6 handling.
305 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
306 instead of RES_USE_INET6.
307 * resolv/res_init.c (res_setoptions): Likewise.
308 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
309 * resolv/resolv-internal.h: New file.
310 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
311 make the deprecation warning non-fatal.
312 * resolv/README (Using the resolver in multi-threaded code): Drop
313 reference to RES_USE_INET6.
314 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
315 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
316
317 2016-12-31 Florian Weimer <fweimer@redhat.com>
318
319 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
320 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
321 tst-resolv-search.
322 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
323 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
324 with libresolv and libpthread.
325 * resolv/tst-bug18665.c: New file.
326 * resolv/tst-bug18665-tcp: Likewise.
327 * resolv/tst-res_use_inet6: Likewise.
328 * resolv/tst-resolv-basic: Likewise.
329 * resolv/tst-resolv-network: Likewise.
330 * resolv/tst-resolv-search: Likewise.
331 * support/Makefile (libsupport-routines): Add check_addrinfo,
332 check_dns_packet, check_hostent, check_netent, resolv_test,
333 support_format_address_family, support_format_addrinfo,
334 support_format_dns_packet, support_format_herrno,
335 support_format_hostent, support_format_netent, support_run_diff,
336 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
337 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
338 xstrdup, xwrite.
339 * support/check_addrinfo.c: New file.
340 * support/check_dns_packet.c: Likewise.
341 * support/check_hostent.c: Likewise.
342 * support/check_netent.c: Likewise.
343 * support/check_nss.h: Likewise.
344 * support/format_nss.h: Likewise.
345 * support/resolv_test.c: Likewise.
346 * support/resolv_test.h: Likewise.
347 * support/run_diff.h: Likewise.
348 * support/support_format_address_family.c: Likewise.
349 * support/support_format_addrinfo.c: Likewise.
350 * support/support_format_dns_packet.c: Likewise.
351 * support/support_format_herrno.c: Likewise.
352 * support/support_format_hostent.c: Likewise.
353 * support/support_format_netent.c: Likewise.
354 * support/support_run_diff.c: Likewise.
355 * support/xaccept.c: Likewise.
356 * support/xbind.c: Likewise.
357 * support/xconnect.c: Likewise.
358 * support/xfclose.c: Likewise.
359 * support/xfopen.c: Likewise.
360 * support/xgetsockname.c: Likewise.
361 * support/xlisten.c: Likewise.
362 * support/xmemstream.c: Likewise.
363 * support/xmemstream.h: Likewise.
364 * support/xpoll.c: Likewise.
365 * support/xpthread_once.c: Likewise.
366 * support/xrecvfrom.c: Likewise.
367 * support/xsendto.c: Likewise.
368 * support/xsetsockopt.c: Likewise.
369 * support/xstdio.h: Likewise.
370 * support/xstrdup.c: Likewise.
371 * support/support.h (xstrdup): Declare.
372 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
373 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
374 * support/xthread.h (xpthread_once): Likwise.
375 * support/xunistd.h (xwrite): Declare.
376
377 2016-12-31 Florian Weimer <fweimer@redhat.com>
378
379 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
380 (test_verbose): Declare.
381 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
382 * support/support_test_main.c (default_options): Likewise.
383 (usage, support_test_main): Handle 'v'.
384 (test_verbose): Define.
385 * support/tst-support_record_failure.c (do_test): Use
386 test_verbose.
387 * support/tst-support_record_failure-2.sh (different_status): Add
388 --verbose test.
389
390 2016-12-31 Florian Weimer <fweimer@redhat.com>
391
392 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
393 test failures are recorded.
394 * support/check.c (support_print_failure_impl): Call
395 support_record_failure.
396 (support_exit_failure_impl): Call support_record_failure if status
397 indicates failure.
398 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
399 * support/xasprintf.c (xasprintf): Likewise.
400 * support/xfork.c (xfork): Likewise.
401 * support/xpthread_check_return.c (xpthread_check_return):
402 Likewise.
403 * support/xsocket.c (xsocket): Likeweise.
404 * support/xwaitpid.c (xwaitpid): Likewise.
405 * support/support_record_failure.c (struct test_failures): Adjust
406 to coding style.
407 * support/support_test_verify_impl.c (support_test_verify_impl):
408 Adjust error messages.
409 * support/tst-support_record_failure-2.sh (different_status):
410 Adjust error messages.
411
412 2016-12-31 Florian Weimer <fweimer@redhat.com>
413
414 * support/namespace.h: New file.
415 * support/support_become_root.c: Likewise.
416 * support/support_enter_network_namespace.c: Likewise.
417 * support/tst-support-namespace.c: Likewise.
418 * support/xsocket.c: Likewise.
419 * support/xsocket.h: Likewise.
420 * support/Makefile (libsupport-routines): Add support_become_root,
421 support_enter_network_namespace, xsocket.
422 (tests): Add tst-support-namespace.
423
424 2016-12-31 Florian Weimer <fweimer@redhat.com>
425
426 [BZ #17252]
427 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
428 __USE_GNU.
429
430 2016-12-31 Torvald Riegel <triegel@redhat.com>
431
432 [BZ #13165]
433 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
434 use new algorithm.
435 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
436 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
437 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
438 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
439 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
440 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
441 __condvar_cleanup_waiting, __condvar_dec_grefs,
442 __pthread_cond_wait_common): New.
443 (__condvar_cleanup): Remove.
444 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
445 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
446 Likewise.
447 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
448 Likewise.
449 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
450 * nptl/tst-cond1.c: Add comment.
451 * nptl/tst-cond20.c (do_test): Adapt.
452 * nptl/tst-cond22.c (do_test): Likewise.
453 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
454 structure.
455 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
456 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
457 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
458 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
459 Likewise.
460 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
461 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
462 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
463 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
464 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
465 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
466 Likewise.
467 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
468 Likewise.
469 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
470 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
471 (COND_CLOCK_BITS): Adapt.
472 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
473 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
474 __PTHREAD_COND_SHARED_MASK): New.
475 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
476 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
477 * nptl/nptl_lock_constants.pysym: Adapt.
478 * nptl/test-cond-printers.py: Adapt.
479 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
480 cond_compat_check_and_clear): Adapt.
481 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
482 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
483 (__pthread_cond_timedwait): ... and move here.
484 * nptl/DESIGN-condvar.txt: Remove file.
485 * nptl/lowlevelcond.sym: Likewise.
486 * nptl/pthread_cond_timedwait.c: Likewise.
487 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
488 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
489 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
491 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
492 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
493 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
494 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
495 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
496 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
497 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
498 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
500 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
502 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
503
504 2016-12-31 Joseph Myers <joseph@codesourcery.com>
505
506 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
507 (fromfp): New declaration.
508 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
509 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
510 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
511 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
512 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
516 * math/math.h: Include <bits/types.h>.
517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
518 constant and macro.
519 (FP_INT_DOWNWARD): Likewise.
520 (FP_INT_TOWARDZERO): Likewise.
521 (FP_INT_TONEARESTFROMZERO): Likewise.
522 (FP_INT_TONEAREST): Likewise.
523 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
524 (fromfpf): Likewise.
525 (fromfpl): Likewise.
526 (ufromfp): Likewise.
527 (ufromfpf): Likewise.
528 (ufromfpl): Likewise.
529 (fromfpx): Likewise.
530 (fromfpxf): Likewise.
531 (fromfpxl): Likewise.
532 (ufromfpx): Likewise.
533 (ufromfpxf): Likewise.
534 (ufromfpxl): Likewise.
535 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
536 s_fromfpxF and s_ufromfpxF.
537 * math/gen-fromfp-tests.py: New file.
538 * math/gen-fromfp-tests-inputs: Likewise.
539 * math/libm-test.inc: Include <stdint.h>
540 (check_intmax_t): New function.
541 (check_uintmax_t): Likewise.
542 (struct test_fiu_M_data): New type.
543 (struct test_fiu_U_data): Likewise.
544 (RUN_TEST_fiu_M): New macro.
545 (RUN_TEST_LOOP_fiu_M): Likewise.
546 (RUN_TEST_fiu_U): Likewise.
547 (RUN_TEST_LOOP_fiu_U): Likewise.
548 (fromfp_test_data): New array.
549 (fromfp_test): New function.
550 (fromfpx_test_data): New array.
551 (fromfpx_test): New function.
552 (ufromfp_test_data): New array.
553 (ufromfp_test): New function.
554 (ufromfpx_test_data): New array.
555 (ufromfpx_test): New function.
556 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
557 ufromfpx_test.
558 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
559 characters.
560 * math/test-tgmath-ret.c: Include <stdint.h>.
561 (rm): New variable.
562 (width): Likewise.
563 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
564 called function.
565 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
566 CHECK_RET_CONST_TYPE.
567 (CHECK_RET_CONST_DOUBLE): Likewise.
568 (CHECK_RET_CONST_LDOUBLE): Likewise.
569 (CHECK_RET_CONST): Take extra arguments and pass them to calls
570 macros.
571 (fromfp): New CHECK_RET_CONST call.
572 (ufromfp): Likewise.
573 (fromfpx): Likewise.
574 (ufromfpx): Likewise.
575 (do_test): Call check_return_fromfp, check_return_ufromfp,
576 check_return_fromfpx and check_return_ufromfpx.
577 * math/test-tgmath.c: Include <stdint.h>
578 (NCALLS): Increase to 138.
579 (F(compile_test)): Initialize i. Call fromfp functions.
580 (F(fromfp)): New function.
581 (F(fromfpx)): Likewise.
582 (F(ufromfp)): Likewise.
583 (F(ufromfpx)): Likewise.
584 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
585 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
586 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
587 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
588 ufromfpxl.
589 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
590 ufromfp and ufromfpx.
591 * math/fromfp.h: New file.
592 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
593 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
594 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
595 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
596 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
597 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
598 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
599 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
600 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
601 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
602 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
603 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
604 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
605 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
606 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
607 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
608 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
611 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
612 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
613 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
614 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
615 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
616 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
617 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
618 ufromfp, fromfpx and ufromfpx.
619 (CFLAGS-nldbl-fromfp.c): New variable.
620 (CFLAGS-nldbl-fromfpx.c): Likewise.
621 (CFLAGS-nldbl-ufromfp.c): Likewise.
622 (CFLAGS-nldbl-ufromfpx.c): Likewise.
623 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
624 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
625 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
626 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
627 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
628 * sysdeps/nacl/libm.abilist: Update.
629 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
630 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
631 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
632 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
633 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
634 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
635 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
636 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
637 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
638 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
639 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
640 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
642 Likewise.
643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
644 Likewise.
645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
646 Likewise.
647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
648 Likewise.
649 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
650 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
651 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
652 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
653 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
655 Likewise.
656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
657 Likewise.
658 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
659 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
660 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
661
662 2016-12-30 Florian Weimer <fweimer@redhat.com>
663
664 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
665 compat-gethnamaddr.
666 (CPPFLAGS): Remove.
667 * resolv/gethnamaddr.c: Rename ...
668 * resolv/compat-gethnamaddr.c: ... to this file.
669 (_endhtent): Make static.
670 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
671 symbol.
672 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
673 compat symbol.
674 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
675 symbol.
676 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
677 Turn into compat symbol.
678 * include/resolv.h (_endhtent): Remove declaration.
679
680 2016-12-30 Joseph Myers <joseph@codesourcery.com>
681
682 * bits/types.h (__intmax_t): New typedef.
683 (__uintmax_t): Likewise.
684 * sysdeps/generic/stdint.h: Include <bits/types.h>.
685 (intmax_t): Define using __intmax_t.
686 (uintmax_t): Define using __uintmax_t.
687
688 * support/Makefile (tests-special): Make definition conditional on
689 [$(run-built-tests) = yes].
690 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
691 on [$(run-built-tests) = yes].
692
693 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
694
695 * Rules (tests): Add tests-printers-programs to tests to be
696 built.
697
698 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
699
700 * sysvipc/Makefile (tests): Add test-sysvshm.
701 * sysvipc/test-sysvshm.c: New file.
702
703 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
704 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
705 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
706 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
707 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
708 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
709 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
710 Likewise.
711 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
712 Likewise.
713 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
714 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
715 is defined.
716
717 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
718 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
719 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
720 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
721 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
722 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
723 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
724 Likewise.
725 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
726 Likewise.
727 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
728 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
729 defined.
730
731 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
732 oldshmctl.
733 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
734 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
735 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
736 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
737 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
738 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
739 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
740 Likewise.
741 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
742 Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
744 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
745 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
746 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
747 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
748 implementation.
749 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
750 if it is defined.
751
752 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
753 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
754 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
755 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
756 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
757 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
758 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
759 Likewise.
760 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
761 Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
763 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
764 Define to __NR_osf_shmat.
765 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
766 defined.
767
768 * sysvipc/Makefile (tests): Add test-sysvsem.
769 * sysvipc/test-sysvsem.c: New file.
770
771 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
772 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
773 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
774 Likewise.
775 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
776 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
777 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
778 Likewise.
779 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
780 Likewise.
781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
782 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
783 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
784 add a comment about s390 syscall difference from default one.
785 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
786 syscall if it is defined.
787
788 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
789 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
790 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
791 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
792 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
793 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
794 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
795 Likewise.
796 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
797 Likewise.
798 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
799 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
800 defined.
801
802 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
803 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
804 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
805 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
806 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
808 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
809 Likewise.
810 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
811 Likewise.
812 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
813 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
814 if it is defined.
815
816 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
817 oldsemctl.
818 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
819 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
820 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
821 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
822 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
823 implementation.
824 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
825 syscall if it is defined.
826 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
827 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
828 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
829 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
830 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
831 Likewise.
832 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
833
834 * sysvipc/Makefile (tests): Add test-sysvmsg.
835 * sysvipc/test-sysvmsg.c: New file.
836 * support/check.h (FAIL_UNSUPPORTED): New define.
837
838 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
839 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
840 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
841 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
842 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
843 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
844 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
845 Likewise.
846 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
847 Likewise.
848 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
849 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
850 define.
851
852 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
853 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
854 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
855 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
856 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
857 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
858 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
859 Likewise.
860 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
861 Likewise.
862 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
863 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
864 if defined.
865
866 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
867 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
868 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
869 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
870 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
871 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
872 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
873 Likewise.
874 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
875 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
876 Likewise.
877 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
878 if defined.
879 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
880
881 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
882 oldmsgctl.
883 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
884 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
885 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
886 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
887 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
888 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
889 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
890 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
891 Likewise.
892 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
893 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
894 implementation.
895 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
896 if defined.
897
898 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
899 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
900 definition and define its own.
901 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
902 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
903 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
904 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
905 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
906 definitions to common header.
907 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
908 operation from ipc_ops.h.
909
910 * sysdeps/unix/sysv/linux/kernel-features.h
911 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
912 * sysdeps/unix/sysv/linux/i386/kernel-features.h
913 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
914 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
915 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
916 * sysdeps/unix/sysv/linux/mips/kernel-features.h
917 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
919 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
920 * sysdeps/unix/sysv/linux/s390/kernel-features.h
921 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
922 * sysdeps/unix/sysv/linux/sh/kernel-features.h
923 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
924 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
925 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
926
927 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
928
929 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
930 overflow in pointer addition.
931
932 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
933
934 * sysdeps/powerpc/powerpc64/multiarch/Makefile
935 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
937 (strchr): Add __strchr_power8 to list of strchr functions.
938 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
939 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
940 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
941 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
942 (strchr): Add __strchr_power8 to ifunc list.
943 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
944 (__strchrnul): Add __strchrnul_power8 to ifunc list.
945 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
946 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
947
948 2016-12-28 Florian Weimer <fweimer@redhat.com>
949
950 * support/Makefile (libsupport-routines): Add
951 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
952 (tests): Add tst-support_record_failure.
953 (tests-special): tst-support_record_failure-2.
954 (tst-support_record_failure-2.out): Depend on
955 tst-support_record_failure-2.sh and tst-support_record_failure.
956 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
957 (support_test_verify_impl, support_record_failure)
958 (support_report_failure, support_report_failure_reset): Declare.
959 * support/support_test_main.c (adjust_exit_status): New function.
960 (support_test_main): Call it to incorporate record test failures.
961 * support/support_test_verify_impl.c: New file.
962 * support/support_record_failure.c: Likewise.
963 * support/tst-support_record_failure.c: Likewise.
964 * support/tst-support_record_failure-2.sh: Likewise.
965 * support/xunistd.h: Likewise.
966 * support/xfork.c: Likewise.
967 * support/xwaitpid.c: Likewise.
968
969 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
970
971 * scripts/check-c++-types.sh: Add comments.
972
973 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
974
975 [BZ #19514]
976 * resolv/res_send.c: Fix typo in comment.
977 * sysdeps/i386/i386-mcount.S: Likewise.
978 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
979 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
980 * sysdeps/sparc/sparc-mcount.S: Likewise.
981
982 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
983
984 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
985 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
986 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
987 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
988 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
989 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
990 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
991 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
992
993 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
994
995 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
996
997 2016-12-27 Florian Weimer <fweimer@redhat.com>
998
999 [BZ #17252]
1000 * posix/unistd.h (getentropy): Declare.
1001
1002 2016-12-27 Florian Weimer <fweimer@redhat.com>
1003
1004 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1005 Remove.
1006 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1007 (cmd): Remove spoof, nospoof, spoofalert.
1008 (parse_line): Ignore spoof-related lines.
1009 (do_init): Do not process RESOLV_SPOOF_CHECK.
1010
1011 2016-12-27 Florian Weimer <fweimer@redhat.com>
1012
1013 [BZ #20964]
1014 sunrpc: Always obtain AF_INET addresses from NSS.
1015 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1016 * sunrpc/rpc_gethostbyname.c: New file.
1017 * sunrpc/Makefile (routines): Add it.
1018 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1019 * sunrpc/clnt_simp.c (callrpc): Likewise.
1020 * sunrpc/getrpcport.c (getrpcport): Likewise.
1021
1022 2016-12-27 Florian Weimer <fweimer@redhat.com>
1023
1024 * sunrpc/rpcinfo.c: Remove.
1025 * sunrpc/Makefile: Remove comments referring to rpcinfo.
1026
1027 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1028
1029 [BZ# 19387]
1030 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1031 addition.
1032 * string/test-memchr.c (do_test): Remove alignment limitation.
1033 (test_main): Add test that trigger BZ# 19387.
1034
1035 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1036
1037 [BZ #7065]
1038 Enable stack protectore if requested by ./configure.
1039 * Makeconfig (+stack-protector): New variable.
1040 (+cflags): Use it.
1041
1042 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1043
1044 [BZ #7065]
1045 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1046 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1047 (__rt_sigreturn_stub): Use inhibit_stack_protector.
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1049 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1050
1051 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1052
1053 [BZ #7065]
1054 * login/Makefile (pt_chown-cflags): Remove.
1055 * nscd/Makefile (CFLAGS-nscd): Likewise.
1056 * resolv/Makefile (CFLAGS-libresolv): Likewise.
1057
1058 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1059
1060 [BZ #7065]
1061 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1062 non-libc-linking testcase.
1063
1064 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1065 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1066 Florian Weimer <fweimer@redhat.com>
1067
1068 [BZ #7065]
1069 PLT avoidance for __stack_chk_fail*.
1070 * debug/Makefile (CFLAGS-stack_chk_fail.c)
1071 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1072 * debug/stack_chk_fail.c (__stack_chk_fail): Add
1073 __stack_chk_fail_local alias.
1074 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1075 (__stack_chk_fail): Turn into hidden reference to
1076 __stack_chk_fail_local.
1077
1078 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1079
1080 [BZ #7065]
1081 * configure.ac: Add check for unsupported stack-protection level.
1082 (libc_cv_predef_stack_protector): Remove.
1083 (no_ssp): New variable.
1084 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1085 (stack_protector): Set to -fno-stack-protector similarly.
1086 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1087 (libc_cv_asm_set_directive): Likewise.
1088 (libc_cv_protected_data): Likewise.
1089 (libc_cv_z_combreloc): Likewise.
1090 (libc_cv_hashstyle): Likewise.
1091 (libc_cv_has_glob_dat): Likewise.
1092 (libc_cv_output_format): Likewise.
1093 (libc_cv_output_format): Likewise.
1094 (libc_cv_ehdr_start): Likewise.
1095 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1096 (LIBC_LINKER_FEATURE): Likewise.
1097 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1098
1099 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1100
1101 [BZ #7065]
1102 * elf/Makefile (dummy-stack-chk-fail): New.
1103 (librtld.map): Use it.
1104
1105 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1106
1107 [BZ #7065]
1108 Compile the dynamic linker without stack protection.
1109 * elf/Makefile (elide-stack-protector): New.
1110 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1111 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1112 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1113 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1114
1115 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1116
1117 [BZ #7065]
1118 * config.make.in (have-ssp, no-stack-protector): New.
1119 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1120 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1121 (CFLAGS-sbrk.op): Likewise.
1122 (CFLAGS-brk.o): Likewise.
1123 (CFLAGS-brk.op): Likewise.
1124 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1125 (CFLAGS-wordcopy.c): Likewise.
1126
1127 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1128
1129 [BZ #7065]
1130 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1131 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1132 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1133 (__ifunc_resolver): Use it.
1134 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1135 inhibit_stack_protector.
1136 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1137 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1138 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1139 (foo_protected_ifunc): Likewise.
1140 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1141 (foo_protected_ifunc): Likewise.
1142 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1143 * sysdeps/nacl/nacl_interface_query.c
1144 (nacl_interface_query_ifunc): Likewise.
1145 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1146 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1147 Likewise.
1148 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1149 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1150 the generated vDSO syscall resolver.
1151
1152 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1153 Florian Weimer <fweimer@redhat.com>
1154
1155 [BZ #7065]
1156 Initialize the stack guard earlier when linking statically.
1157 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1158 (__pthread_initialize_minimal): Declare.
1159 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1160 declaration.
1161 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1162 stack canary and apply_irel initialization up. Call
1163 __pthread_initialize_minimal only if linked in.
1164 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1165 constant values.
1166 (__pthread_initialize_minimal): Remove.
1167 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1168 (__pthread_initialize_minimal_internal): Do not call
1169 __libc_setup_tls.
1170
1171 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1172
1173 [BZ #7065]
1174 * configure.ac (libc_cv_ssp): Move up.
1175 (libc_cv_ssp_strong): Likewise.
1176 (libc_cv_ssp_all): New.
1177 (stack_protector): Augment, adding -fstack-protector-all.
1178 (no_stack_protector): New.
1179 (STACK_PROTECTOR_LEVEL): New.
1180 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1181 * manual/install.texi (--enable-stack-protector): Document it.
1182 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1183
1184 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1185
1186 * README.pretty-printers: Must specify CPPFLAGS-* also.
1187 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1188 (CPPFLAGS-test-mutex-printers.c): Define.
1189 (CPPFLAGS-test-condattr-printers.c): Define.
1190 (CPPFLAGS-test-cond-printers.c): Define.
1191 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1192 (CPPFLAGS-test-rwlock-printers.c): Define.
1193
1194 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1195 (tests): Add tst-cancel-getpwuid_r.
1196 * nss/tst-cancel-getpwuid_r.c: New file.
1197
1198 [BZ #11941]
1199 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1200 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1201 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1202 tst-nodelete-dlclose.
1203 (modules-names): Add tst-nodelete-dlclose-dso and
1204 tst-nodelete-dlclose-plugin.
1205 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1206 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1207 ($(objpfx)tst-nodelete-dlclose): Define.
1208 ($(objpfx)tst-nodelete-dlclose.out): Define.
1209
1210 2016-12-23 Florian Weimer <fweimer@redhat.com>
1211
1212 * scripts/test_printers_common.py: Log GDB output in case of
1213 Python detection failure.
1214
1215 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1216
1217 * configure.ac: Check for python3 or python.
1218 * configure: Regenerated.
1219 * config.make.in (PYTHON): New variable.
1220 * benchtests/Makefile: Don't define PYTHON.
1221 (bench): Define target only if PYTHON was defined.
1222 * Rules: Don't define PYTHON.
1223 Define pretty printer targets only if PYTHON was defined.
1224 (tests-printers): Add to tests-unsupported if PYTHON is not
1225 found.
1226 (python-flags, python-invoke): Remove.
1227 (tests-printers-out): Use PYTHON instead of python-invoke.
1228
1229 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1230
1231 [BZ #20978]
1232 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1233 Compare name == NULL, not name != NULL.
1234
1235 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1236 trailing whitespace removed.
1237 * scripts/config.guess: Update to version 2016-10-02.
1238 * scripts/config.sub: Update to version 2016-11-19.
1239 * scripts/install-sh: Update to version 2016-01-11.22.
1240 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1241 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1242
1243 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1244
1245 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1246 (do_one_test) Restore original string so iteration works.
1247 * string/string-inlines.c (do_test): Create better input strings.
1248 (test_main) Reduce number of testruns.
1249 * string/string-inlines.c (__old_strsep_1c): New function.
1250 (__old_strsep_2c): Likewise.
1251 (__old_strsep_3c): Likewise.
1252 * string/strsep.c (__strsep): Remove case of small delim string.
1253 Call strcspn directly rather than strpbrk.
1254 * string/bits/string2.h (__strsep): Remove define.
1255 (__strsep_1c): Remove.
1256 (__strsep_2c): Remove.
1257 (__strsep_3c): Remove.
1258 (strsep): Remove.
1259 * sysdeps/unix/sysv/linux/internal_statvfs.c
1260 (__statvfs_getflags): Rename to __strsep.
1261
1262 2016-12-21 Florian Weimer <fweimer@redhat.com>
1263
1264 * csu/libc-tls.c (_dl_tls_setup): Remove.
1265 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1266 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1267 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1268
1269 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1270
1271 [BZ #7065]
1272 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1273 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1274
1275 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1276 Florian Weimer <fweimer@redhat.com>
1277
1278 [BZ #7065]
1279 * csu/Makefile (tests): Empty assignment and document it.
1280 (tests-static): Remove.
1281 * csu/tst-empty.c: Move to...
1282 * misc/tst-empty.c: ... here. Switch to new test driver.
1283 * csu/tst-atomic.c: Move to...
1284 * misc/tst-atomic.c: ... here. Switch to new test driver.
1285 * csu/tst-atomic-long.c: Move to...
1286 * misc/tst-atomic-long.c: ... here.
1287 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1288 tst-atomic-long.
1289 (tests-static): Add tst-empty.
1290
1291 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1292
1293 * manual/nss.texi: Change incorrect @vtable to @table.
1294 * manual/arith.texi: Convert @tables of variables to @vtables
1295 and remove unnecessary indexing.
1296 * manual/filesys.texi: Likewise.
1297 * manual/llio.texi: Likewise.
1298 * manual/memory.texi: Likewise.
1299 * manual/process.texi: Likewise.
1300 * manual/resource.texi: Likewise.
1301 * manual/search.texi: Likewise.
1302 * manual/signal.texi: Likewise.
1303 * manual/socket.texi: Likewise.
1304 * manual/stdio.texi: Likewise.
1305 * manual/sysinfo.texi: Likewise.
1306 * manual/syslog.texi: Likewise.
1307 * manual/terminal.texi: Likewise.
1308 * manual/time.texi: Likewise.
1309 * manual/users.texi: Likewise.
1310
1311 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1312
1313 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1314 (roundeven): New declaration.
1315 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1316 macro.
1317 * math/Versions (roundeven): New libm symbol at version
1318 GLIBC_2.25.
1319 (roundevenf): Likewise.
1320 (roundevenl): Likewise.
1321 * math/Makefile (libm-calls): Add s_roundevenF.
1322 * math/libm-test.inc (roundeven_test_data): New array.
1323 (roundeven_test): New function.
1324 (main): Call roundeven_test.
1325 * math/test-tgmath.c (NCALLS): Increase to 134.
1326 (F(compile_test)): Call roundeven.
1327 (F(roundeven)): New function.
1328 * manual/arith.texi (Rounding Functions): Document roundeven,
1329 roundevenf and roundevenl.
1330 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1331 * include/math.h (roundeven): Use libm_hidden_proto.
1332 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1333 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1334 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1335 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1337 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1339 roundeven.
1340 (CFLAGS-nldbl-roundeven.c): New variable.
1341 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1342 * sysdeps/nacl/libm.abilist: Update.
1343 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1344 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1345 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1346 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1347 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1348 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1349 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1350 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1351 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1352 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1353 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1354 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1356 Likewise.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1358 Likewise.
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1360 Likewise.
1361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1362 Likewise.
1363 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1364 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1365 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1366 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1367 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1369 Likewise.
1370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1371 Likewise.
1372 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1375
1376 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1377
1378 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1379 preprocessor indentation inside #if.
1380
1381 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1382
1383 * math/libm-test.inc (fmt_ftostr): New function.
1384 (print_float, check_float_internal): Replace some uses of
1385 FTOSTR with uses of fmt_ftostr.
1386 (print_max_error, print_complex_max_error, print_function_ulps)
1387 (print_complex_function_ulps): Remove uses of the macros
1388 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1389 * math/test-double.h (FTOSTR): Define to strfromd.
1390 (PRINTF_EXPR): Delete.
1391 (PRINTF_XEXPR): Likewise.
1392 (PRINTF_NEXPR): Likewise.
1393 * math/test-float.h (FTOSTR): Define to strfromf.
1394 (PRINTF_EXPR): Delete.
1395 (PRINTF_XEXPR): Likewise.
1396 (PRINTF_NEXPR): Likewise.
1397 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1398 (PRINTF_EXPR): Delete.
1399 (PRINTF_XEXPR): Likewise.
1400 (PRINTF_NEXPR): Likewise.
1401
1402 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1403
1404 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1405 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1406 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1407 (__lll_lock_elision): Decrement adapt_count while unlocking
1408 instead of before locking.
1409 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1410 (__lll_trylock_elision): Likewise.
1411 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1412 (__lll_unlock_elision): Likewise.
1413
1414 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1415
1416 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1417 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1418 Use __libc_tbegin_retry macro.
1419
1420 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1421
1422 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1423 Add -msoft-float.
1424 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1425 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1426 Use __libc_t* transaction macros instead of __builtin_t*.
1427 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1428 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1429
1430 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1431
1432 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1433 (__lll_lock_elision): Use atomics to load / store adapt_count.
1434 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1435 (__lll_trylock_elision): Likewise.
1436
1437 2016-12-20 Florian Weimer <fweimer@redhat.com>
1438
1439 Do not require memset elimination in explicit_bzero test.
1440 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1441 (enum test_expectation): Add NO_EXPECTATIONS.
1442 (subtests): NO_EXPECTATIONS for ordinary clear.
1443 (check_test_buffer): Handle NO_EXPECTATIONS.
1444 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1445
1446 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1447
1448 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1449 (fmaxmag): New declaration.
1450 (fminmag): Likewise.
1451 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1452 macro.
1453 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1454 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1455 (fmaxmagf): Likewise.
1456 (fmaxmagl): Likewise.
1457 (fminmag): Likewise.
1458 (fminmagf): Likewise.
1459 (fminmagl): Likewise.
1460 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1461 * math/s_fmaxmag_template.c: New file.
1462 * math/s_fminmag_template.c: Likewise.
1463 * math/libm-test.inc (fmaxmag_test_data): New array.
1464 (fmaxmag_test): New function.
1465 (fminmag_test_data): New array.
1466 (fminmag_test): New function.
1467 (main): Call fmaxmag_test and fminmag_test.
1468 * math/test-tgmath.c (NCALLS): Increase to 132.
1469 (F(compile_test)): Call fmaxmag and fminmag.
1470 (F(fminmag)): New function.
1471 (F(fmaxmag)): Likewise.
1472 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1473 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1474 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1475 fminmag.
1476 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1477 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1478 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1479 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1480 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1481 and fminmag.
1482 (CFLAGS-nldbl-fmaxmag.c): New variable.
1483 (CFLAGS-nldbl-fminmag.c): Likewise.
1484 * sysdeps/nacl/libm.abilist: Update.
1485 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1486 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1487 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1488 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1489 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1490 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1491 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1492 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1493 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1494 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1495 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1496 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1498 Likewise.
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1500 Likewise.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1502 Likewise.
1503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1504 Likewise.
1505 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1506 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1507 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1508 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1509 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1513 Likewise.
1514 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1515 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1516 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1517
1518 2016-12-19 Torvald Riegel <triegel@redhat.com>
1519
1520 [BZ #20973]
1521 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1522 wake-up in robust mutexes.
1523 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1524
1525 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1526
1527 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1528 (CFLAGS-bench-fmaxf.c): New rule.
1529 (CFLAGS-bench-fminf.c): Likewise.
1530 * benchtests/fmaxf-inputs: New file.
1531 * benchtests/fminf-inputs: Likewise.
1532
1533 * benchtests/Makefile (bench-math): Add fmin and fmax.
1534 (CFLAGS-bench-fmax.c): New rule.
1535 (CFLAGS-bench-fmin.c): Likewise.
1536 * benchtests/fmax-inputs: New file.
1537 * benchtests/fmin-inputs: Likewise.
1538
1539 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1540 parenthesis.
1541 (CMDLINE_PROCESS): Define using function instead of macro.
1542 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1543 of test-skeleton.
1544 * benchtests/bench-memchr.c: Likewise.
1545 * benchtests/bench-memcmp.c: Likewise.
1546 * benchtests/bench-memcpy-large.c: Likewise.
1547 * benchtests/bench-memcpy.c: Likewise.
1548 * benchtests/bench-memmem.c: Likewise.
1549 * benchtests/bench-memmove-large.c: Likewise.
1550 * benchtests/bench-memmove.c: Likewise.
1551 * benchtests/bench-memset-large.c: Likewise.
1552 * benchtests/bench-memset.c: Likewise.
1553 * benchtests/bench-rawmemchr.c: Likewise.
1554 * benchtests/bench-strcasecmp.c: Likewise.
1555 * benchtests/bench-strcasestr.c: Likewise.
1556 * benchtests/bench-strcat.c: Likewise.
1557 * benchtests/bench-strchr.c: Likewise.
1558 * benchtests/bench-strcmp.c: Likewise.
1559 * benchtests/bench-strcpy.c: Likewise.
1560 * benchtests/bench-strcpy_chk.c: Likewise.
1561 * benchtests/bench-strlen.c: Likewise.
1562 * benchtests/bench-strncasecmp.c: Likewise.
1563 * benchtests/bench-strncmp.c: Likewise.
1564 * benchtests/bench-strncpy.c: Likewise.
1565 * benchtests/bench-strnlen.c: Likewise.
1566 * benchtests/bench-strpbrk.c: Likewise.
1567 * benchtests/bench-strrchr.c: Likewise.
1568 * benchtests/bench-strsep.c: Likewise.
1569 * benchtests/bench-strspn.c: Likewise.
1570 * benchtests/bench-strstr.c: Likewise.
1571 * benchtests/bench-strtok.c: Likewise.
1572
1573 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1574
1575 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1576 stepping identification.
1577 (init_cpu_features): Add handle of Haswell.
1578
1579 2016-11-25 Jim Meyering <meyering@fb.com>
1580
1581 [BZ #20386]
1582 Let gcc detect assert(a = 1) errors.
1583 * assert/assert.h (assert): Rewrite, retaining the old definintion
1584 when required, but otherwise putting the expression as-is in an "if"
1585 expression (hence, with no added parentheses) within a statement
1586 expression.
1587
1588 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1589
1590 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1591 DSO.
1592
1593 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1594
1595 * Rules (python-flags, python-invoke): New.
1596 ($(test-printers-out)): Use $(python-flags).
1597
1598 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1599
1600 * manual/arith.texi (Math Error Reporting): Document that sNaN
1601 arguments are not considered domain errors.
1602
1603 2016-12-16 Zack Weinberg <zackw@panix.com>
1604 Florian Weimer <fweimer@redhat.com>
1605 Nick Mathewson <nickm@torproject.org>
1606
1607 * string/explicit_bzero.c: New routine.
1608 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1609 * string/Makefile (routines, strop-tests, tests): Add them.
1610 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1611 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1612
1613 * debug/explicit_bzero_chk.c: New routine.
1614 * debug/Makefile (routines): Add it.
1615 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1616 * string/bits/string3.h: Fortify explicit_bzero.
1617
1618 * manual/string.texi: Document explicit_bzero.
1619 * NEWS: Mention addition of explicit_bzero.
1620
1621 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1622 data before returning, using explicit_bzero.
1623 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1624 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1625 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1626
1627 * include/string.h: Redirect internal uses of explicit_bzero
1628 to __explicit_bzero_chk[_internal].
1629 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1630 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1631 * sysdeps/arm/nacl/libc.abilist
1632 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1633 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1634 * sysdeps/unix/sysv/linux/arm/libc.abilist
1635 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1636 * sysdeps/unix/sysv/linux/i386/libc.abilist
1637 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1638 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1639 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1640 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1641 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1642 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1643 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1644 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1645 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1650 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1651 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1652 * sysdeps/unix/sysv/linux/sh/libc.abilist
1653 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1654 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1655 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1657 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1658 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1659 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1660 Add entries for explicit_bzero and __explicit_bzero_chk.
1661
1662 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1663
1664 * math/fenv.h
1665 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1666 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1667 * math/test-fe-snans-always-signal.c: New file.
1668 * math/Makefile (tests): Add test-fe-snans-always-signal.
1669 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1670 * manual/arith.texi (Infinity and NaN): Document
1671 FE_SNANS_ALWAYS_SIGNAL.
1672
1673 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1674
1675 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1676 bracket.
1677
1678 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1679
1680 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1681 before calling execv.
1682
1683 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1684
1685 [BZ# 20971]
1686 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1687 overflow in pointer addition.
1688 * string/test-memchr.c (do_test): Add an argument to pass as
1689 the size on memchr.
1690 (test_main): Add check for SIZE_MAX.
1691
1692 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1693
1694 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1695 (libm-calls): Add w_scalblnF.
1696 * math/w_scalbln.c: Remove.
1697 * math/w_scalblnf.c: Likewise.
1698 * math/w_scalblnl.c: Likewise.
1699 * math/w_scalbln_template.c: New file with type-generic
1700 implementation based on math/w_scalbln.c.
1701 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1702 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1703
1704 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1705
1706 [BZ #20947]
1707 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1708 either is a signaling NaN.
1709 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1710 follow fmaxl more closely.
1711 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1712 when either is a signaling NaN.
1713 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1714 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1715 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1716 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1717 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1718 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1719 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1720 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1721 (fmin_test_data): Likewise.
1722
1723 2016-12-15 Andreas Schwab <schwab@suse.de>
1724
1725 * support/support_test_main.c (support_test_main): Don't shadow
1726 file-local variable test_pid.
1727
1728 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1729
1730 [BZ #20947]
1731 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1732 either is a signaling NaN.
1733 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1734
1735 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1736
1737 [BZ #20947]
1738 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1739 when either is a signaling NaN.
1740 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1741
1742 * bits/long-double.h: New file.
1743 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1744 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1745 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1746 * sysdeps/mips/bits/long-double.h: Likewise.
1747 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1748 * math/Makefile (headers): Add bits/long-double.h.
1749 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1750 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1751 <bits/wordsize.h>.
1752 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1753 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1754 * math/math.h: Do not include <bits/mathdef.h>.
1755 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1756 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1757 inclusion.
1758 * sysdeps/ia64/bits/mathdef.h: Remove file.
1759 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1760 * sysdeps/mips/bits/mathdef.h: Likewise.
1761 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1762 * sysdeps/s390/bits/mathdef.h: Likewise.
1763 * sysdeps/sparc/bits/mathdef.h: Likewise.
1764 * sysdeps/x86/bits/mathdef.h: Likewise.
1765 * sysdeps/s390/s390-32/bits/wordsize.h
1766 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1767 conditional code.
1768 * sysdeps/s390/s390-64/bits/wordsize.h
1769 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1770 Likewise.
1771 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1772 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1775 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1776 Likewise.
1777 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1778 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1779 Likewise.
1780
1781 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1782 <linux/falloc.h>.
1783 (FALLOC_FL_KEEP_SIZE): Remove.
1784 (FALLOC_FL_PUNCH_HOLE): Likewise.
1785 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1786 (FALLOC_FL_ZERO_RANGE): Likewise.
1787
1788 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1789
1790 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1791
1792 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1793
1794 * sysdeps/unix/sysv/linux/renameat.c: New file.
1795 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1796
1797 * sysdeps/unix/sysv/linux/rename.c: New file.
1798 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1799
1800 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1801
1802 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1803 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1804 * string/strtok_r.c (__strtok_r): Optimize for performance.
1805 * string/string-inlines.c (__old_strtok_r_1c): New function.
1806 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1807
1808 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1809
1810 * math/Makefile (gen-libm-calls): Add w_log1pF.
1811 (libm-calls): Remove w_log1pF.
1812 * math/w_log1p.c: Remove.
1813 * math/w_log1pf.c: Likewise.
1814 * math/w_log1pl.c: Likewise.
1815 * math/w_log1p_template.c: New file with type-generic
1816 implementation based on math/w_log1p.c.
1817 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1818 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1819
1820 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1821
1822 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1823
1824 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1825
1826 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1827 kernel version to 4.9.
1828
1829 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1830
1831 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1832 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1833
1834 2016-12-13 Andreas Schwab <schwab@suse.de>
1835
1836 * sysdeps/powerpc/dl-procinfo.c: Don't define
1837 _dl_powerpc_platforms.
1838 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1839 constants instead of referencing _dl_powerpc_platforms.
1840 (_dl_platform_string): Remove.
1841
1842 2016-12-13 Florian Weimer <fweimer@redhat.com>
1843
1844 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1845
1846 2016-12-13 Florian Weimer <fweimer@redhat.com>
1847
1848 * Rules (binaries-shared-tests, binaries-pie-tests)
1849 (binaries-static-tests): Link with $(link-extra-libs-tests).
1850 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1851 Remove $(link-extra-libs-tests).
1852
1853 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1854
1855 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1856 (sysdep_routines): Add strncmp_power9.
1857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1858 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1859 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1860 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1861 (strncmp): Add __strncmp_power9 to ifunc list.
1862 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1863
1864 2016-12-12 Florian Weimer <fweimer@redhat.com>
1865
1866 [BZ #17252]
1867 Add getentropy, getrandom.
1868 * stdlib/sys/random.h: New file.
1869 (headers): Add it.
1870 * stdlib/Makefile (routines): Add getentropy, getrandom.
1871 (tests): Add tst-getrandom.
1872 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1873 * stdlib/getentropy.c: New file.
1874 * stdlib/getrandom.c: Likewise.
1875 * stdlib/tst-getrandom.c: Likewise.
1876 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1877 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1878 * manual/crypt.texi (Unpredictable Bytes): New section.
1879 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1880 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1881 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1882 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1883 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1884 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1885 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1886 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1887 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1888 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1889 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1890 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1891 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1892 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1893 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1894 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1896 Likewise.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1898 Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1901 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1902 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1903 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1908 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1911
1912 2016-12-10 Florian Weimer <fweimer@redhat.com>
1913
1914 [BZ #20956]
1915 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1916 as additional compiler barriers.
1917 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1918 (fn2, do_test): Declare with external linkage.
1919 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1920 (do_test): Declare with external linkage.
1921 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1922 (do_test): Declare with external linkage.
1923 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1924 (do_test): Declare with external linkage.
1925
1926 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1927
1928 * support/support_test_main.c (support_test_main): Use correct
1929 timeout.
1930
1931 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1932 Florian Weimer <fweimer@redhat.com>
1933
1934 [BZ #16421]
1935 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1936 and __u6_addr32 members.
1937 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1938 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1939 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1940 Use __u6_addr32.
1941 * inet/tst-checks.c: Use <support/test-driver.c>
1942 * inet/tst-checks-posix.c: New file.
1943 * inet/Makefile (tests): Add it.
1944 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1945
1946 2016-12-09 Florian Weimer <fweimer@redhat.com>
1947
1948 New subdirectory support for build and test infrastructure.
1949 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1950 setting install-lib.
1951 * Makeconfig (link-extra-libs-tests): Define.
1952 (+link-pie-tests, +link-static-tests, +link-tests): Use
1953 link-extra-libs-tests.
1954 (rpath-dirs, all-subdirs): Add support.
1955 (built-modules): Add libsupport.
1956 (libsupport): Define.
1957 * support: New directory.
1958 * support/Makefile: New file.
1959 * support/check.c: Likewise.
1960 * support/check.h: Likewise.
1961 * support/delayed_exit.c: Likewise.
1962 * support/ignore_stderr.c: Likewise.
1963 * support/oom_error.c: Likewise.
1964 * support/set_fortify_handler.c: Likewise.
1965 * support/support.h: Likewise.
1966 * support/temp_file-internal.h: Likewise.
1967 * support/temp_file.c: Likewise.
1968 * support/test-driver.c: Likewise.
1969 * support/test-driver.h: Likewise.
1970 * support/test_main.c: Likewise.
1971 * support/write_message.c: Likewise.
1972 * support/xasprintf.c: Likewise.
1973 * support/xcalloc.c: Likewise.
1974 * support/xmalloc.c: Likewise.
1975 * support/xpthread_barrier_destroy.c: Likewise.
1976 * support/xpthread_barrier_init.c: Likewise.
1977 * support/xpthread_barrier_wait.c: Likewise.
1978 * support/xpthread_cancel.c: Likewise.
1979 * support/xpthread_check_return.c: Likewise.
1980 * support/xpthread_cond_wait.c: Likewise.
1981 * support/xpthread_create.c: Likewise.
1982 * support/xpthread_detach.c: Likewise.
1983 * support/xpthread_join.c: Likewise.
1984 * support/xpthread_mutex_lock.c: Likewise.
1985 * support/xpthread_mutex_unlock.c: Likewise.
1986 * support/xpthread_sigmask.c: Likewise.
1987 * support/xpthread_spin_lock.c: Likewise.
1988 * support/xpthread_spin_unlock.c: Likewise.
1989 * support/xrealloc.c: Likewise.
1990 * support/xsignal.h: Likewise.
1991 * support/xthread.h: Likewise.
1992 * support_tempfile.h: Likewise.
1993 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1994 (TEST_DATA_LIMIT): Remove unused macro.
1995 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
1996 <support/check.h>.
1997 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1998 (ignore_stderr, set_fortify_handler): Remove. Now in
1999 <support/support.h>.
2000 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
2001 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2002 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2003 (xpthread_join): Remove. Now in <support/xthread.h>.
2004 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2005 Introduce legacy wrappers.
2006 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2007 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2008 (write_message): Remove.
2009 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2010 test-skeleton.c.
2011 * io/test-open-tmpfile: Likewise.
2012 * io/tst-posix_fallocate-common.c: Likewise.
2013 * libio/tst-fseek.c: Likewise.
2014 * malloc/tst-malloc-backtrace.c: Likewise.
2015 * malloc/tst-malloc-fork-deadlock.c: Likewise.
2016 * malloc/tst-malloc-thread-exit.c: Likewise.
2017 * nptl/tst-cancel7.c: Likewise.
2018 * nptl/tst-cleanup0.c: Likewise.
2019 * posix/tst-posix_fadvise-common.c: Likewise.
2020 * rt/tst-shm.c: Likewise.
2021 * time/bug-getdate1.c: Likewise.
2022 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2023 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2024 * elf/Makefile (tst-piemod1.so): Link against libsupport.
2025
2026 2016-12-08 Joseph Myers <joseph@codesourcery.com>
2027
2028 * Rules [$(run-built-tests) != no] (tests-expected): Add
2029 $(tests-printers).
2030 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2031
2032 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
2033
2034 [BZ #20539]
2035 * math/Makefile (install-lib-ldscripts): Add libm.a.
2036 (install_subdir): Remove.
2037 (install-others): Add.
2038 ($(inst_libdir)/libm.a): Add rule for installation as
2039 linker script.
2040 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2041
2042 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
2043
2044 * INSTALL: Regenerated.
2045 * Makeconfig: Add comments and whitespace to make the control flow
2046 clearer.
2047 (+link-printers-tests, +link-pie-printers-tests,
2048 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2049 built-rtld-LDFLAGS, link-libc-rpath,
2050 link-libc-tests-after-rpath-link,
2051 link-libc-printers-tests): New.
2052 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2053 link-libc-tests): Use the new variables as required.
2054 * Makerules ($(py-const)): New rule.
2055 generated: Add $(py-const).
2056 * README.pretty-printers: New file.
2057 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2058 (others): Depend on $(py-const).
2059 (tests): Depend on $(tests-printers-programs) or
2060 $(tests-printers-out),
2061 as required. Pass $(tests-printers) to merge-test-results.sh.
2062 * manual/install.texi: Add requirements for testing the pretty
2063 printers.
2064 * nptl/Makefile (gen-py-const-headers, pretty-printers,
2065 tests-printers, CFLAGS-test-mutexattr-printers.c
2066 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2067 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2068 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2069 * nptl/nptl-printers.py: New file.
2070 * nptl/nptl_lock_constants.pysym: Likewise.
2071 * nptl/test-cond-printers.c: Likewise.
2072 * nptl/test-cond-printers.py: Likewise.
2073 * nptl/test-condattr-printers.c: Likewise.
2074 * nptl/test-condattr-printers.py: Likewise.
2075 * nptl/test-mutex-printers.c: Likewise.
2076 * nptl/test-mutex-printers.py: Likewise.
2077 * nptl/test-mutexattr-printers.c: Likewise.
2078 * nptl/test-mutexattr-printers.py: Likewise.
2079 * nptl/test-rwlock-printers.c: Likewise.
2080 * nptl/test-rwlock-printers.py: Likewise.
2081 * nptl/test-rwlockattr-printers.c: Likewise.
2082 * nptl/test-rwlockattr-printers.py: Likewise.
2083 * scripts/gen-py-const.awk: Likewise.
2084 * scripts/test_printers_common.py: Likewise.
2085 * scripts/test_printers_exceptions.py: Likewise.
2086
2087 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2088
2089 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2090 argument.
2091 (Glibc.build_glibc): Strip installed shared libraries if
2092 requested.
2093 (get_parser): Add --strip option.
2094 (main): Update Context call.
2095
2096 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2097 Dominik Vogt <vogt@linux.vnet.ibm.com>
2098
2099 [BZ #20847]
2100 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2101 array bounds for else branch.
2102 (__execvpe): Style fixes.
2103 * posix/tst-vfork3.c (run_script): New function.
2104 (create_script): Likewise.
2105 (do_test): Use run_script internal function.
2106 (do_prepare): Use create_script internal function.
2107
2108 2016-12-07 Andreas Schwab <schwab@suse.de>
2109
2110 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2111 (__elision_available): Don't declare.
2112 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2113 (__elision_available): Don't define.
2114 (elision_init): Don't set __elision_available.
2115
2116 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2117
2118 [BZ #20940]
2119 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2120 return Inf for arguments Inf and sNaN.
2121 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2122 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2123 Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2125 Likewise.
2126 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2127 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2128 for arguments Inf and sNaN. When returning a NaN, compute it by
2129 arithmetic on the arguments.
2130 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2131 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2132 arguments.
2133
2134 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #20916]
2137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2138 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2139 to compute result.
2140 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2141 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2142
2143 2016-12-05 Torvald Riegel <triegel@redhat.com>
2144
2145 * include/atomic.h (__atomic_check_size_ls): New.
2146 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2147 atomic_store_release): Use it.
2148 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2149 (elision_adapt, ELIDE_LOCK): Use atomics.
2150 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2151 atomics and improve code comments.
2152 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2153 (__lll_trylock_elision): Likewise.
2154
2155 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2156
2157 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2158 programs.
2159
2160 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2161
2162 [BZ #20916]
2163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2164 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2165 arguments to compute result.
2166 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2167 1 for arguments (sNaN, 0) or (1, sNaN).
2168 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2170
2171 [BZ #20919]
2172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2173 NaN first argument when raised to power 0.
2174 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2175 raising to power zero.
2176 * math/w_powf.c (__powf): Likewise.
2177 * math/w_powl.c (__powl): Likewise.
2178 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2179 pow (0, 0) or pow (NaN, 0).
2180
2181 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2182
2183 [BZ #20918]
2184 * configure.ac: Test for static NSS cryptographic libraries and set
2185 libc_cv_static_nss_crypt.
2186 * configure: Regenerate.
2187 * config.make.in (static-nss-crypt): Define.
2188 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2189 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2190 (CFLAGS-tst-linkall-static.c): Define.
2191 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2192 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2193 ($(objpfx)tst-linkall-static): Define.
2194 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2195 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2196
2197 2016-12-02 Florian Weimer <fweimer@redhat.com>
2198
2199 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2200 (one-hundred, tst-tls-many-dynamic-modules): Define.
2201 (modules-names): Add $(tst-tls-many-dynamic-modules).
2202 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2203 macros.
2204 (tst-tls-manydynamic): Link against libdl, libpthread.
2205 (tst-tls-manydynamic.out): The test needs the test modules at run
2206 time.
2207 * elf/tst-tls-manydynamic.c: New file.
2208 * elf/tst-tls-manydynamic.h: Likewise.
2209 * elf/tst-tls-manydynamicmod.c: Likewise.
2210
2211 2016-12-02 Florian Weimer <fweimer@redhat.com>
2212
2213 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2214 (TLS_DTV_UNALLOCATED): Add.
2215 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2216 offsets.
2217
2218 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2219
2220 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2221
2222 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2223
2224 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2225 Add -fno-optimize-sibling-calls.
2226
2227 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2228
2229 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2230 New declaration.
2231 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2232 macro.
2233 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2234 New macro.
2235 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2236 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2237 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2238 (llogbf): Likewise.
2239 (llogbl): Likewise.
2240 * math/Makefile (gen-libm-calls): Add w_llogbF.
2241 (tests): Add test-fp-llogb-constants.
2242 * math/w_llogb_template.c: New file. Based on
2243 math/w_ilogb_template.c.
2244 * math/libm-test.inc (llogb_test_data): New array.
2245 (llogb_test): New function.
2246 (main): Call llogb_test.
2247 * math/test-fp-llogb-constants.c: New file. Based on
2248 math/test-fp-ilogb-constants.c.
2249 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2250 (do_test): Call check_return_llogb.
2251 * math/test-tgmath.c (NCALLS): Increase to 126.
2252 (F(compile_test)): Call llogb.
2253 (F(llogb)): New function.
2254 * manual/math.texi (Exponents and Logarithms): Document llogb,
2255 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2256 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2257 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2258 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2260 (CFLAGS-nldbl-llogb.c): New variable.
2261 * sysdeps/nacl/libm.abilist: Update.
2262 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2263 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2264 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2265 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2266 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2267 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2268 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2269 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2270 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2271 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2272 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2273 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2275 Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2277 Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2279 Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2283 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2284 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2285 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2288 Likewise.
2289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2292 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2293 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2294
2295 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2296
2297 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2298 _Float128 instead of long double.
2299 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2300
2301 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2302 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2303 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2304 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2305 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2306 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2307 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2308 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2309 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2310 Likewise.
2311
2312 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2313
2314 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2315 Remove redirection to __strrchr_ppc.
2316
2317 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2318
2319 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2320 (sysdep_routines): Add strcmp_power9.
2321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2322 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2323 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2324 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2325 (strcmp): Add __strcmp_power9 to ifunc list.
2326 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2327
2328 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2329
2330 * bits/fp-logb.h: New file.
2331 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2332 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2333 * sysdeps/x86/bits/fp-logb.h: Likewise.
2334 * math/Makefile (headers): Add bits/fp-logb.h.
2335 * math/math.h: Include <bits/fp-logb.h>.
2336 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2337 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2338 * bits/mathdef.h (FP_ILOGB0): Remove.
2339 (FP_ILOGBNAN): Likewise.
2340 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2341 (FP_ILOGBNAN): Likewise.
2342 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2343 (FP_ILOGBNAN): Likewise.
2344 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2345 (FP_ILOGBNAN): Likewise.
2346 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2347 (FP_ILOGBNAN): Likewise.
2348 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2349 (FP_ILOGBNAN): Likewise.
2350 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2351 (FP_ILOGBNAN): Likewise.
2352 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2353 (FP_ILOGBNAN): Likewise.
2354 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2355 (FP_ILOGBNAN): Likewise.
2356 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2357 (FP_ILOGBNAN): Likewise.
2358
2359 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2360 time module.
2361 (Context.__init__): Initialize self.logsdir_old.
2362 (Context.run_builds): Handle bot action.
2363 (Context.bot_cycle): Copy logs directory before running builds.
2364 (Context.bot_run_self): Take argument for whether to check
2365 subprocess result. Flush stdout before running subprocess.
2366 (Context.bot): New function.
2367 (get_parser): Allow bot action.
2368
2369 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2370
2371 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2372 Import email.mime.text, email.utils and smtplib modules.
2373 (Context.__init__): Initialize self.bot_config_json.
2374 (Context.run_builds): Handle bot-cycle action.
2375 (Context.load_bot_config_json): New function.
2376 (Context.part_build_old): Likewise.
2377 (Context.bot_cycle): Likewise.
2378 (Context.bot_build_mail): Likewise.
2379 (Context.bot_run_self): Likewise.
2380 (get_parser): Allow bot-cycle action.
2381
2382 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2383
2384 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2385 Remove redirection to __stpcpy_ppc.
2386
2387 2016-11-30 Florian Weimer <fweimer@redhat.com>
2388
2389 Remove __libc_memalign from ld.so because it is unused.
2390 * elf/dl-minimal.c: Update comment on the malloc implementation.
2391 (malloc): Renamed from __libc_memalign, replacing the original
2392 malloc implementation. Replace the align parameter with
2393 MALLOC_ALIGNMENT.
2394 * elf/Versions (ld): Update comment and remove __libc_memalign.
2395 * sysdeps/nacl/ld.abilist: Likewise.
2396 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2397 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2399 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2400 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2401 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2402 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2403 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2404 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2422 * sysdeps/generic/localplt.data (ld.so): Likewise.
2423 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2424 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2425 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2426 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2427 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2428 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2429 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2430 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2431 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2433 (ld.so): Likewise.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2435 (ld.so): Likewise.
2436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2437 Likewise.
2438 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2439 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2441 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2442 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2443
2444 2016-11-30 Florian Weimer <fweimer@redhat.com>
2445
2446 [BZ #16628]
2447 Implement _dl_catch_error, _dl_signal_error in libc.so.
2448 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2449 (catch_hook): Define as thread-local or regular variable,
2450 depending on DL_ERROR_BOOTSTRAP.
2451 (CATCH_HOOK): Remove.
2452 (dl_signal_error, _dl_catch_error): Use
2453 catch_hook. Add hidden definition for libc.
2454 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2455 for DL_ERROR_BOOTSTRAP only.
2456 * elf/dl-error.c: New file.
2457 * elf/dl-error-minimal.c: Likewise.
2458 * elf/tst-latepthread.c: Likewise.
2459 * elf/tst-latepthreadmod.c: Likewise.
2460 * elf/Makefile (routines): Add dl-error.
2461 (dl-routines): Remove dl-error.
2462 (rtld-routines): Add dl-error-minimal.
2463 [build-shared] (tests): Add tst-latepthread.
2464 (module-names): Add tst-latepthreadmod.
2465 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2466 symbol.
2467 (tst-latepthreadmod.so): Link against libpthread.
2468 (tst-latepthread): Link against libdbl.
2469 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2470 _dl_catch_error.
2471 [ld] (GLIBC_PRIVATE): Likewise.
2472 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2473 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2474 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2475 directly.
2476 * elf/dl-tsd.c: Remove file.
2477 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2478 _dl_catch_error, _dl_signal_error.
2479 (_dl_initial_error_catch_tsd): Remove definition.
2480 (do_preload): Remove initialization of dl_error_catch_tsd.
2481 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2482 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2483 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2484 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2485 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2486 set dl_error_catch_tsd.
2487 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2488 _dl_error_catch_tsd member.
2489 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2490 members.
2491 (_dl_initial_error_catch_tsd): Remove declaration.
2492 (_dl_dprintf): Provide definition for use outside of ld.so.
2493 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2494 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2495 prototype for libc.
2496 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2497 _dl_catch_error.
2498 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2499 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2500 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2501 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2502 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2503 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2504 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2505 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2506 Likewise.
2507 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2509 (ld.so): Likewise.
2510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2511 (ld.so): Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2513 Likewise.
2514 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2515 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2516 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2517 Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2519 Likewise.
2520 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2521
2522 2016-11-30 Florian Weimer <fweimer@redhat.com>
2523
2524 [BZ #4099]
2525 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2526 _IO_BUFSIZ (8192).
2527
2528 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2529
2530 * PROJECTS: Remove file.
2531
2532 2016-11-29 Florian Weimer <fweimer@redhat.com>
2533
2534 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2535
2536 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2537 Steve Ellcey <sellcey@caviumnetworks.com>
2538
2539 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2540 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2541 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2542 fxstatat.
2543 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2544 lxstat.
2545 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2546 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2547 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2548 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2549 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2550 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2551 __xstat.
2552
2553 2016-11-29 Florian Weimer <fweimer@redhat.com>
2554
2555 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2556 Define.
2557 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2558 definition.
2559
2560 2016-11-29 Florian Weimer <fweimer@redhat.com>
2561
2562 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2563 version and turn into strong alias. Remove compat symbol.
2564
2565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2566 (__longjmp): Remove.
2567
2568 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2569
2570 * bits/fp-fast.h: New file.
2571 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2572 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2573 * math/Makefile (headers): Add bits/fp-fast.h.
2574 * math/math.h: Include <bits/fp-fast.h>.
2575 * bits/mathdef.h (FP_FAST_FMA): Remove.
2576 (FP_FAST_FMAF): Likewise.
2577 (FP_FAST_FMAL): Likewise.
2578 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2579 (FP_FAST_FMAF): Likewise.
2580 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2581 (FP_FAST_FMAF): Likewise.
2582 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2583 (FP_FAST_FMAF): Likewise.
2584 (FP_FAST_FMAL): Likewise.
2585 * sysdeps/arm/bits/mathdef.h: Remove file.
2586 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2587 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2588 * sysdeps/tile/bits/mathdef.h: Likewise.
2589
2590 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2591
2592 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2593 * math/w_ilogb.c: Remove.
2594 * math/w_ilogbf.c: Likewise.
2595 * math/w_ilogbl.c: Likewise.
2596 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2597 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2598 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2599 (libm-calls): Remove w_ilogbF.
2600 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2601 (LDOUBLE_ilogbl_libm_version): New macro.
2602
2603 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2604
2605 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2606 [!__STRICT_ANSI__ && !__cplusplus].
2607
2608 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2609
2610 [BZ #20750]
2611 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2612 of PIC.
2613
2614 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2615 Yury Norov <ynorov@caviumnetworks.com>
2616 Steve Ellcey <sellcey@caviumnetworks.com>
2617
2618 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2619 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2620 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2621 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2622 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2623 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2624 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2625 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2626 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2627 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2628 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2629 to get correct reg name for ILP32.
2630 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2631 (RELA_SIZE): New Macro.
2632 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2633 to support ILP32.
2634 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2635 cast for ILP32 mode.
2636 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2637 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2638 * sysdeps/aarch64/memset.S (__memset): Ditto.
2639 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2640 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2641 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2642 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2643 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2644 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2645 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2646 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2647 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2648 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2649 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2650 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2651 change PTR_MANGLE call to use register numbers instead of names.
2652 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2653 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2654 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2655 * sysdeps/aarch64/start.S (_start): Ditto.
2656 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2657 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2658 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2659 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2660 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2661 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2662 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2663 Make defined values dependent on __ILP32__.
2664 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2665 (sem_t): Change __align type.
2666 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2667 PTR_SIZE): New Macros.
2668 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2669 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2670 Set when in ILP32 mode.
2671 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2672 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2673 Set elf flags for ILP32.
2674 (add_system_dir): Set ILP32 library directories.
2675 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2676 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2677 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2678 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2679 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2680 New Macros.
2681 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2682
2683 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2684
2685 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2686 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2687 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2688
2689 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2690
2691 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2692 <asm/cachectl.h>.
2693
2694 2016-11-27 Zack Weinberg <zackw@panix.com>
2695
2696 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2697 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2698
2699 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2700
2701 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2702 error_t to fix usage in C++ programs.
2703
2704 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2705
2706 * scripts/build-many-glibcs.py: Import datetime module.
2707 (Context.__init__): Load JSON build state. Initialize list of
2708 status logs.
2709 (Context.run_builds): Update saved build state.
2710 (Context.add_makefile_cmdlist): Update list of status logs.
2711 (Context.load_build_state_json): New function.
2712 (Context.store_build_state_json): Likewise.
2713 (Context.clear_last_build_state): Likewise.
2714 (Context.update_build_state): Likewise.
2715 (CommandList.status_logs): Likewise.
2716
2717 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2718
2719 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2720 script being executed.
2721 (Context.get_script_text): New function.
2722 (Context.exec_self): Likewise.
2723 (Context.checkout): Re-exec script if changed by checkout process.
2724
2725 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2726
2727 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2728 (setpayloadsig): New declaration.
2729 * math/Versions (setpayloadsig): New libm symbol at version
2730 GLIBC_2.25.
2731 (setpayloadsigf): Likewise.
2732 (setpayloadsigl): Likewise.
2733 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2734 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2735 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2736 (setpayloadsig_test_data): New array.
2737 (setpayloadsig_test): New function.
2738 (main): Call setpayloadsig_test.
2739 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2740 setpayloadsigf and setpayloadsigl.
2741 * manual/libm-err-tab.pl: Update comment on interfaces without
2742 ulps tabulated.
2743 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2744 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2745 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2747 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2748 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2749 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2750 setpayloadsig.
2751 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2752 * sysdeps/nacl/libm.abilist: Update.
2753 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2757 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2761 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2762 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2764 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2766 Likewise.
2767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2768 Likewise.
2769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2770 Likewise.
2771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2772 Likewise.
2773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2779 Likewise.
2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2781 Likewise.
2782 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2785
2786 * scripts/build-many-glibcs.py: Import json module.
2787 (Context.__init__): Take replace_sources argument. Load
2788 versions.json.
2789 (Context.load_versions_json): New function.
2790 (Context.store_json): Likewise.
2791 (Context.store_versions_json): Likewise.
2792 (Context.set_component_version): Likewise.
2793 (Context.checkout): Update versions.json. Check for and handle
2794 changes of version. Prefer previously explicitly specified
2795 version to default version.
2796 (Context.checkout_vcs): Return a revision identifier.
2797 (Context.git_checkout): Likewise.
2798 (Context.gcc_checkout): Likewise.
2799 (get_parser): Add --replace-sources option.
2800 (main): Pass replace_sources argument to Context call.
2801
2802 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2803
2804 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2805 * nptl/allocatestack.c (allocate_stack): Likewise.
2806 (__reclaim_stacks): Likewise.
2807 (setxid_signal_thread): Obtain pid through syscall.
2808 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2809 (sighandle_setxid): Likewise.
2810 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2811 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2812 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2813 Likewise.
2814 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2815 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2816 comment.
2817 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2818 * nptl/descr.h (struct pthread): Change comment about pid value.
2819 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2820 pid assert.
2821 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2822 Do not set pid value.
2823 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2824 pid cache check.
2825 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2826 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2827 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2828 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2829 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2830 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2831 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2832 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2833 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2834 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2835 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2836 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2837 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2838 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2839 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2840 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2841 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2842 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2843 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2844 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2845 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2846 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2847 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2848 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2849 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2853 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2854 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2857 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2858 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2859 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2860 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2861 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2862 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2863 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2864 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2865 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2866 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2867 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2870 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2871 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2872 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2873 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2874 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2875 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2876 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2877 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2878 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2879 struct access.
2880 (clone_test): Remove function.
2881 (do_test): Rewrite to take in consideration pid is not cached anymore.
2882
2883 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2884
2885 * bits/flt-eval-method.h: New file.
2886 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2887 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2888 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2889 * math/Makefile (headers): Add bits/flt-eval-method.h.
2890 * math/math.h: Include <bits/flt-eval-method.h>.
2891 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2892 [__USE_ISOC99] (double_t): Likewise.
2893 * bits/mathdef.h (float_t): Remove.
2894 (double_t): Likewise.
2895 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2896 (double_t): Likewise.
2897 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2898 (double_t): Likewise.
2899 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2900 (double_t): Likewise.
2901 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2902 (double_t): Likewise.
2903 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2904 (double_t): Likewise.
2905 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2906 (double_t): Likewise.
2907 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2908 (double_t): Likewise.
2909 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2910 (double_t): Likewise.
2911 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2912 (double_t): Likewise.
2913 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2914 (double_t): Likewise.
2915 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2916 (double_t): Likewise.
2917 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2918 (double_t): Likewise.
2919 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2920 (double_t): Likewise.
2921
2922 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2923
2924 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2925 instead of PIC.
2926
2927 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2928
2929 [BZ #20859]
2930 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2931 (-0x7fffffff) instead of 0x80000001.
2932 * math/test-fp-ilogb-constants.c: New file.
2933 * math/Makefile (tests): Add test-fp-ilogb-constants.
2934
2935 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2936
2937 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2938 (_init): Use it in place of hardcoded R_MIPS_JALR.
2939 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2940 (_init): Use it in place of hardcoded R_MIPS_JALR.
2941 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2942 (_init): Use it in place of hardcoded R_MIPS_JALR.
2943
2944 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2945
2946 [BZ #20787]
2947 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2948 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2949 (double_t): Do not define to double if [__x86_64__] when
2950 __FLT_EVAL_METHOD__ is nonzero.
2951 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2952 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2953 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2954 test-flt-eval-method-387 and test-flt-eval-method-sse.
2955 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2956 variable.
2957 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2958
2959 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2960
2961 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2962 use of -fno-isolate-erroneous-paths options for tilepro.
2963
2964 2016-11-23 Florian Weimer <fweimer@redhat.com>
2965
2966 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2967 structure initialization is no longer needed.
2968
2969 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #20855]
2972 * bits/mathdef.h (float_t): Define to float.
2973 * math/test-flt-eval-method.c: New file.
2974 * math/Makefile (tests): Add test-flt-eval-method.
2975 (CFLAGS-test-flt-eval-method.c): New variable.
2976
2977 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2978
2979 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2980 and __fstatfs. Make them aliases of __fstatfs64 if
2981 STATFS_IS_STATFS64 is set to non-zero.
2982 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2983 and __statfs64.
2984 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2985 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2986 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2987 for __statfs and statfs.
2988 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2989 to 0.
2990 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2991 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2992 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2993 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2994 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2995 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2998 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2999 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3001 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3002
3003 2016-11-22 Andreas Schwab <schwab@suse.de>
3004
3005 * misc/mkstemp.c: Include <fcntl.h>.
3006 * misc/mkstemps.c: Likewise.
3007 * misc/mkostemp.c: Likewise.
3008 * misc/mkostemps.c: Likewise.
3009
3010 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
3011
3012 [BZ #20847]
3013 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3014 array bounds.
3015 (__execvpe): Likewise.
3016
3017 2016-11-22 Joseph Myers <joseph@codesourcery.com>
3018
3019 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3020 -fno-isolate-erroneous-paths options for tilepro.
3021
3022 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
3023
3024 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3025 to 0 when in 32 bit mode.
3026 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3027 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3028 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3029 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3031 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3032 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3033 XSTAT_IS_XSTAT64 test.
3034 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3035 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3036 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3037 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3038 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3039 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3040 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3041 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3042 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3043 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3044 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3045
3046 2016-11-19 Joseph Myers <joseph@codesourcery.com>
3047
3048 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3049 (setpayload): New declaration.
3050 * math/Versions (setpayload): New libm symbol at version
3051 GLIBC_2.25.
3052 (setpayloadf): Likewise.
3053 (setpayloadl): Likewise.
3054 * math/Makefile (libm-calls): Add s_setpayloadF.
3055 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3056 test_Ff_b1_data.
3057 (RUN_TEST_Ff_b1): New macro.
3058 (RUN_TEST_LOOP_Ff_b1): Likewise.
3059 (canonicalize_test_data): Update type.
3060 (setpayload_test_data): New array.
3061 (setpayload_test): New function.
3062 (main): Call setpayload_test.
3063 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3064 setpayloadf and setpayloadl.
3065 * manual/libm-err-tab.pl: Update comment on interfaces without
3066 ulps tabulated.
3067 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3068 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3069 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3070 Likewise.
3071 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3072 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3073 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3074 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3075 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3076 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3077 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3078 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3079 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3080 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3081 setpayload.
3082 (CFLAGS-nldbl-setpayload.c): New variable.
3083 * sysdeps/nacl/libm.abilist: Update.
3084 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3085 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3089 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3090 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3091 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3092 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3097 Likewise.
3098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3099 Likewise.
3100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3101 Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3103 Likewise.
3104 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3106 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3110 Likewise.
3111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3112 Likewise.
3113 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3114 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3116
3117 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3118
3119 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3120 * include/unistd.h: Extend comment about __access_noerrno return
3121 semantics.
3122 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3123 (access_common): Correct typo for EACCES.
3124
3125 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3126
3127 * sysdeps/tile/math-tests.h: New file.
3128
3129 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3130 (__old_set_dataplane): Rename from set_dataplane and make a
3131 compatibility symbol.
3132 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3133 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3134 sys/dataplane.h.
3135
3136 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3137
3138 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3139 script quote words in command output to log suitably for input to
3140 the shell.
3141
3142 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3143 Maciej W. Rozycki <macro@imgtec.com>
3144
3145 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3146 `.Lno_weak_fn' label.
3147 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3148 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3149
3150 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3151 Yury Norov <ynorov@caviumnetworks.com>
3152
3153 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3154 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3155 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3156 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3157 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3159 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3160 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3161 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3162 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3163 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3164 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3165 (sysdep_routines): Remove oldgetrlimit64.
3166 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3167 (sysdep_routines): Likewise.
3168 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3169 (sysdep_routines): Likewise.
3170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3171 [$(subdir) = resource] (sysdep_routines): Likewise.
3172 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3173 [$(subdir) = resource] (sysdep_routines): Likewise.
3174 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3175 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3176 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3177 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3178 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3179 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3180 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3181 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3182 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3183 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3184 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3186 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3187 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3188 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3189 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3190 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3191 setrlimit and getrlimit.
3192 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3194 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3197 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3198 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3199 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3201 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3202 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3203 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3204 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3205 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3206 (__old_getrlimit64): Add compatibility symbol.
3207 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3208
3209 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3210
3211 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3212 newly built gmp, mpfr and mpc.
3213
3214 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3215
3216 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3217
3218 * conform/Makefile (linknamespace-libs): Rename to
3219 linknamespace-libs-thr.
3220 (linknamespace-libs-posix): New variable.
3221 (linknamespace-libs-xsi): Likewise.
3222 (linknamespace-libs-XPG3): Include libcrypt.a.
3223 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3224 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3225 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3226 (linknamespace-libs-XOPEN2K): Likewise.
3227 (linknamespace-libs-XOPEN2K8): Likewise.
3228 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3229
3230 [BZ #20829]
3231 * stdio-common/Versions (__snprintf): Add to version
3232 GLIBC_PRIVATE.
3233 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3234 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3235 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3236 of snprintf.
3237 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3238
3239 2016-11-16 Zack Weinberg <zackw@panix.com>
3240
3241 * string/string.h: Remove obsolete comment stating that
3242 strcoll_l and strxfrm_l have not yet been standardized.
3243
3244 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3245
3246 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3247 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3248 __access_noerrno.
3249 * io/access.c (__access_noerrno): New function.
3250 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3251 (hurd_fail_seterrno): Likewise.
3252 (access_common): Likewise.
3253 (__access_noerrno): Likewise.
3254 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3255 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3256 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3257 macro.
3258
3259 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3260
3261 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3262 Only declare fpregs if [__SH_FPU_ANY__].
3263
3264 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3265
3266 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3267 Make code unconditional.
3268 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3269
3270 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3271
3272 * manual/sysinfo.texi (S_APPEND): Delete.
3273 (S_IMMUTABLE): Likewise.
3274
3275 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3276 Magnus Granberg <zorry@gentoo.org>
3277 Mike Frysinger <vapier@gentoo.org>
3278
3279 [BZ #20662]
3280 * configure.ac (libc_cv_predef_stack_protector): Also check for
3281 __stack_chk_fail_local symbols.
3282 * configure: Regenerated.
3283
3284 2016-11-15 Florian Weimer <fweimer@redhat.com>
3285
3286 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3287 (libc_hidden_def): Remove redefinition.
3288 (__sigsetjmp): Add hidden definition.
3289 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3290 (libc_hidden_def): Remove redefinition.
3291 (__sigsetjmp): Add hidden definition.
3292
3293 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3294
3295 * scripts/build-many-glibcs.py (os.path): Do not import.
3296 (Context): Inherit explicitly from object. Remove blank line
3297 between class and docstring.
3298 (Config): Likewise.
3299 (Glibc): Likewise.
3300 (Command): Likewise.
3301 (CommandList): Likewise.
3302 (Context.write_files): Store chmod mode in a variable.
3303
3304 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3305 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3306 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3307
3308 2016-11-14 Zack Weinberg <zackw@panix.com>
3309
3310 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3311 creating or re-creating it.
3312
3313 * string/bits/string2.h: Fix typo in comment.
3314
3315 2016-11-14 Zack Weinberg <zackw@panix.com>
3316
3317 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3318 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3319 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3320 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3321 of redirected function names.
3322
3323 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3324 as well. Document that MESSAGE must be a single string literal.
3325
3326 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3327
3328 * scripts/build-many-glibcs.py: New file.
3329
3330 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3331 (do_test): Disable -Wmaybe-uninitialized around uses of
3332 except_mask.
3333
3334 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3335
3336 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3337
3338 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3339 (atomic_store_release): Provide tilepro-specific implementations.
3340
3341 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3342
3343 * math/math.h (__MATH_TG): New macro.
3344 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3345 [__USE_ISOC99] (signbit): Likewise.
3346 [__USE_ISOC99] (isfinite): Likewise.
3347 [__USE_ISOC99] (isnan): Likewise.
3348 [__USE_ISOC99] (isinf): Likewise.
3349 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3350 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3351 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3352 __MATH_TG and __MATH_EVAL_FMT2.
3353 * sysdeps/generic/math_private.h (fabs_tg): Define using
3354 __MATH_TG.
3355 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3356 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3357 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3358 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3359 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3360 macro.
3361 (__iscanonical): Likewise.
3362 (iscanonical): Define using __MATH_TG.
3363
3364 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3365
3366 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3367 guards.
3368
3369 * sysdeps/unix/sysv/linux/access.c: New file.
3370 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3371
3372 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3373
3374 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3375 and __WORDSIZE32_PTRDIFF_LONG.
3376
3377 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3378
3379 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3380
3381 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3382
3383 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3384 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3385 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3386 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3387 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3389 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3390 * sysdeps/unix/sysv/linux/truncate.c: New file.
3391 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3392 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3393 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3394 Remove.
3395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3396 Likewise.
3397
3398 * posix/tst-truncate-common.c: New file.
3399 * posix/tst-truncate.c: Use tst-truncate-common.c.
3400 * posix/tst-truncate64.c: Likewise and add LFS tests.
3401 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3402 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3403 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3404 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3405 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3407 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3408 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3409 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3410 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3411 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3412 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3413 Remove.
3414 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3415 Likewise.
3416
3417 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3418
3419 [BZ #20790]
3420 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3421 to MAXLINESIZE.
3422 * sunrpc/bug20790.x: New file.
3423 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3424 variable.
3425 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3426 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3427
3428 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3429
3430 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3431
3432 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3433 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3434 calloc, realloc, free, memalign and __libc_memalign rather than
3435 making them optional.
3436
3437 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3438 for libc.so.
3439
3440 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3441
3442 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3443 ptw-lseek64.
3444 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3445 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3446 Likewise.
3447 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3448 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3449 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3450 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3451 * sysdeps/unix/sysv/linux/lseek.c: New file.
3452 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3453 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3454 __libc_lseek64 from auto-generation.
3455 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3457
3458 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3459
3460 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3461 * nptl/tst-cleanup1.c (do_test): Likewise.
3462 * nptl/tst-cleanup3.c (do_test): Likewise.
3463 * nptl/tst-key1.c (do_test): Likewise.
3464 * nptl/tst-key2.c (tf, do_test): Likewise.
3465 * nptl/tst-key3.c (tf, do_test): Likewise.
3466 * nptl/tst-stdio1.c (do_test): Likewise.
3467 * nptl/tst-stdio2.c (do_test): Likewise.
3468
3469 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3470 * nptl/tst-kill6.c (handler): Likewise.
3471 * nptl/tst-tls2.c (CB): Likewise.
3472 * nptl/tst-tls3.c (CB): Likewise.
3473
3474 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3475
3476 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3477
3478 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3479 Steve Ellcey <sellcey@caviumnetworks.com>
3480
3481 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3482 __ASSUME_ST_INO_64_BIT as 0
3483 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3484 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3485 over the code where __ASSUME_ST_INO_64_BIT is used.
3486 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3487 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3488 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3489
3490 2016-11-07 Florian Weimer <fweimer@redhat.com>
3491
3492 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3493 Document ABI exposure of the __kind offset.
3494 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3495 Mention reason for the __kind offset exposure in the ABI.
3496 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3497 Likewise.
3498 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3499 Likewise.
3500 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3501 Likewise.
3502 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3503 (struct __pthread_mutex_s): Likewise.
3504 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3505 Likewise.
3506 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3507 Likewise.
3508 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3509 Likewise.
3510 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3511 Likewise.
3512 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3513 Likewise.
3514 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3515 Likewise.
3516 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3517 (struct __pthread_mutex_s): Likewise.
3518 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3519 (struct __pthread_mutex_s): Likewise.
3520 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3521 Likewise.
3522
3523 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3524
3525 * test-skeleton.c: Document do_test usage.
3526
3527 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3528
3529 * iconv/gconv.h (__gconv_info): Define __data element using a
3530 zero-length array.
3531
3532 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3533
3534 * math/test-tgmath2.c: Split up test function.
3535
3536 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3537
3538 * Rules (tests-expected): New variable, depending on
3539 $(run-built-tests).
3540 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3541 $(tests).
3542
3543 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3544 $(tests-unsupported).
3545
3546 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3547
3548 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3549 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3550
3551 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3552
3553 [BZ #20768]
3554 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3555 __fegetenv instead of fegetenv.
3556
3557 [BZ #14139]
3558 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3559 (find_files): Obtain platform name from libm-test-ulps-name and
3560 store in %pplatforms.
3561 (canonicalize_platform): Remove.
3562 (print_platforms): Use $pplatforms directly.
3563 (by_platforms): Do not allow for platforms missing from
3564 %pplatforms.
3565 * sysdeps/aarch64/libm-test-ulps-name: New file.
3566 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3567 * sysdeps/arm/libm-test-ulps-name: Likewise.
3568 * sysdeps/generic/libm-test-ulps-name: Likewise.
3569 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3570 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3571 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3572 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3573 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3574 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3575 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3576 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3577 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3578 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3579 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3580 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3581 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3582 * sysdeps/sh/libm-test-ulps-name: Likewise.
3583 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3584 * sysdeps/tile/libm-test-ulps-name: Likewise.
3585 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3586
3587 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3588
3589 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3590 (test-xfail-check-execstack): New variable.
3591
3592 * sysdeps/mips/localplt.data: New file.
3593
3594 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3595 Steve Ellcey <sellcey@caviumnetworks.com>
3596
3597 * bits/wordsize.h: Add documentation.
3598 * sysdeps/aarch64/bits/wordsize.h : New file
3599 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3600 definitions.
3601 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3602 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3603 with #if instead of #ifdef.
3604 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3605 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3606 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3607 Add or change defines.
3608 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3609 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3610 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3611 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3612 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3613 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3614 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3615 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3616 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3617 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3618 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3619 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3620 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3621 * sysdeps/x86/bits/wordsize.h: Likewise.
3622
3623 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3624 Kevin Petit <kevin.petit@arm.com>
3625
3626 * sysdeps/aarch64/memchr.S (__memchr): New file.
3627
3628 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3629
3630 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3631
3632 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #19398]
3635 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3636 $(linknamespace-symlists-tests).
3637
3638 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3639
3640 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3641
3642 2016-11-02 Florian Weimer <fweimer@redhat.com>
3643 Carlos O'Donell <carlos@redhat.com>
3644
3645 [Bug #20729]
3646 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3647 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3648 for -Os related change.
3649
3650 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3651
3652 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3653
3654 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3655
3656 [BZ #19673]
3657 * manual/math.texi (Exponents and Logarithms): Correct description
3658 of clog10.
3659
3660 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3661
3662 [Bz #20729]
3663 * locale/weight.h: Include libc-internal.h.
3664 * locale/weightwc.h: Likewise.
3665 * nptl/nptl_dbP.h: Likewise.
3666
3667 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3668
3669 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3670 when it is MACH_PORT_NULL.
3671
3672 2016-10-31 Andreas Schwab <schwab@suse.de>
3673
3674 [BZ #20707]
3675 * posix/glob.c (glob): Initialize pglob before checking for
3676 GLOB_BRACE. Don't call glob recursively if pattern contains no
3677 valid brace expression despite GLOB_BRACE.
3678 * posix/globtest.sh: Test it.
3679
3680 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3681
3682 [BZ #20729]
3683 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3684 Define.
3685 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3686 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3687 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3688 for seq2.back_us and seq1.back_us only for -Os compiles.
3689 * locale/weightwc.h (findix): Likewise.
3690 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3691 DB_GET_FIELD_ADDRESS only for -Os compiles.
3692 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3693 for slen only for -Os compiles.
3694 * string/strcoll_l.c (get_next_seq): Ignore
3695 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3696 for -Os compiles.
3697
3698 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3699 * include/crypt.h: New file.
3700
3701 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3702
3703 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3704 from test-skeleton.c.
3705 (statclass): Replace calls to write with calls to write_message.
3706
3707 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3708
3709 * math/math.h
3710 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3711 New macro.
3712 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3713 Likewise.
3714 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3715 Likewise.
3716 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3717 SNANL.
3718 * math/test-double.h (snan_value_MACRO): New macro.
3719 * math/test-float.h (snan_value_MACRO): Likewise.
3720 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3721 * math/libm-test.inc (issignaling_test_data): Add tests of
3722 snan_value_MACRO.
3723
3724 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3725
3726 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3727 behavior when eliding a lock not held by the current thread.
3728 * sysdeps/powerpc/nptl/elide.h: Likewise.
3729
3730 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3731
3732 [BZ #20728]
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3734 branch to _exit() by a function call.
3735
3736 2016-10-28 Florian Weimer <fweimer@redhat.com>
3737
3738 * malloc/malloc.c: Update chunk layout comments.
3739 (chunk_main_arena): Update comment.
3740
3741 2016-10-28 Florian Weimer <fweimer@redhat.com>
3742
3743 * crypt/sha256.c, crypt/sha256-block.c,
3744 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3745 sha256_process_block to __sha256_process_block.
3746 * crypt/sha512.c, crypt/sha512-block.c,
3747 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3748 sha512_process_block to __sha512_process_block.
3749
3750 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3751
3752 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3753
3754 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3755
3756 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3757
3758 [BZ #20019]
3759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3760 definition in unrelocated shared library.
3761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3762
3763 2016-10-28 Florian Weimer <fweimer@redhat.com>
3764
3765 [BZ #20729]
3766 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3767 * sysdeps/unix/sysv/linux/i386/Makefile
3768 (uses-6-syscall-arguments): Define.
3769 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3770 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3771 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3772 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3773 Likewise.
3774 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3775 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3776 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3777 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3778 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3779 (CFLAGS-fallocate64.os): Likewise.
3780 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3781 (CFLAGS-pthread_rwlock_timedrdlock.os)
3782 (CFLAGS-pthread_rwlock_timedwrlock.o)
3783 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3784 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3785 (CFLAGS-sem_timedwait.os): Likewise.
3786
3787 2016-10-28 Florian Weimer <fweimer@redhat.com>
3788
3789 * elf/tst-linkall-static.c: New file.
3790 * elf/Makefile (tests-static): Add tst-linkall-static.
3791 (tst-linkall-static): Link against static libraries.
3792
3793 2016-10-27 Florian Weimer <fweimer@redhat.com>
3794
3795 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3796 mmaped chunks.
3797
3798 2016-10-28 Florian Weimer <fweimer@redhat.com>
3799
3800 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3801 members to mchunk_prev_size, mchunk_size.
3802 (chunk_main_arena): Reverse sense and rename from
3803 chunk_non_main_arena.
3804 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3805 mchunk_size instead of size.
3806 (set_non_main_arena): Define.
3807 (chunksize): Use chunksize_nomask instead of direct member access.
3808 (chunksize_nomask): Define.
3809 (next_chunk): Use chunksize instead of direct member access.
3810 (prev_size, set_prev_size): Define.
3811 (prev_chunk): Use prev_size instead of direct member access.
3812 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3813 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3814 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3815 (mchunk_prev_size, mchunk_size): Poison tokens.
3816 (unlink): Use chunksize_nomask, prev_size accessors.
3817 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3818 (do_check_free_chunk): Use prev_size accessor.
3819 (sysmalloc): Use set_prev_size, set_head accessors.
3820 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3821 (__libc_free): Use chunksize_nomask accessor.
3822 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3823 chunk_main_arena accessors.
3824 (_int_free): Use chunksize_nomask, prev_size accessors.
3825 (malloc_consolidate): Use chunksize, prev_size accessors.
3826 (_int_realloc): Use chunksize_nomask accessor.
3827 (_int_memalign): Use set_prev_size accessor.
3828 (__malloc_info): Use chunksize_nomask accessor.
3829 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3830 accessors.
3831 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3832 (heap_trim): Use chunksize_nomask, prev_size accessors.
3833
3834 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3835
3836 [BZ #19380]
3837 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3838 for inexact results.
3839 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3840 of inexact result where mpfr_subnormalize is the only inexact
3841 step.
3842 * stdlib/tst-strtod-round-data.h: Regenerated.
3843 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3844 Define to 0.
3845 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3846
3847 2016-10-27 David S. Miller <davem@davemloft.net>
3848
3849 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3850
3851 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3852
3853 * malloc/malloc.c (do_set_mallopt_check): New function.
3854 (do_set_mmap_threshold): Likewise.
3855 (do_set_mmaps_max): Likewise.
3856 (do_set_top_pad): Likewise.
3857 (do_set_perturb_byte): Likewise.
3858 (do_set_trim_threshold): Likewise.
3859 (do_set_arena_max): Likewise.
3860 (do_set_arena_test): Likewise.
3861 (__libc_mallopt): Use them.
3862
3863 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3864
3865 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3866 (canonicalize): New declaration.
3867 * math/Versions (canonicalize): New libm symbol at version
3868 GLIBC_2.25.
3869 (canonicalizef): Likewise.
3870 (canonicalizel): Likewise.
3871 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3872 * math/s_canonicalize_template.c: New file.
3873 * math/libm-test.inc: Update comment on functions tested and
3874 testing of NaN payloads.
3875 (TEST_NAN_PAYLOAD): New macro.
3876 (NO_TEST_INLINE): Update value.
3877 (XFAIL_TEST): Likewise.
3878 (ERRNO_UNCHANGED): Likewise.
3879 (ERRNO_EDOM): Likewise.
3880 (ERRNO_ERANGE): Likewise.
3881 (IGNORE_RESULT): Likewise.
3882 (NON_FINITE): Likewise.
3883 (TEST_SNAN): Likewise.
3884 (NO_TEST_MATHVEC): Likewise.
3885 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3886 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3887 (struct test_Ffp_b1_data): New type.
3888 (RUN_TEST_Ffp_b1): New macro.
3889 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3890 (canonicalize_test_data): New array.
3891 (canonicalize_test): New function.
3892 (main): Call canonicalize_test.
3893 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3894 canonicalizef and canonicalizel.
3895 * manual/libm-err-tab.pl: Update comment on interfaces without
3896 ulps tabulated.
3897 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3898 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3899 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3900 canonicalize.
3901 (CFLAGS-nldbl-canonicalize.c): New variable.
3902 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3903 to ...
3904 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3905 ... here.
3906 (do_test): Also test canonicalizel.
3907 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3908 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3909 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3910 file.
3911 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3912 Use libm_hidden_def.
3913 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3914 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3915 (do_test): Also test canonicalizel.
3916 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3917 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3918 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3919 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3920 libm_hidden_def.
3921 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3922 macro.
3923 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3924 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3925 * sysdeps/nacl/libm.abilist: Update.
3926 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3927 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3928 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3929 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3930 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3931 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3932 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3933 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3934 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3935 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3936 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3937 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3939 Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3941 Likewise.
3942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3943 Likewise.
3944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3945 Likewise.
3946 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3947 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3948 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3949 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3950 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3952 Likewise.
3953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3954 Likewise.
3955 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3957 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3958
3959 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3960 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3961 getpayload.
3962 (CFLAGS-nldbl-getpayload.c): New variable.
3963
3964 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3965
3966 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3967 integer from the format string.
3968
3969 2016-10-26 Florian Weimer <fweimer@redhat.com>
3970
3971 [BZ #19473]
3972 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3973 declarations.
3974 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3975 weak aliases.
3976 * malloc/hooks.c (__malloc_get_state): Remove definition.
3977 (malloc_get_state): New stub implementation as
3978 compatibility symbol.
3979 (malloc_set_state): Rename from __malloc_set_state. Turn into
3980 compat symbol.
3981 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3982 malloc_set_state.
3983 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3984
3985 2016-10-26 Florian Weimer <fweimer@redhat.com>
3986
3987 * iconvdata/iso646.c (enum variant): Drop illegal_var.
3988 (names): Turn into concatenation of strings.
3989 (gconv_init): Adapt iteration over names.
3990
3991 2016-10-26 Florian Weimer <fweimer@redhat.com>
3992
3993 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3994 make const.
3995 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3996 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3997 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3998 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3999 character in sbconv.
4000 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4001 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4002 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4003
4004 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
4005
4006 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4007
4008 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4009 (M_TRIM_THRESHOLD): Likewise.
4010
4011 * manual/memory.texi (M_ARENA_TEST): Add documentation.
4012 (M_ARENA_MAX): Likewise.
4013 * malloc/malloc.c: Remove obsolete comment.
4014
4015 * manual/memory.texi: Add environment variable alternatives to
4016 setting mallopt parameters.
4017
4018 2016-10-26 Carlos O'Donell <carlos@redhat.com>
4019
4020 * include/atomic.h
4021 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4022 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4023
4024 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4025
4026 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4027 * stdlib/tst-strfrom.h: New file.
4028 * stdlib/tst-strfrom.c: New file.
4029 * stdlib/tst-strfrom-locale.c: New file.
4030
4031 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4032 * stdlib/bug-strtod2.c: Likewise.
4033 * stdlib/tst-strtod-round-skeleton.c: Likewise.
4034 * stdlib/tst-strtod6.c: Likewise.
4035 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4036
4037 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4038
4039 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4040 * manual/arith.texi: Document strfromd, strfromf, strfroml.
4041 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4042 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4043 * stdlib/stdlib.h (strfromd): New declaration.
4044 (strfromf): Likewise.
4045 (strfroml): Likewise.
4046 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
4047 strfrom.
4048 * stdlib/strfromd.c: New file.
4049 * stdlib/strfromf.c: Likewise.
4050 * stdlib/strfroml.c: Likewise.
4051 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4052 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4053 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4054 * sysdeps/arm/nacl/libc.abilist: Update.
4055 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4056 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4057 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4058 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4059 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4060 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4061 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4062 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4063 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4064 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4066 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4067 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4068 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4073 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4074 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4075 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4081 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4082 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4083
4084 2016-10-25 Joseph Myers <joseph@codesourcery.com>
4085
4086 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4087 instead of cmpli.
4088 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4089 instead of cmpli.
4090
4091 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4092
4093 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4094 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4095 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4096 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4097 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4098 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4099
4100 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4101
4102 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4103 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4104 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4105 SYSCALL_LL64_PRW.
4106 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4107 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4108 __ASSUME_PRW_DUMMY_ARG.
4109 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4110 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4111 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4112 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4113 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4114 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4115
4116 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4117
4118 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4119
4120 2016-10-22 Florian Weimer <fweimer@redhat.com>
4121
4122 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4123 "C++", to override a potential extern "C" directive around the
4124 header file inclusion.
4125
4126 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4127
4128 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4129
4130 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4131
4132 * sysdeps/powerpc/fpu/fenv_private.h:
4133 (_FPU_MASK_ALL): Rename to...
4134 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4135 XE FPSCR bits.
4136
4137 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4138
4139 (_FPU_MASK_ROUNDING): Rename to...
4140 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4141 NI bits.
4142
4143 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4144 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4145 bits and rounding bits.
4146
4147 (__libc_feholdbits_ppc): New inline function to mask, set,
4148 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4149 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4150 (libc_feholdexcept_setround_ppc): Likewise.
4151
4152 (__libc_femergeenv_ppc): New function to dynamically mask both
4153 old and new FP environments and merge.
4154 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4155 (libc_feresetround_ppc): Likewise.
4156 (libc_feupdateenv_test_ppc): Likewise.
4157 (libc_feupdateenv_ppc): Likewise.
4158
4159 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4160 of ISA RN bits, and update macro names.
4161 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4162 effectively the same as the previously mentioned function.
4163
4164 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4165 usage with fe_resetround_ppc.
4166
4167 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4168 to be used.
4169 (libc_feholdexcept_setround_ctxf): Likewise.
4170 (libc_feholdexcept_setround_ctxl): Likewise.
4171
4172 2016-10-21 Florian Weimer <fweimer@redhat.com>
4173
4174 [BZ #20715]
4175 * math/math.h [__cplusplus] (iszero): Define as function template.
4176 * math/Makefile [CXX] (tests): Add test-math-iszero.
4177 (CFLAGS-test-math-iszero.cc): Set.
4178 * math/test-math-iszero.cc: New file.
4179
4180 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4181
4182 [BZ #20660]
4183 * sysdeps/arm/e_sqrt.c: New file.
4184 * sysdeps/arm/e_sqrtf.c: Likewise.
4185
4186 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4187
4188 [BZ #20718]
4189 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4190 not use floating-point comparisons to test sign.
4191 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4192 Likewise.
4193
4194 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4195 (getpayload): New declaration.
4196 * math/Versions (getpayload): New libm symbol at version
4197 GLIBC_2.25.
4198 (getpayloadf): Likewise.
4199 (getpayloadl): Likewise.
4200 * math/Makefile (libm-calls): Add s_getpayloadF.
4201 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4202 (struct test_f_f_data): Add comment.
4203 (RUN_TEST_fp_f): New macro.
4204 (RUN_TEST_LOOP_fp_f): Likewise.
4205 (getpayload_test_data): New array.
4206 (getpayload_test): New function.
4207 (main): Call getpayload_test.
4208 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4209 descriptor.
4210 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4211 getpayloadf and getpayloadl.
4212 * manual/libm-err-tab.pl: Update comment on interfaces without
4213 ulps tabulated.
4214 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4215 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4216 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4220 * sysdeps/nacl/libm.abilist: Update.
4221 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4222 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4223 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4224 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4225 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4226 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4227 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4228 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4229 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4230 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4231 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4232 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4234 Likewise.
4235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4236 Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4238 Likewise.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4240 Likewise.
4241 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4242 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4243 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4244 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4245 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4247 Likewise.
4248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4249 Likewise.
4250 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4251 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4252 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4253
4254 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4255
4256 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4257 tst-fallocate{64}.
4258 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4259 on syscall return.
4260
4261 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4262
4263 [BZ #20689]
4264 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4265 usable.
4266
4267 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4268
4269 * sysdeps/generic/nan-high-order-bit.h: New file.
4270 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4271 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4272 * sysdeps/hppa/math_private.h: Remove file.
4273 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4274 not define here.
4275 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4276 <nan-high-order-bit.h>.
4277 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4278 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4279 <nan-high-order-bit.h>.
4280 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4281 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4282 <nan-high-order-bit.h>.
4283 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4284 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4285 <nan-high-order-bit.h>.
4286 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4288 <nan-high-order-bit.h>.
4289 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4290 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4291 <nan-high-order-bit.h>.
4292 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4293 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4294 <nan-high-order-bit.h>.
4295 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4296 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4297 <nan-high-order-bit.h>.
4298 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4299 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4300 <nan-high-order-bit.h>.
4301 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4302 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4303 <nan-high-order-bit.h>.
4304 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4305 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4306 <nan-high-order-bit.h>.
4307 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4308 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4309 <nan-high-order-bit.h>.
4310 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4311 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4312 <nan-high-order-bit.h>.
4313 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4314 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4315 <nan-high-order-bit.h>.
4316 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4317 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4318 <nan-high-order-bit.h>.
4319 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4320 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4321 <nan-high-order-bit.h>.
4322 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4323 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4324 <nan-high-order-bit.h>.
4325 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4326 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4327 <nan-high-order-bit.h>.
4328 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4329
4330 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4331
4332 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4333
4334 2016-09-22 John David Anglin <dave.anglin@bell.net>
4335
4336 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4337 abort-instr.h.
4338 (EFAULT): Remove conditional define.
4339 (ENOSYS): Likewise.
4340 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4341 instead of conditional branch instructions.
4342
4343 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4344
4345 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4346 (totalordermag): New declaration.
4347 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4348 New macro.
4349 * math/Versions (totalordermag): New libm symbol at version
4350 GLIBC_2.25.
4351 (totalordermagf): Likewise.
4352 (totalordermagl): Likewise.
4353 * math/Makefile (libm-calls): Add s_totalordermagF.
4354 * math/libm-test.inc (totalordermag_test_data): New array.
4355 (totalordermag_test): New function.
4356 (main): Call totalordermag_test.
4357 * math/test-tgmath.c (NCALLS): Increase to 125.
4358 (F(compile_test)): Call totalordermag.
4359 (F(totalordermag)): New function.
4360 * manual/arith.texi (FP Comparison Functions): Document
4361 totalordermag, totalordermagf and totalordermagl.
4362 * manual/libm-err-tab.pl: Update comment on interfaces without
4363 ulps tabulated.
4364 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4365 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4366 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4371 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4372 totalordermag.
4373 (CFLAGS-nldbl-totalordermag.c): New variable.
4374 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4375 (do_test): Also test totalordermagl.
4376 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4377 Likewise.
4378 * sysdeps/nacl/libm.abilist: Update.
4379 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4380 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4381 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4382 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4383 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4384 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4385 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4386 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4387 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4388 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4389 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4390 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4392 Likewise.
4393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4394 Likewise.
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4396 Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4398 Likewise.
4399 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4400 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4401 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4402 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4405 Likewise.
4406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4407 Likewise.
4408 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4411
4412 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4413
4414 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4415 boolean.
4416
4417 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4418
4419 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4420 raising FE_INVALID with feraisexcept in case where part of
4421 argument is infinite, subtract that part of argument from itself.
4422 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4423 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4424 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4425
4426 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4427
4428 * math/libm-test.inc (totalorder_test_data): Add more tests.
4429
4430 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4431
4432 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4433 Undefine weak_alias and add a comment why mips64 require
4434 versioning.
4435
4436 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4437
4438 [BZ #20647]
4439 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4440 maximum CPUID level is less than 2.
4441
4442 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4443
4444 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4445 (totalorder): New declaration.
4446 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4447 New macro.
4448 * math/Versions (totalorder): New libm symbol at version
4449 GLIBC_2.25.
4450 (totalorderf): Likewise.
4451 (totalorderl): Likewise.
4452 * math/Makefile (libm-calls): Add s_totalorderF.
4453 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4454 string.
4455 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4456 (qnan_value_pl): Likewise.
4457 (snan_value_pl): Likewise.
4458 (qnan_value): Define using qnan_value_pl.
4459 (snan_value): Define using snan_value_pl.
4460 (struct test_ff_i_data): Add comment about which tests use this
4461 structure.
4462 (RUN_TEST_ff_b): New macro.
4463 (RUN_TEST_LOOP_ff_b): Likewise.
4464 (totalorder_test_data): New array.
4465 (totalorder_test): New function.
4466 (main): Call totalorder_test.
4467 * math/test-tgmath.c (NCALLS): Increase to 122.
4468 (F(compile_test)): Call totalorder.
4469 (F(totalorder)): New function.
4470 * manual/arith.texi (FP Comparison Functions): Document
4471 totalorder, totalorderf and totalorderl.
4472 * manual/libm-err-tab.pl: Update comment on interfaces without
4473 ulps tabulated.
4474 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4475 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4476 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4481 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4482 totalorder.
4483 (CFLAGS-nldbl-totalorder.c): New variable.
4484 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4485 file.
4486 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4487 Add test-totalorderl-ldbl-128ibm.
4488 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4489 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4490 test-totalorderl-ldbl-96.
4491 * sysdeps/nacl/libm.abilist: Update.
4492 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4493 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4494 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4495 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4496 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4497 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4498 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4499 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4500 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4501 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4502 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4503 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4505 Likewise.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4507 Likewise.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4509 Likewise.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4511 Likewise.
4512 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4513 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4514 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4515 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4518 Likewise.
4519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4520 Likewise.
4521 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4522 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4524
4525 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4526
4527 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4528 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4529 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4530 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4531 remove ENOSYS implementation.
4532 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4533 Consolidate all Linux implementations.
4534
4535 2016-10-11 Florian Weimer <fweimer@redhat.com>
4536
4537 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4538 * resolv/herror.c (herror): Cast away const-ness.
4539 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4540 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4541
4542 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4543
4544 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4545 instead of M_NAN + M_NAN.
4546 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4547
4548 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4549
4550 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4551 unused variable 'p'.
4552
4553 2016-10-09 Alan Modra <amodra@gmail.com>
4554 Andreas Schwab <schwab@linux-m68k.org>
4555
4556 [BZ #20554]
4557 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4558 [PIC && !SHARED]: Set up PIC register for PLT call.
4559
4560 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4561
4562 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4563 conditional on value of [__FLT_EVAL_METHOD__].
4564 * math/test-iseqsig-excess-precision.c: New file.
4565 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4566
4567 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4568
4569 * math/s_iseqsig_template.c: Include math-private.h.
4570
4571 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4572 * posix/tst-posix_fadvise.c: New file.
4573 * posix/tst-posix_fadvise64.c: Likewise.
4574 * posix/tst-posix_fadvise-common.c: Likewise.
4575 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4576 (__ASSUME_FADVISE64_64_6ARG): Define.
4577 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4578 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4580 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4581 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4582 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4583 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4584 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4585 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4587 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4588 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4591 Likewise.
4592 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4593 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4594 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4595 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4596 Alias to __posix_fadvise64_l32.
4597 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4598 Add compat definition to posix_fadvise64.
4599 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4600 Add versioned definition to posix_fadvise64.
4601 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4602 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4603 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4604 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4605 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4606
4607 * io/Makefile (tests): Add tst-posix_fallocate and
4608 tst-posix_fallocate64.
4609 * io/tst-posix_fallocate-common.c: New file.
4610 * io/tst-posix_fallocate.c: Likewise.
4611 * io/tst-posix_fallocate64.c: Likewise.
4612 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4613 file.
4614 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4615 Likewise.
4616 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4617 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4618 Likewise.
4619 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4620 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4621 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4622 SYSCALL_LL to pass both offset and len arguments.
4623 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4624 Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4626 __libc_pwrite64 alias used by posix_fallocate64.
4627
4628 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4629 tst-fallocate64.
4630 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4631 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4632 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4633 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4634 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4635 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4636 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4637 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4638 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4639 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4640 macro on offset argument.
4641 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4642 SYSCALL_LL64 on offset argument.
4643
4644 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4645 tst-fallocate64.
4646 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4647 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4648 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4649 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4650 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4652 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4653 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4654 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4655 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4656 macro on offset argument.
4657 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4658 SYSCALL_LL64 on offset argument.
4659 * test-skeleton.c (FAIL_RET): Add macro.
4660 (FAIL_EXIT): Likewise.
4661 (FAIL_EXIT1): Likewise.
4662 (_FAIL): Likewise.
4663
4664 2016-10-07 Florian Weimer <fweimer@redhat.com>
4665
4666 [BZ #20629]
4667 resolv: Remove RES_USEBSTRING and its implementation.
4668 * resolv/resolv.h (RES_USEBSTRING): Remove.
4669 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4670 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4671 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4672 (labellen): Remove extended label types support.
4673 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4674 * resolv/res_init.c (res_setoptions): Likewise.
4675 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4676
4677 2016-10-07 Florian Weimer <fweimer@redhat.com>
4678
4679 resolv: Remove RES_NOIP6DOTINT and its implementation.
4680 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4681 (RES_NOIP6DOTINT): Remove.
4682 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4683 handling.
4684 * resolv/res_debug.c (p_option): Likewise.
4685 * resolv/res_init.c (res_setoptions): Likewise.
4686 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4687
4688 2016-10-07 Florian Weimer <fweimer@redhat.com>
4689
4690 resolv: Deprecate unimplemented flags.
4691 * misc/sys/cdefs.h (__glibc_macro_warning1)
4692 (__glibc_macro_warning): Define.
4693 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4694 (RES_KEEPTSIG): Mark as deprecated.
4695 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4696 RES_NOCHECKNAME, RES_KEEPTSIG.
4697 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4698
4699 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4700
4701 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4702 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4703 Use strong_alias to create symbols for glibc verison 2.19.
4704
4705 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4706
4707 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4708
4709 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4710
4711 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4712
4713 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4714
4715 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4716
4717 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4718
4719 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4720 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4721 in header for using it as type for ifunc function because __GI_* symbols
4722 for ppc32 do not target the ifunc symbols.
4723 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4724
4725 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4726
4727 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4728 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4729 libc_ifunc_hidden_def.
4730 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4731 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4732 Redirect ifunced function in header for using it as type of ifunc'ed
4733 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4734 function for __GI_* symbol.
4735 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4736 * include/libc-symbols.h
4737 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4738
4739 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4740
4741 [BZ #20478]
4742 * sysdeps/s390/multiarch/ifunc-resolve.h
4743 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4744 to create ifunc symbols.
4745 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4746 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4747 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4748 for using it as type for ifunc function.
4749 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4750 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4751 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4752 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4753 * sysdeps/s390/multiarch/strcat.c: Likewise.
4754 * sysdeps/s390/multiarch/strchr.c: Likewise.
4755 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4756 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4757 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4758 * sysdeps/s390/multiarch/strlen.c: Likewise.
4759 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4760 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4761 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4762 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4763 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4764 * sysdeps/s390/multiarch/strspn.c: Likewise.
4765 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4766 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4767 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4768 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4769 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4770 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4771 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4772 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4773 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4774 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4775 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4776 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4777
4778 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4779
4780 * include/libc-symbols.h (__ifunc_resolver):
4781 New macro is used by __ifunc* macros.
4782 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4783 depending on HAVE_GCC_IFUNC.
4784 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4785 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4787 Redirect ifunced function in header for using as type for ifunc function.
4788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4792 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4793 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4794 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4795 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4796 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4797 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4798 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4799 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4801 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4808 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4809 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4810 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4811 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4812 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4813 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4814 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4815 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4816 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4817 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4818 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4819 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4820 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4822 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4823 instead of libc_ifunc() macro.
4824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4825 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4826
4827 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4828
4829 * config.h.in (HAVE_GCC_IFUNC): New undef.
4830 * configure.ac: Add check if gcc supports attribute ifunc feature.
4831 * configure: Regenerated.
4832 * manual/install.texi: Add recommendation for gcc with
4833 indirect-function support.
4834 * INSTALL: Regenerated.
4835
4836 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4837
4838 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4839 macro.
4840 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4841 (__iseqsig): New declaration.
4842 * math/s_iseqsig_template.c: New file.
4843 * math/Versions (__iseqsigf): New libm symbol at version
4844 GLIBC_2.25.
4845 (__iseqsig): Likewise.
4846 (__iseqsigl): Likewise.
4847 * math/libm-test.inc (iseqsig_test_data): New array.
4848 (iseqsig_test): New function.
4849 (main): Call iseqsig_test.
4850 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4851 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4852 * manual/libm-err-tab.pl: Update comment on interfaces without
4853 ulps tabulated.
4854 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4855 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4856 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4857 * sysdeps/nacl/libm.abilist: Update.
4858 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4859 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4860 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4861 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4862 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4863 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4864 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4865 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4866 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4868 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4869 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4871 Likewise.
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4873 Likewise.
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4875 Likewise.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4877 Likewise.
4878 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4880 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4881 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4882 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4884 Likewise.
4885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4886 Likewise.
4887 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4890
4891 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4892
4893 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4894 do_sincos_2, sloww, sloww1): Update comments.
4895
4896 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4897 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4898
4899 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4900 K boolean and rename it.
4901 (__sin): Adjust.
4902 (__cos): Adjust.
4903
4904 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4905 Siddhesh Poyarekar <siddhesh@sourceware.org>
4906
4907 * manual/nss.texi: Fix typos in the manual.
4908
4909 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4910
4911 * manual/contrib.texi: Fix typos in the manual.
4912
4913 * manual/maint.texi: Fix typos in the manual.
4914
4915 * manual/install.texi: Fix typos in the manual.
4916 * INSTALL: Regenerated.
4917
4918 * manual/lang.texi: Fix typos in the manual.
4919
4920 * manual/probes.texi: Fix typos in the manual.
4921
4922 * manual/threads.texi: Fix typos in the manual.
4923
4924 * manual/debug.texi: Fix typos in the manual.
4925
4926 * manual/crypt.texi: Fix typos in the manual.
4927
4928 * manual/conf.texi: Fix typos in the manual.
4929
4930 * manual/sysinfo.texi: Fix typos in the manual.
4931
4932 * manual/users.texi: Fix typos in the manual.
4933
4934 * manual/job.texi: Fix typos in the manual.
4935
4936 * manual/process.texi: Fix typos in the manual.
4937
4938 * manual/argp.texi: Fix typos in the manual.
4939 * manual/getopt.texi: Likewise.
4940 * manual/startup.texi: Likewise.
4941
4942 * manual/signal.texi: Fix typos in the manual.
4943
4944 * manual/setjmp.texi: Fix typos in the manual.
4945
4946 * manual/resource.texi: Fix typos in the manual.
4947
4948 * manual/time.texi: Fix typos in the manual.
4949
4950 * manual/arith.texi: Fix typos in the manual.
4951
4952 * manual/math.texi: Fix typos in the manual.
4953
4954 * manual/syslog.texi: Fix typos in the manual.
4955
4956 * manual/terminal.texi: Fix typos in the manual.
4957
4958 * manual/socket.texi: Fix typos in the manual.
4959
4960 * manual/filesys.texi: Fix typos in the manual.
4961
4962 * manual/llio.texi: Fix typos in the manual.
4963
4964 * manual/stdio.text: Fix typos in the manual.
4965
4966 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4967
4968 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4969 instead of K1.
4970
4971 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4972 SHIFT_QUADRANT and make it bool.
4973 (do_sincos_2): Likewise.
4974 (sloww): Likewise.
4975 (sloww1): Likewise.
4976 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4977 (__cos): Likewise.
4978
4979 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4980
4981 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4982
4983 2016-10-04 Joseph Myers <joseph@codesourcery.com>
4984
4985 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4986 Define to __WORDSIZE, not conditional on [LONG_MAX ==
4987 0x7fffffffL].
4988 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4989
4990 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4991
4992 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4993 inline by __inline__.
4994 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4995 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4996 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4997 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4998 sigset_t from signal.h.
4999 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5000 which is already required.
5001
5002 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
5003
5004 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5005
5006 2016-10-03 Joseph Myers <joseph@codesourcery.com>
5007
5008 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5009 (struct tcp_repair_window): New type.
5010
5011 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5012
5013 * libio/tst-memstream3.c: Include string.h.
5014
5015 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5016
5017 [BZ #18241]
5018 [BZ #20181]
5019 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5020 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5021 write position is at the end the buffer.
5022 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5023 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5024 (_IO_str_seekoff): Set correct offset from negative displacement and
5025 set EINVAL for invalid ones.
5026 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5027 buffer length.
5028 (_IO_wstr_switch_to_get_mode): New function.
5029 (_IO_wstr_seekoff): Set correct offset from negative displacement and
5030 set EINVAL for invalid ones.
5031 * libio/tst-memstream3.c: New file.
5032 * libio/tst-wmemstream3.c: Likewise.
5033 * manual/examples/memstrm.c: Remove warning when priting size_t.
5034
5035 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5036
5037 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5038 macro to use __builtin_fma.
5039 * sysdeps/x86_64/fpu/dla.h: Remove file.
5040
5041 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5042 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5043 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5044
5045 2016-09-30 Carlos O'Donell <carlos@redhat.com>
5046
5047 [BZ #20292]
5048 * elf/Makefile (routines): Add dl-addr-obj.
5049 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5050 tst-_dl_addr_inside_object.
5051 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5052 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5053 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5054 [ifeq (yesyes,$(have-fpie)$(build-shared))]
5055 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5056 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5057 * elf/dl-open.c: Likewise.
5058 * elf/dl-addr-obj.c: New file.
5059 * elf/tst-_dl_addr_inside_object.c: New file.
5060
5061 2016-09-30 Joseph Myers <joseph@codesourcery.com>
5062
5063 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5064 <bits/iscanonical.h>.
5065 * bits/iscanonical.h: New file.
5066 * math/s_iscanonicall.c: Likewise.
5067 * math/Versions (__iscanonicall): New libm symbol at version
5068 GLIBC_2.25.
5069 * math/libm-test.inc (iscanonical_test_data): New array.
5070 (iscanonical_test): New function.
5071 (main): Call iscanonical_test.
5072 * math/Makefile (headers): Add bits/iscanonical.h.
5073 (type-ldouble-routines): Add s_iscanonicall.
5074 * manual/arith.texi (Floating Point Classes): Document
5075 iscanonical.
5076 * manual/libm-err-tab.pl: Update comment on interfaces without
5077 ulps tabulated.
5078 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5079 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5081 Likewise.
5082 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5083 test-iscanonical-ldbl-128ibm.
5084 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5085 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5086 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5087 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5088 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5089 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5090 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5092 Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5094 Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5096 Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5098 Likewise.
5099 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5100 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5101
5102 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5103
5104 * string/bits/string3.h: Remove C++ style comments.
5105
5106 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5107
5108 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5109 instead of ternary condition.
5110 (do_sincos_2): Likewise.
5111 (__sin): Likewise.
5112 (__cos): Likewise.
5113 (slow): Likewise.
5114 (sloww): Likewise.
5115 (sloww1): Likewise.
5116 (bsloww): Likewise.
5117 (bsloww1): Likewise.
5118
5119 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5120 instead of ternary condition.
5121 (do_sin_slow): Likewise.
5122 (do_sincos_1): Likewise.
5123 (do_sincos_2): Likewise.
5124 (__cos): Likewise.
5125 (sloww): Likewise.
5126 (sloww1): Likewise.
5127 (sloww2): Likewise.
5128 (bsloww): Likewise.
5129 (bsloww1): Likewise.
5130 (bsloww2): Likewise.
5131
5132 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5133 check from here...
5134 (slow2): ... and here...
5135 (__sin): ... to here.
5136
5137 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5138
5139 * math/math.h
5140 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5141 Cast argument to its own type.
5142 * math/test-iszero-excess-precision.c: New file.
5143 * math/Makefile (tests): Add test-iszero-excess-precision.
5144 (CFLAGS-test-iszero-excess-precision.c): New variable.
5145
5146 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5147
5148 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5149 field, add err field.
5150 (__spawni_child): Report error through err member instead of pipe.
5151 (__spawnix): Likewise.
5152
5153 2016-09-28 Zack Weinberg <zackw@panix.com>
5154
5155 * scripts/check-installed-headers.sh: Generalize treatment of
5156 sys/elf.h to all target architectures.
5157
5158 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5159 deleted typedef ucontext_t.
5160
5161 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5162
5163 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5164 (__INTERNAL_SYSCALL1): Likewise.
5165 (__INTERNAL_SYSCALL2): Likewise.
5166 (__INTERNAL_SYSCALL3): Likewise.
5167 (__INTERNAL_SYSCALL4): Likewise.
5168 (__INTERNAL_SYSCALL5): Likewise.
5169 (__INTERNAL_SYSCALL6): Likewise.
5170 (__INTERNAL_SYSCALL7): Likewise.
5171 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5172 (__INTERNAL_SYSCALL_NARGS): Likewise.
5173 (__INTERNAL_SYSCALL_DISP): Likewise.
5174 (INTERNAL_SYSCALL_CALL): Likewise.
5175 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5176 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5177 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5178 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5179 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5180 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5181 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5182 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5183 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5184 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5185 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5186 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5187 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5188
5189 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5190
5191 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5192 macro.
5193 * math/libm-test.inc (iszero_test_data): New array.
5194 (iszero_test): New function.
5195 (main): Call iszero_test.
5196 * manual/arith.texi (Floating Point Classes): Document iszero.
5197 * manual/libm-err-tab.pl: Update comment on interfaces without
5198 ulps tabulated.
5199
5200 2016-09-23 Zack Weinberg <zackw@panix.com>
5201
5202 * scripts/check-installed-headers.sh: New script.
5203 * Rules: In each directory that defines header files to be installed,
5204 run check-installed-headers.sh on them as a special test.
5205 * Makefile: Likewise for the headers installed at top level.
5206
5207 * include/aliases.h, include/alloca.h, include/argz.h
5208 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5209 * include/elf.h, include/envz.h, include/err.h
5210 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5211 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5212 * include/link.h, include/malloc.h, include/mcheck.h
5213 * include/mntent.h, include/netinet/ether.h
5214 * include/nss.h, include/obstack.h, include/printf.h
5215 * include/pty.h, include/resolv.h, include/rpc/auth.h
5216 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5217 * include/rpc/clnt.h, include/rpc/des_crypt.h
5218 * include/rpc/key_prot.h, include/rpc/netdb.h
5219 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5220 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5221 * include/rpc/rpc_msg.h, include/rpc/svc.h
5222 * include/rpc/svc_auth.h, include/rpc/xdr.h
5223 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5224 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5225 * include/rpcsvc/ypupd.h, include/shadow.h
5226 * include/stdio_ext.h, include/sys/epoll.h
5227 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5228 * include/sys/prctl.h, include/sys/profil.h
5229 * include/sys/statfs.h, include/sys/sysctl.h
5230 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5231 * sysdeps/arm/nacl/include/bits/setjmp.h
5232 * sysdeps/mips/include/sys/asm.h
5233 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5234 * sysdeps/unix/sysv/linux/include/sys/timex.h
5235 * sysdeps/x86/fpu/include/bits/fenv.h:
5236 Add #ifndef _ISOMAC guard around internal declarations.
5237 Add multiple-inclusion guard if not already present.
5238
5239 2016-09-23 Zack Weinberg <zackw@panix.com>
5240
5241 * sysdeps/generic/sys/ucontext.h
5242 * sysdeps/arm/sys/ucontext.h
5243 * sysdeps/i386/sys/ucontext.h
5244 * sysdeps/m68k/sys/ucontext.h
5245 * sysdeps/mips/sys/ucontext.h
5246 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5247 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5248 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5249 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5250 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5251 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5252 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5253 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5254 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5255 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5256 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5257 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5258 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5259 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5260 Include both bits/sigcontext.h and bits/sigstack.h.
5261 Fix grammar error in comment, if present.
5262
5263 * bits/sigstack.h
5264 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5265 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5266 * sysdeps/unix/sysv/linux/bits/sigstack.h
5267 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5268 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5269 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5270 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5271 * bits/sigcontext.h
5272 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5273 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5274 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5275 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5276 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5277 as well as signal.h, if this was not already allowed. Request
5278 definition of size_t if necessary. Minimize semantically-null
5279 differences across files.
5280
5281 2016-09-23 Zack Weinberg <zackw@panix.com>
5282
5283 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5284 Remove all logic conditional on __need macros. Move all the
5285 conditionally defined types to their own headers...
5286 * time/bits/types/clock_t.h: Define clock_t here.
5287 * time/bits/types/clockid_t.h: Define clockid_t here.
5288 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5289 * time/bits/types/struct_timespec.h: Define struct timespec here.
5290 * time/bits/types/struct_timeval.h: Define struct timeval here.
5291 * time/bits/types/struct_tm.h: Define struct tm here.
5292 * time/bits/types/time_t.h: Define time_t here.
5293 * time/bits/types/timer_t.h: Define timer_t here.
5294 * time/Makefile: Install the new headers.
5295
5296 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5297 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5298 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5299 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5300 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5301 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5302 * sysdeps/unix/sysv/linux/bits/resource.h
5303 * sysdeps/unix/sysv/linux/bits/timex.h
5304 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5305 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5306 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5307 * sysdeps/unix/sysv/linux/sys/acct.h
5308 * sysdeps/unix/sysv/linux/sys/timerfd.h
5309 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5310 * time/sys/time.h, time/sys/timeb.h
5311 Use the new bits/types headers.
5312
5313 * include/time.h: Remove __need logic.
5314 * include/bits/time.h
5315 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5316 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5317 * include/bits/types/struct_itimerspec.h
5318 * include/bits/types/struct_timespec.h
5319 * include/bits/types/struct_timeval.h
5320 * include/bits/types/struct_tm.h:
5321 New wrapper headers.
5322
5323 2016-09-23 Zack Weinberg <zackw@panix.com>
5324
5325 * sysdeps/mach/hurd/net/if_ppp.h
5326 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5327 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5328 if __USE_MISC is defined, to ensure struct ifreq is declared.
5329
5330 * inet/netinet/ether.h: Condition all function prototypes
5331 on __USE_MISC, to ensure struct ether_addr is declared.
5332
5333 * socket/bits/types/struct_osockaddr.h: New header.
5334 * include/bits/types/struct_osockaddr.h: New wrapper.
5335 * socket/Makefile: Install the new header.
5336 * socket/sys/socket.h, inet/protocols/talkd.h:
5337 Refer to bits/types/struct_osockaddr.h for the definition of
5338 struct osockaddr.
5339
5340 2016-09-23 Zack Weinberg <zackw@panix.com>
5341
5342 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5343 * inet/protocols/routed.h, inet/protocols/talkd.h
5344 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5345 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5346 * sysdeps/generic/netinet/if_ether.h
5347 * sysdeps/generic/netinet/in_systm.h
5348 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5349 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5350 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5351 * sysdeps/mach/hurd/net/if_arp.h
5352 * sysdeps/mach/hurd/net/if_ppp.h
5353 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5354 * sysdeps/unix/sysv/linux/bits/in.h
5355 * sysdeps/unix/sysv/linux/net/ethernet.h
5356 * sysdeps/unix/sysv/linux/net/if_arp.h
5357 * sysdeps/unix/sysv/linux/net/if_ppp.h
5358 * sysdeps/unix/sysv/linux/net/if_shaper.h
5359 * sysdeps/unix/sysv/linux/net/route.h
5360 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5361 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5362 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5363 * sysdeps/unix/sysv/linux/netipx/ipx.h
5364 * sysdeps/unix/sysv/linux/sys/acct.h
5365 * include/arpa/nameser.h, include/resolv.h:
5366 Change all uses of u_char to unsigned char,
5367 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5368 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5369 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5370 and u_int64_t and u_quad_t to uint64_t.
5371
5372 * mach/sys/reboot.h: Remove two casts of integer literals
5373 to the types they already have.
5374
5375 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5376 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5377 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5378 from referring to 'unsigned char' to 'uint8_t' for consistency with
5379 the macro definition below.
5380
5381 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5382 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5383 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5384 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5385 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5386 * sysdeps/unix/sysv/linux/sys/acct.h
5387 * include/arpa/nameser.h, include/resolv.h:
5388 Fix indentation disrupted by mechanical edits.
5389
5390 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5391 * sysdeps/generic/netinet/in_systm.h
5392 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5393 * sysdeps/gnu/netinet/udp.h
5394 * sysdeps/unix/sysv/linux/net/ethernet.h
5395 * sysdeps/unix/sysv/linux/net/if_arp.h
5396 * sysdeps/unix/sysv/linux/net/if_ppp.h
5397 * sysdeps/unix/sysv/linux/net/if_shaper.h
5398 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5399 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5400 * sysdeps/unix/sysv/linux/netipx/ipx.h
5401 * sysdeps/unix/sysv/linux/sys/acct.h
5402 Include stdint.h for uintNN_t definitions.
5403 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5404
5405 2016-09-23 Zack Weinberg <zackw@panix.com>
5406
5407 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5408 * sysdeps/unix/sysv/linux/netrose/rose.h:
5409 Include sys/socket.h and netax25/ax25.h.
5410
5411 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5412 * resolv/arpa/nameser_compat.h:
5413 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5414
5415 * sysdeps/unix/sysv/linux/sys/quota.h:
5416 Use __caddr_t instead of caddr_t.
5417 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5418 Use __clockid_t instead of clockid_t.
5419
5420 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5421
5422 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5423 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5424 expanding it.
5425
5426 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5427 Define __glibc_c99_flexarr_available to 1 when the compiler
5428 supports C99-compatible flexible array members, 0 otherwise.
5429 * sysdeps/unix/sysv/linux/bits/socket.h
5430 * sysdeps/mach/hurd/bits/socket.h
5431 * bits/socket.h: Use __glibc_c99_flexarr_available in
5432 definitions of struct cmsghdr and CMSG_DATA.
5433
5434 2016-09-23 Florian Weimer <fweimer@redhat.com>
5435
5436 * manual/nss.texi (NSS Modules Interface): Adjust function return
5437 type to enum nss_status. Document errnop argument. Clarify
5438 h_errnop semantics. Fix cross-reference formatting.
5439 (NSS Module Function Internals): Mention that *errnop needs to be
5440 set on failure, but not to zero.
5441
5442 2016-09-23 Florian Weimer <fweimer@redhat.com>
5443
5444 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5445 (get_random_name): New functions.
5446 (check_wrapper_flags_mode): Use linkat to give the new file a name
5447 determined by get_random_name.
5448 (do_test): Add calls to test open64 and openat64.
5449
5450 2016-09-23 Florian Weimer <fweimer@redhat.com>
5451
5452 * test-skeleton.c: Remove #include <stdarg.h>.
5453
5454 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5455
5456 [BZ #19826]
5457 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5458 initialization of static TLS entries.
5459 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5460 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5461
5462 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5463
5464 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5465 _hurd_malloc_fork_prepare.
5466 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5467 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5468 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5469 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5470 (_hurd_fork_child_hook): Drop malloc_fork_child.
5471 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5472 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5473 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5474 after locking locks (notably hurd_dtable_lock). Call
5475 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5476 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5477 __malloc_fork_unlock_child.
5478 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5479
5480 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5481
5482 * soft-fp/extendhftf2.c: New.
5483 * soft-fp/fixhfti.c: Likewise.
5484 * soft-fp/fixunshfti.c: Likewise.
5485 * soft-fp/floattihf.c: Likewise.
5486 * soft-fp/floatuntihf.c: Likewise.
5487 * soft-fp/half.h: Likewise.
5488 * soft-fp/trunctfhf2.c: Likewise.
5489
5490 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5491
5492 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5493 macro.
5494 * math/libm-test.inc (issubnormal_test_data): New array.
5495 (issubnormal_test): New function.
5496 * manual/arith.texi (Floating Point Classes): Document
5497 issubnormal.
5498 * manual/libm-err-tab.pl: Update comment on interfaces without
5499 ulps tabulated.
5500
5501 * sysdeps/generic/stdint.h: Define
5502 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5503 <bits/libc-header-start.h> instead of including <features.h>.
5504 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5505 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5506 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5507 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5508 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5509 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5510 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5511 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5512 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5513 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5514 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5515 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5517 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5518 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5519 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5520 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5521 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5522 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5523 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5524 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5525 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5526 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5527 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5528 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5529 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5530 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5531 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5532 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5533 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5534 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5535 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5536 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5537 * manual/arith.texi (Integers): Document these macros for types
5538 specified by width properties.
5539 * manual/lang.texi (Width of Type): Document these macros for
5540 other standard typedefs.
5541 * stdlib/tst-width-stdint.c: New file.
5542 * stdlib/Makefile (tests): Add tst-width-stdint.
5543
5544 2016-09-21 Florian Weimer <fweimer@redhat.com>
5545
5546 [BZ #20016]
5547 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5548 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5549 Move ...
5550 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5551 ... here, as compatibility symbols in a new file.
5552 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5553 * resolv/res_init.c (__res_vinit): Adjust member names.
5554 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5555 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5556 (res_send_rhook): Remove.
5557 (struct __res_state): Rename qhook, rhook members.
5558
5559 2016-09-21 Florian Weimer <fweimer@redhat.com>
5560
5561 malloc: Use __libc_lock wrappers.
5562 * malloc/arena.c (list_lock, free_list_lock): Define using
5563 __libc_lock_define_initialized.
5564 (arena_lock): Adjust formatting.
5565 * malloc/malloc.c (struct malloc_state): Define mutex using
5566 __libc_lock_define.
5567 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5568 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5569 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5570 (mutex_unlock, mutex_trylock): Remove.
5571 (__pthread_initialize): Remove unused macro.
5572 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5573 (mutex_unlock, mutex_trylock): Remove.
5574
5575 2016-09-21 Florian Weimer <fweimer@redhat.com>
5576
5577 [BZ #20592]
5578 Remove RR type classification macros.
5579 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5580 (ns_t_udp_p, ns_t_xfr_p): Remove.
5581
5582 2016-09-21 Florian Weimer <fweimer@redhat.com>
5583
5584 Remove misleading version information.
5585 * resolv/arpa/nameser.h (__NAMESER): Remove.
5586 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5587
5588 2016-09-21 Florian Weimer <fweimer@redhat.com>
5589
5590 Remove the always-defined BIND_4_COMPAT macro.
5591 * resolv/arpa/nameser.h: Unconditionally include
5592 <arpa/nameser_compat.h>.
5593 (BIND_4_COMPAT): Remove.
5594 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5595
5596 2016-09-21 Florian Weimer <fweimer@redhat.com>
5597
5598 [BZ #20591]
5599 Remove obsolete DNSSEC support.
5600 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5601 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5602 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5603 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5604 (ns_cert_types): Add comment.
5605 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5606 separately.
5607 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5608 (dst_s_dns_key_id): Remove.
5609 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5610 variables.
5611
5612 2016-09-21 Florian Weimer <fweimer@redhat.com>
5613
5614 [BZ #20524]
5615 * manual/string.texi (String/Array Comparison): Clarify the
5616 strverscmp behavior.
5617
5618 2016-09-21 Florian Weimer <fweimer@redhat.com>
5619
5620 * test-skeleton.c (xasprintf): Add function.
5621 * io/tst-open-tmpfile.c: New test.
5622 * io/Makefile (tests): Add it.
5623
5624 2016-09-21 Florian Weimer <fweimer@redhat.com>
5625
5626 Avoid running $(CXX) during build to obtain header file paths.
5627 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5628 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5629 * Makerules (cstdlib, cmath): Remove variables. Use
5630 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5631 * configure: Regenerate.
5632
5633 2016-09-21 Florian Weimer <fweimer@redhat.com>
5634
5635 * Makeconfig (all-object-suffixes): Include .op only if
5636 $(build-profile).
5637
5638 2016-09-21 Florian Weimer <fweimer@redhat.com>
5639
5640 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5641 conditionals. Do not define PATH_MAX.
5642
5643 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5644
5645 * posix/Makefile (tests): Add tst-spawn3.
5646 * posix/tst-spawn3.c: New file.
5647 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5648 if it is already opened for open action.
5649
5650 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5651 all signals when executing the clone vfork child.
5652 (SIGALL_SET): Remove macro.
5653
5654 * nptl/Makefile (tests): Add tst-exec5.
5655 * nptl/tst-exec5.c: New file.
5656 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5657 asynchronous cancellation.
5658
5659 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5660
5661 * hurd/exc2signal.c: #include <hurd/signal.h>
5662 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5663 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5664 accordingly.
5665 * mach/mach_error.c (mach_error): Fix old-style function definition.
5666 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5667
5668 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5669
5670 * math/Makefile (libm-calls): Remove s_nanF.
5671 (gen-libm-calls): Add s_nanF.
5672
5673 * math/s_nan.c: Refactor into ...
5674 * math/s_nan_template.c: New file.
5675
5676 * math/s_nanf.c: Removed.
5677 * math/s_nanl.c: Removed.
5678 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5679 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5680
5681 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5682 (LDOUBLE_nanl_libm_version): New macro.
5683
5684 * sysdeps/generic/math-type-macros-double.h:
5685 (M_STRTO_NAN): New macro.
5686 * sysdeps/generic/math-type-macros-float.h: Likewise.
5687 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5688
5689 * sysdeps/generic/math-type-macros.h: Document
5690 M_STRTO_NAN.
5691
5692 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5693
5694 * math/s_nanf.c: Remove __nanf undef.
5695 * math/s_nan.c: Remove __nan undef.
5696 * math/s_nanl.c: Remove __nanl undef.
5697
5698 * sysdeps/generic/math_private.h (__nan): Remove macro
5699 override.
5700 (__nanf): Likewise.
5701 (__nanl): Likewise.
5702
5703 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5704
5705 * math/Makefile (gen-all-calls): New variable.
5706 (generated): Replace gen-libm-calls with gen-all-calls.
5707 (gen-libm-templates.stmp): Likewise. Also, ensure
5708 the output directory exists or is created and add
5709 dependency on the Makefile.
5710 (calls): Move s_ldexpF into gen-calls.
5711 (gen-calls): New variable.
5712
5713 * math/s_ldexpf.c: Removed.
5714 * math/s_ldexpl.c: Removed.
5715 * math/s_ldexp.c: Refactored into ...
5716 * math/s_ldexp_template.c: New file.
5717
5718 * sysdeps/generic/math-type-macros-double.h: Remove
5719 redundant fall-through definition of declare_mgen_alias.
5720 (declare_mgen_alias_2): New macro.
5721
5722 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5723 New macro for function aliased to two exported symbols.
5724
5725 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5726 new template file.
5727 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5728
5729 2016-09-20 Florian Weimer <fweimer@redhat.com>
5730
5731 * Makeconfig (all-object-suffixes): Remove .og.
5732 * Makerules (elide-routines.og): Remove.
5733 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5734 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5735 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5736
5737 2016-09-20 Florian Weimer <fweimer@redhat.com>
5738
5739 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5740 .os objects.
5741
5742 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5743
5744 [BZ #20615]
5745 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5746 fpu directory by non-fpu.
5747 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5748 on non-fpu directory from a fpu directory.
5749
5750 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5751
5752 * include/limits.h: Define
5753 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5754 <bits/libc-header-start.h> instead of including <features.h>.
5755 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5756 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5757 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5758 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5759 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5760 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5761 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5762 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5763 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5764 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5765 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5766 * manual/lang.texi (Width of Type): Document these macros.
5767 * stdlib/tst-width.c: New file.
5768 * stdlib/Makefile (tests): Add tst-width.
5769
5770 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5771
5772 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5773 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5774
5775 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5776
5777 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5778 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5779 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5780
5781 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5782
5783 [BZ #18243]
5784 * rt/Makefile (test): Add tst-shm-cancel.
5785 * rt/tst-shm-cancel.c: New file.
5786 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5787
5788 [BZ #18243]
5789 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5790 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5791 definition.
5792 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5793 uncontended case.
5794 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5795 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5796 (tf): Fix check for uncontended case.
5797 (do_test): Likewise.
5798 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5799 (tf): Fix check for uncontended case.
5800 (do_test): Likewise.
5801 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5802 (tf): Fix check for uncontended case.
5803 (do_test): Likewise.
5804 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5805 (tf): Fix check for uncontended case.
5806 (do_test): Likewise.
5807
5808 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5809 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5810
5811 [BZ #15765]
5812 * nptl/Makefile (tests): Add tst-sem16.
5813 * nptl/tst-sem16.c: New file.
5814 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5815
5816 * nptl/sem_open.c (sem_open): Init pad value to 0.
5817 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5818 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5819
5820 2016-09-15 Florian Weimer <fweimer@redhat.com>
5821
5822 [BZ #20611]
5823 * inet/Makefile (routines): Add inet6_scopeid_pton.
5824 (tests): Add tst-inet6_scopeid_pton.
5825 * inet/inet6_scopeid_pton.c: New file.
5826 * inet/net-internal.h: Likewise.
5827 * inet/tst-inet6_scopeid_pton.c: New test.
5828 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5829 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5830 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5831
5832 2016-09-14 Florian Weimer <fweimer@redhat.com>
5833
5834 Remove support for compiling wrappers with PTW.
5835 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5836 * nptl/Makefile (pthread-compat-wrappers): Define.
5837 (libpthread-routines): Use pthread-compat-wrappers.
5838 * sysdeps/unix/sysv/linux/alpha/Makefile
5839 (libpthread-routines, libpthread-shared-only-routines): Remove
5840 ptw- prefix.
5841 * sysdeps/s390/nptl/Makefile
5842 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5843 * sysdeps/ia64/nptl/Makefile
5844 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5845 * sysdeps/nacl/Makefile (libpthread-routines): Use
5846 pthread-compat-wrappers to filter the routines list instead of the
5847 ptw- prefix.
5848
5849 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5850
5851 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5852 with L() and remove explicit suffix, convert real literals
5853 which can be equivalentally substituted with integers, and
5854 transform -L(x) to L(-x).
5855
5856 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5857 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5858 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5860 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5861 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5862 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5863 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5864 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5865 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5867 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5868 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5869 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5871 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5872 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5873 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5874 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5875 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5876 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5877 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5878 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5879 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5880 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5886 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5887 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5890 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5891 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5892 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5893 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5898 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5899 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5900 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5901 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5902 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5903 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5904 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5905 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5906
5907 2016-09-13 Florian Weimer <fweimer@redhat.com>
5908
5909 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5910
5911 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5912
5913 * malloc/Makefile (tests): Remove individual static test names
5914 and just add all of tests-static.
5915
5916 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5917
5918 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5919
5920 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5921 file.
5922
5923 * sysdeps/sparc/fpu/fegetmode.c: New file.
5924 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5925
5926 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5927 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5928
5929 * sysdeps/s390/fpu/fegetmode.c: New file.
5930 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5931
5932 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5933 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5934 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5935 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5936 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5937 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5938
5939 * sysdeps/mips/fpu/fegetmode.c: New file.
5940 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5941
5942 * sysdeps/m68k/fpu/fegetmode.c: New file.
5943 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5944
5945 * sysdeps/ia64/fpu/fegetmode.c: New file.
5946 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5947
5948 * sysdeps/hppa/fpu/fegetmode.c: New file.
5949 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5950
5951 * sysdeps/arm/fegetmode.c: New file.
5952 * sysdeps/arm/fesetmode.c: Likewise.
5953
5954 * sysdeps/alpha/fpu/fegetmode.c: New file.
5955 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5956
5957 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5958 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5959
5960 * math/fegetmode.c: New file.
5961 * math/fesetmode.c: Likewise.
5962 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5963 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5964 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5965 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5966 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5967 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5968 declaration.
5969 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5970 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5971 typedef.
5972 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5973 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5974 (femode_t): New typedef.
5975 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5976 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5977 (femode_t): New typedef.
5978 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5979 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5980 (femode_t): New typedef.
5981 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5982 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5983 (femode_t): New typedef.
5984 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5985 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5986 (femode_t): New typedef.
5987 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5988 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5989 (femode_t): New typedef.
5990 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5991 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5992 (femode_t): New typedef.
5993 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5994 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5995 (femode_t): New typedef.
5996 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5997 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5998 (femode_t): New typedef.
5999 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6000 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6001 (femode_t): New typedef.
6002 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6003 declaration.
6004 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6005 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6006 (femode_t): New typedef.
6007 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6008 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6009 (femode_t): New typedef.
6010 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6011 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6012 (femode_t): New typedef.
6013 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6014 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6015 (femode_t): New typedef.
6016 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6017 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6018 (femode_t): New typedef.
6019 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6020 * manual/arith.texi (FE_DFL_MODE): Document macro.
6021 (fegetmode): Document function.
6022 (fesetmode): Likewise.
6023 * math/Versions (fegetmode): New libm symbol at version
6024 GLIBC_2.25.
6025 (fesetmode): Likewise.
6026 * math/Makefile (libm-support): Add fegetmode and fesetmode.
6027 (tests): Add test-femode and test-femode-traps.
6028 * math/test-femode-traps.c: New file.
6029 * math/test-femode.c: Likewise.
6030 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6031 alias for __fe_dfl_env.
6032 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6033 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6034 (__fe_dfl_mode): Likewise.
6035 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6036 version GLIBC_2.25.
6037 * sysdeps/nacl/libm.abilist: Update.
6038 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6039 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6040 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6041 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6042 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6043 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6044 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6045 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6046 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6047 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6048 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6049 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6051 Likewise.
6052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6053 Likewise.
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6055 Likewise.
6056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6057 Likewise.
6058 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6059 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6060 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6061 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6062 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6064 Likewise.
6065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6066 Likewise.
6067 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6068 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6069 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6070
6071 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
6072
6073 [BZ #20495]
6074 [BZ #20508]
6075 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6076 processors, set Use_dl_runtime_resolve_slow and set
6077 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6078 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6079 New.
6080 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6081 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6082 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6083 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6084 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6085 if Use_dl_runtime_resolve_opt is set. Use
6086 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6087 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6088 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6089 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6090 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6091 New.
6092 (_dl_runtime_resolve_opt): Likewise.
6093 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6094 defined.
6095
6096 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6097
6098 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6099 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6100
6101 2016-09-06 Florian Weimer <fweimer@redhat.com>
6102
6103 Convert malloc to __libc_lock. Automated part, using this Perl
6104 s/// command:
6105 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6106 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6107 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6108 conversion.
6109
6110 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6111
6112 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6113 (linknamespace-symlists-tests): Likewise.
6114 (linknamespace-header-tests): Likewise.
6115
6116 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6117
6118 [BZ #19810]
6119 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6120 * elf/tst-noload.c: New test case.
6121 * elf/Makefile (tests): Add tst-noload.
6122
6123 2016-09-02 Roland McGrath <roland@hack.frob.com>
6124
6125 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6126
6127 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6128 not any more.
6129
6130 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6131
6132 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6133
6134 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6135 (do_cos_slow): Likewise.
6136 (do_sin): Likewise.
6137 (do_sin_slow): Likewise.
6138 (slow): Likewise.
6139 (slow1): Likewise.
6140 (slow2): Likewise.
6141 (sloww): Likewise.
6142 (sloww1): Likewise.
6143 (sloww2): Likewise.
6144 (bsloww): Likewise.
6145 (bsloww1): Likewise.
6146 (bsloww2): Likewise.
6147 (cslow2): Likewise.
6148
6149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6150
6151 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6152 arguments. Consolidate input partitioning from callers here.
6153 (do_cos_slow): Likewise.
6154 (do_sin): Likewise.
6155 (do_sin_slow): Likewise.
6156 (do_sincos_1): Remove the no longer necessary input partitioning.
6157 (do_sincos_2): Likewise.
6158 (__sin): Likewise.
6159 (__cos): Likewise.
6160 (slow1): Likewise.
6161 (slow2): Likewise.
6162 (sloww1): Likewise.
6163 (sloww2): Likewise.
6164 (bsloww1): Likewise.
6165 (bsloww2): Likewise.
6166 (cslow2): Likewise.
6167
6168 2016-09-02 Florian Weimer <fweimer@redhat.com>
6169
6170 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6171 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6172 outside of allocated array.
6173
6174 2016-09-02 Florian Weimer <fweimer@redhat.com>
6175
6176 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6177 instead of MB_CUR_MAX to avoid variable-length array.
6178
6179 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6180
6181 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6182 (type-double-routines): Add k_rem_pio2.
6183 (type-float-routines): Add k_rem_pio2f.
6184
6185 * sysdeps/generic/math_private.h:
6186 (__kernel_rem_pio2l): Removed.
6187
6188 * math/k_rem_pio2l.c: Removed.
6189 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6190 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6191 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6192 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6193
6194 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6195
6196 * math/Makefile (gen-libm-calls): Add s_fmin
6197 (libm-calls): Remove above.
6198
6199 * math/s_fmin.c: Refactor into ...
6200 * math/s_fmin_template.c: New file.
6201
6202 * math/s_fminf.c: Removed.
6203 * math/s_fminl.c: Removed.
6204 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6205 (LDOUBLE_fmin_libm_version): New macro.
6206
6207 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6208 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6209
6210 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6211
6212 * math/Makefile: (gen-libm-calls): Add s_fmax.
6213 (libm-calls): Remove above.
6214
6215 * math/s_fmax.c: Refactor into ...
6216 * math/s_fmax_template.c: New file.
6217 * math/s_fmaxf.c: Removed.
6218 * math/s_fmaxl.c: Removed.
6219
6220 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6221 (LDOUBLE_fmaxl_libm_version): New macro.
6222
6223 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6224 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6225
6226 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6227 s_fmin.c to pick the aarch64 version of the file.
6228 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6229 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6230
6231 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6232
6233 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6234 (libm-calls): Remove above.
6235
6236 * math/s_nextdown.c: Refactor into ...
6237 * math/s_nextdown_template.c: New file.
6238 * math/s_nextdownf.c: Removed.
6239 * math/s_nextdownl.c: Removed.
6240
6241 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6242
6243 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6244
6245 * math/Makefile (gen-libm-calls): Add s_fdim.
6246 (libm-calls): Move to above.
6247
6248 * math/s_fdim.c: Renamed and refactored into to ...
6249 * math/s_fdim_template.c: New file.
6250 * math/s_fdiml.c: Removed.
6251 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6252 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6253
6254 * sysdeps/generic/math-type-macros-double.h:
6255 (declare_mgen_alias): Don't declare if already declared.
6256 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6257 Likewise.
6258
6259 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6260 (declare_mgen_alias): Don't declare if already declared.
6261 (M_LIBM_NEED_COMPAT): Likewise.
6262 (declare_mgen_libm_compat): Likewise.
6263 (LDOUBLE_fdiml_libm_version): New macro.
6264
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6266 Include math/s_fdim.c now that ldbl-opt version is not needed.
6267 (declare_mgen_alias): New macro to disable aliasing.
6268
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6270 (declare_mgen_alias): Likewise.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6272 (declare_mgen_alias): Likewise.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6274 (declare_mgen_alias): Likewise.
6275 (M_LIBM_NEED_COMPAT): Likewise.
6276
6277 2016-09-01 Florian Weimer <fweimer@redhat.com>
6278
6279 [BZ #20525]
6280 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6281 Include <linux/quota.h>.
6282 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6283 and btodb.
6284 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6285 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6286 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6287 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6288 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6289 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6290 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6291 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6292 types.
6293 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6294 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6295
6296 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6297
6298 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6299 (gammal_positive): Fix spacing.
6300 (__ieee754_gammal_r): Likewise.
6301
6302 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6303
6304 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6305 (_Float128): Define as long double, always.
6306 (L): Apply long double type suffix, always.
6307
6308 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6309 _Float128, excepting comments.
6310
6311 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6377 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6379
6380 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6381 _Float128, and include math_private.h.
6382 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6383
6384 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6385 long double semantics.
6386 (_Float128): Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6391
6392 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6393
6394 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6395 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6396 * sysdeps/s390/configure: Regenerated.
6397 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6398 instruction for raising over-/underflow if z196 zarch is supported
6399 by default.
6400 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6401
6402 2016-08-30 Svante Signell <svante.signell@gmail.com>
6403
6404 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6405 it point to a dumb buffer for RPC to fill it.
6406
6407 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6408
6409 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6410 instead of if/else.
6411 (do_sin_slow): Likewise.
6412 (do_sincos_1): Use fabs instead of if/else.
6413 (do_sincos_2): Likewise.
6414 (__sin): Likewise.
6415 (__cos): Likewise.
6416 (slow2): Likewise.
6417 (sloww): Likewise.
6418 (sloww1): Likewise. Drop argument M.
6419 (sloww2): Use fabs instead of if/else.
6420 (bsloww): Likewise.
6421 (bsloww1): Likewise.
6422 (bsloww2): Likewise.
6423
6424 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6425 fall through comment.
6426 (do_sincos_1): Likewise.
6427
6428 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6429 Consolidate switch cases 0 and 2.
6430
6431 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6432
6433 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6434 (libm-calls): Remove the above.
6435
6436 * math/s_cexp_template.c: Update using type-generic macros.
6437 * math/s_clog10_template.c: Likewise.
6438 * math/s_cpow_template.c: Likewise.
6439 * math/s_clog_template.c: Likewise.
6440 * math/s_cproj_template.c: Likewise.
6441 * math/s_csqrt_template.c: Likewise.
6442
6443 * math/s_cexp.c: Removed.
6444 * math/s_cexpf.c: Removed.
6445 * math/s_cexpl.c: Removed.
6446 * math/s_clog10.c: Removed.
6447 * math/s_clog10f.c: Removed.
6448 * math/s_clog10l.c: Removed.
6449 * math/s_cpow.c: Removed.
6450 * math/s_cpowf.c: Removed.
6451 * math/s_cpowl.c: Removed.
6452 * math/s_clog.c: Removed.
6453 * math/s_clogf.c: Removed.
6454 * math/s_clogl.c: Removed.
6455 * math/s_cproj.c: Removed.
6456 * math/s_cprojf.c: Removed.
6457 * math/s_cprojl.c: Removed.
6458 * math/s_csqrt.c: Removed.
6459 * math/s_csqrtf.c: Removed.
6460 * math/s_csqrtl.c: Removed.
6461
6462 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6463 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6464 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6465 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6466 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6467 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6468
6469 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6470 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6471 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6472 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6473 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6474 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6475 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6476 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6477 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6478 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6479 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6480
6481 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6482 version.
6483
6484 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6485 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6486 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6487 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6488
6489 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6490
6491 * s_cexp_template.c: Copy of s_cexp.c.
6492 * s_clog_template.c: Copy of s_clog.c.
6493 * s_clog10_template.c: Copy of s_clog10.c.
6494 * s_cpow_template.c: Copy of s_cpow.c.
6495 * s_cproj_template.c: Copy of s_cproj.c.
6496 * s_csqrt_template.c: Copy of s_csqrt.c.
6497
6498 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6499
6500 [BZ #20517]
6501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6502 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6503 exported.
6504
6505 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6506
6507 * math/fetestexceptflag.c: New file.
6508 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6509 Stefan Liebler.
6510 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6511 (fetestexceptflag): New function declaration.
6512 * manual/arith.texi (fetestexceptflag): Document function.
6513 * math/Versions (fetestexceptflag): New libm symbol at version
6514 GLIBC_2.25.
6515 * math/Makefile (libm-support): Add fetestexceptflag.
6516 (tests): Add test-fetestexceptflag.
6517 * math/test-fetestexceptflag.c: New file.
6518 * sysdeps/nacl/libm.abilist: Update.
6519 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6520 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6521 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6522 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6523 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6524 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6525 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6526 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6527 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6528 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6529 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6530 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6532 Likewise.
6533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6534 Likewise.
6535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6536 Likewise.
6537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6538 Likewise.
6539 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6540 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6541 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6542 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6543 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6545 Likewise.
6546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6547 Likewise.
6548 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6549 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6550 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6551
6552 2016-08-26 Florian Weimer <fweimer@redhat.com>
6553
6554 [BZ #20432]
6555 Avoid strong references to malloc-internal symbols when linking
6556 statically, to support statically interposed mallocs.
6557 * include/libc-symbols.h (call_function_static_weak): New macro.
6558 * malloc/Makefile (tests): Add tst-interpose-nothread,
6559 tst-interpose-thread, tst-interpose-static-nothread,
6560 tst-interpose-static-thread.
6561 (tests-static): Add tst-interpose-static-nothread,
6562 tst-interpose-static-thread.
6563 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6564 tst-interpose-aux-thread.o.
6565 (test-extras): Add tst-interpose-aux-nothread,
6566 tst-interpose-aux-thread.
6567 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6568 tst-interpose-aux-nothread.o.
6569 (tst-interpose-thread, tst-interpose-static-thread): Link with
6570 tst-interpose-aux-thread.o and libthread.
6571 * malloc/tst-interpose-aux-nothread.c: New file.
6572 * malloc/tst-interpose-aux-thread.c: Likewise.
6573 * malloc/tst-interpose-aux.c: Likewise.
6574 * malloc/tst-interpose-aux.h: Likewise.
6575 * malloc/tst-interpose-nothread.c: Likewise.
6576 * malloc/tst-interpose-skeleton.c: Likewise.
6577 * malloc/tst-interpose-static-nothread.c: Likewise.
6578 * malloc/tst-interpose-static-thread.c: Likewise.
6579 * malloc/tst-interpose-thread.c: Likewise.
6580 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6581 * sysdeps/mach/hurd/fork.c (__fork): Only call
6582 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6583 __malloc_fork_unlock_child if defined.
6584 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6585
6586 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6587
6588 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6589 timespec C99 designated initialization.
6590
6591 2016-08-26 Florian Weimer <fweimer@redhat.com>
6592
6593 [BZ #19946]
6594 Avoid expected SIGALRM signals.
6595 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6596 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6597 (xpthread_create, xpthread_detach, xpthread_join)
6598 (delayed_exit_thread, delayed_exit): New functions.
6599 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6600 (tf): Use xpthread_cond_wait.
6601 (do_test): Likewise. Replace alarm with delayed_exit.
6602 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6603 (do_test): Call delayed_exit. Report failure.
6604 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6605 (do_test): Call delayed_exit.
6606 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6607 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6608 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6609 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6610 error.
6611 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6612 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6613 error.
6614 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6615 (do_test): Call delayed_exit.
6616 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6617 (do_test): Call delayed_exit.
6618 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6619 (do_test): Call delayed_exit instead of alarm. Use
6620 xpthread_mutex_lock.
6621 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6622 (do_test): Call delayed_exit instead of alarm. Use
6623 xpthread_mutex_lock.
6624 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6625 (do_test): Call delayed_exit instead of alarm.
6626 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6627 (do_test): Call delayed_exit instead of alarm. Use
6628 xpthread_spin_lock.
6629 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6630 (do_test): Call delayed_exit instead of alarm. Use
6631 xpthread_join.
6632
6633 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6634
6635 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6636 adjust CFA when allocating register save area on re-aligned
6637 stack.
6638
6639 2016-08-26 Florian Weimer <fweimer@redhat.com>
6640
6641 * string/tst-cmp.c: New test.
6642 * string/Makefile (tests): Add it.
6643
6644 2016-08-25 Mark Wielaard <mark@klomp.org>
6645
6646 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6647 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6648 (check_tree_recurse): Use newly defined accessors.
6649 (check_tree): Likewise.
6650 (maybe_split_for_insert): Likewise.
6651 (__tfind): Likewise.
6652 (__tdelete): Likewise.
6653 (trecurse): Likewise.
6654 (tdestroy_recurse): Likewise.
6655 (__tsearch): Likewise. And add asserts for malloc alignment.
6656 (__twalk): Cast root to node in case CHECK_TREE is defined.
6657
6658 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6659
6660 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6661
6662 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6663
6664 * math/Makefile (libm-gen-calls): Add
6665 catan, catanh, ctan, ctanh.
6666 (libm-calls): Remove the above.
6667
6668 * math/s_catan_template.c: Update using type-generic macros.
6669 * math/s_catanh_template.c: Likewise.
6670 * math/s_ctan_template.c: Likewise.
6671 * math/s_ctanh_template.c: Likewise.
6672
6673 * math/s_catanf.c: Removed.
6674 * math/s_catan.c: Removed.
6675 * math/s_catanl.c: Removed.
6676 * math/s_catanhf.c: Removed.
6677 * math/s_catanh.c: Removed.
6678 * math/s_catanhl.c: Removed.
6679 * math/s_ctanf.c: Removed.
6680 * math/s_ctan.c: Removed.
6681 * math/s_ctanl.c: Removed.
6682 * math/s_ctanhf.c: Removed.
6683 * math/s_ctanh.c: Removed.
6684 * math/s_ctanhl.c: Removed.
6685
6686 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6687 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6688 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6689 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6690 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6691 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6692
6693 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6694 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6695 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6696 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6697
6698 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6699
6700 * s_catan_template.c: Copy of s_catan.c.
6701 * s_catanh_template.c: Copy of s_catanh.c.
6702 * s_ctan_template.c: Copy of s_ctan.c.
6703 * s_ctanh_template.c: Copy of s_ctanh.c.
6704
6705 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6706
6707 * math/Makefile (gen-libm-calls): Move
6708 casin, casinh, csin, csinh here.
6709 (libm-calls): Remove the above.
6710
6711 * math/s_casin_template.c: Update using type-generic macros.
6712 * math/s_casinh_template.c: Likewise.
6713 * math/s_csin_template.c: Likewise.
6714 * math/s_csinh_template.c: Likewise.
6715 * math/k_casinh_template.c: Likewise.
6716
6717 * math/s_casinf.c: Removed.
6718 * math/s_casin.c: Removed.
6719 * math/s_casinl.c: Removed.
6720 * math/s_casinh.c: Removed.
6721 * math/s_casinhf.c: Removed.
6722 * math/s_casinhl.c: Removed.
6723 * math/s_csin.c: Removed.
6724 * math/s_csinf.c: Removed.
6725 * math/s_csinl.c: Removed.
6726 * math/s_csinh.c: Removed.
6727 * math/s_csinhf.c: Removed.
6728 * math/s_csinhl.c: Removed.
6729 * math/k_casinh.c: Removed.
6730 * math/k_casinhf.c: Removed.
6731 * math/k_casinhl.c: Removed.
6732
6733 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6734 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6735 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6736 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6737
6738 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6739 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6740 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6741 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6742 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6743 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6744 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6745 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6746
6747 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6748 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6749 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6750 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6751
6752 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6753 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6754 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6755 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6756
6757 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6758
6759 * s_casin_template.c: Copy of s_casin.c.
6760 * s_casinh_template.c: Copy of s_casinh.c.
6761 * s_csin_template.c: Copy of s_csin.c.
6762 * s_csinh_template.c: Copy of s_csinh.c.
6763 * k_casinh_template.c: Copy of k_casinh.c.
6764
6765 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6766
6767 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6768
6769 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6770
6771 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6772 (mul_split) Remove, rename as mul_splitl, remove
6773 redundant float.h include, and include via mul_splitl.h
6774
6775 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6780
6781 * math/mul_splitl.h: New file.
6782
6783 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6784 Move into mul_split.h, and remove redundant float.h include.
6785
6786 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6790
6791 * math/mul_split.h: New file.
6792
6793 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6794
6795 * math/Makefile (libm-gen-calls): Move
6796 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6797 (libm-calls): Remove above.
6798
6799 * math/s_cacos_template.c: Update using type-generic macros.
6800 * math/s_cacosh_template.c: Likewise.
6801 * math/s_ccos_template.c: Likewise.
6802 * math/s_ccosh_template.c: Likewise.
6803
6804 * math/s_cacosf.c: Removed.
6805 * math/s_cacos.c: Removed.
6806 * math/s_cacosl.c: Removed.
6807 * math/s_cacoshf.c: Removed.
6808 * math/s_cacosh.c: Removed.
6809 * math/s_cacoshl.c: Removed.
6810 * math/s_ccosf.c: Removed.
6811 * math/s_ccos.c: Removed.
6812 * math/s_ccosl.c: Removed.
6813 * math/s_ccoshf.c: Removed.
6814 * math/s_ccosh.c: Removed.
6815 * math/s_ccoshl.c: Removed.
6816
6817 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6818 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6819 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6820 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6821 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6822 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6823
6824 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6825 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6826 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6827 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6828
6829 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6830 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6831 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6832 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6833
6834 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6835
6836 * s_cacos_template.c: Copy of s_cacos.c.
6837 * s_cacosh_template.c: Copy of s_cacosh.c.
6838 * s_ccos_template.c: Copy of s_ccos.c.
6839 * s_ccosh_template.c: Copy of s_ccosh.c.
6840
6841 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6842
6843 * stdlib/tst-strtod-round-skeleton.c:
6844 Refactored from tst-strtod-round.c.
6845
6846 (L_): New macro to apply literal modifier.
6847 (FNPFX): New macro to select str or wcs prefix.
6848 (CHAR): New macro to choose wchar_t or char.
6849 (STRM): New macro to choose printf for tested character type.
6850
6851 (STRTO): New macro to choose appropriate string -> real function.
6852 (FNPFXS): Stringitized version of FNPFX.
6853 (STR): Support for above macro.
6854 (STRX): Likewise.
6855
6856 (TEST): Update with above macros.
6857 (test): Likewise.
6858 (GEN_ONE_TEST): Likewise.
6859 (test_in_one_mode): Likewise.
6860
6861 * stdlib/tst-strtod-round.c: New file.
6862 * wcsmbs/tst-wcstod-round.c: New file.
6863
6864 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6865 (tst-wcstod-round): Add libm depencency for fesetround.
6866
6867 2016-08-19 Zack Weinberg <zackw@panix.com>
6868
6869 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6870
6871 2016-08-18 Torvald Riegel <triegel@redhat.com>
6872
6873 [BZ #20477]
6874 * resolv/res_hconf.c (do_init): Use atomic access.
6875 * resolv/res_hconf.h: Add comments.
6876 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6877 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6879
6880 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6881
6882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6883 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6884 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6885 Likewise.
6886
6887 2016-08-18 Florian Weimer <fweimer@redhat.com>
6888
6889 [BZ #16907]
6890 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6891 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6892 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6893 (__attribute__): Remove definition.
6894
6895 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6896
6897 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6898 Remove unused sqrtl declaration.
6899
6900 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6901
6902 * math/Makefile: (gen-libm-templates.stmp): New rule.
6903 (libm-calls): Move carg conj cimag and cabs into ...
6904 (gen-libm-calls): New variable.
6905 (generated): Inform Make objects from gen-libm-calls
6906 may be generated.
6907
6908 * sysdeps/generic/math-type-macros.h: New file.
6909 * sysdeps/generic/math-type-macros-float.h: Likewise.
6910 * sysdeps/generic/math-type-macros-double.h: Likewise.
6911 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6912 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6913 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6914
6915 * math/cabs.c: Refactor into
6916 * math/cabs_template.c: new file.
6917 * math/cabsf.c: Removed.
6918 * math/cabsl.c: Removed.
6919 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6920 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6921
6922 * math/carg.c: Refactor into
6923 * math/carg_template.c: new file.
6924 * math/cargf.c: Removed.
6925 * math/cargl.c: Removed.
6926 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6927 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6928
6929 * math/conj.c: Refactor into
6930 * math/conj_template.c: new file.
6931 * math/conjf.c: Removed.
6932 * math/conjl.c: Removed.
6933 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6934 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6935
6936 * math/cimag.c: Refactor into
6937 * math/cimag_template.c: new file.
6938 * math/cimagf.c: Removed.
6939 * math/cimagl.c: Removed.
6940 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6941 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6942
6943 * math/cimag.c: Refactor into
6944 * math/cimag_template.c: new file.
6945 * math/cimagf.c: Removed.
6946 * math/cimagl.c: Removed.
6947 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6948 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6949
6950 2016-08-17 Florian Weimer <fweimer@redhat.com>
6951
6952 Reduce time to expected nptl/tst-once5 failure.
6953 * nptl/tst-once5.cc (TIMEOUT): Define.
6954
6955 2016-08-17 Florian Weimer <fweimer@redhat.com>
6956
6957 [BZ #20452]
6958 Avoid additional copies of objects in libc.a in static libraries.
6959 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6960 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6961 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6962 rt-sysdep.
6963 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6964 Add nptl-sysdep.
6965 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6966 Add ptw-sysdep.
6967 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6968 rt-sysdep.
6969 * sysdeps/unix/sysv/linux/alpha/Makefile
6970 (libpthread-shared-only-routines): Add ptw-sysdep,
6971 ptw-sigprocmask, ptw-rt_sigaction.
6972 * sysdeps/unix/sysv/linux/ia64/Makefile
6973 (librt-shared-only-routines): Add rt-sysdep.
6974 * sysdeps/unix/sysv/linux/i386/Makefile
6975 (libpthread-shared-only-routines): Add libc-do-syscall.
6976 * sysdeps/unix/sysv/linux/microblaze/Makefile
6977 (libpthread-shared-only-routines): Add sysdep.
6978 * sysdeps/unix/sysv/linux/powerpc/Makefile
6979 (librt-shared-only-routines): Add rt-sysdep.
6980 (libpthread-shared-only-routines): Add sysdep.
6981 * sysdeps/unix/sysv/linux/s390/Makefile
6982 (librt-shared-only-routines): Add rt-sysdep.
6983 * sysdeps/unix/sysv/linux/sparc/Makefile
6984 (librt-shared-only-routines): Add rt-sysdep.
6985 (libpthread-shared-only-routines): Add sysdep.
6986 * sysdeps/unix/sysv/linux/tile/Makefile
6987 (libpthread-shared-only-routines): Likewise.
6988
6989 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6990
6991 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6992 Mask implicit bit out of unpacked value.
6993 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6994 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6995 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6996
6997 * sysdeps/sparc/fpu/fesetexcept.c: New file.
6998
6999 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7000
7001 * sysdeps/s390/fpu/fesetexcept.c: New file.
7002
7003 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7004 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7005 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7006
7007 * sysdeps/mips/fpu/fesetexcept.c: New file.
7008
7009 * sysdeps/m68k/fpu/fesetexcept.c: New file.
7010
7011 * sysdeps/ia64/fpu/fesetexcept.c: New file.
7012
7013 * sysdeps/hppa/fpu/fesetexcept.c: New file.
7014
7015 * sysdeps/arm/fesetexcept.c: New file.
7016
7017 * sysdeps/alpha/fpu/fesetexcept.c: New file.
7018
7019 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7020
7021 * math/fesetexcept.c: New file.
7022 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7023 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7024 * math/fenv.h: Define
7025 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7026 <bits/libc-header-start.h> instead of including <features.h>.
7027 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7028 declaration.
7029 * manual/arith.texi (fesetexcept): Document function.
7030 * math/Versions (fesetexcept): New libm symbol at version
7031 GLIBC_2.25.
7032 * math/Makefile (libm-support): Add fesetexcept.
7033 (tests): Add test-fesetexcept and test-fesetexcept-traps.
7034 * math/test-fesetexcept.c: New file.
7035 * math/test-fesetexcept-traps.c: Likewise.
7036 * sysdeps/nacl/libm.abilist: Update.
7037 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7038 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7039 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7040 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7041 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7042 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7043 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7044 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7045 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7046 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7047 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7048 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7050 Likewise.
7051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7052 Likewise.
7053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7054 Likewise.
7055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7056 Likewise.
7057 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7058 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7059 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7060 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7061 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7063 Likewise.
7064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7065 Likewise.
7066 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7068 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7069
7070 2016-08-16 Florian Weimer <fweimer@redhat.com>
7071
7072 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7073 New.
7074 (do_test): Apply default_stack_size_in_mb if not set.
7075 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7076
7077 2016-08-15 Andreas Schwab <schwab@suse.de>
7078
7079 [BZ #20435]
7080 CVE-2016-6323
7081 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7082 as .cantunwind.
7083
7084 2016-08-12 Joseph Myers <joseph@codesourcery.com>
7085
7086 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7087 comment from fraiseexcpt.c.
7088
7089 * math/test-fexcept.c (feraiseexcept_exact): New function.
7090 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7091 (test_except): Likewise.
7092
7093 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7094
7095 [BZ #20455]
7096 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7097 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7098 to be restored.
7099
7100 * math/test-fexcept-traps.c: New file.
7101 * math/test-fexcept.c: Likewise.
7102 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7103 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7104 macro.
7105 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7106 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7107
7108 2016-08-09 Torvald Riegel <triegel@redhat.com>
7109
7110 * include/atomic.h (atomic_fetch_and_relaxed,
7111 atomic_fetch_and_release, atomic_fetch_or_release,
7112 atomic_fetch_xor_release): New.
7113
7114 2016-08-06 Christian Seiler <christian@iwakd.de>
7115
7116 [BZ #20444]
7117 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7118 MACH_PORT_NULL.
7119
7120 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7121
7122 * math/s_fdim.c: Avoid alias renamed.
7123 * math/s_fdimf.c: Likewise.
7124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7125 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7126 Add s_fdimf-vis3, s_fdim-vis3.
7127 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7128 (CFLAGS-s_fdim-vis3.c): Likewise.
7129 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7130 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7131
7132 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7133
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7135 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7136 Remove s_fdimf-vis3, s_fdim-vis3.
7137 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7138 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7145 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7146 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7147
7148 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7149
7150 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7151 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7152 -Wa,-Av9a -mvis.
7153
7154 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7155
7156 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7157 LIT() to individual constants in simple expressions
7158 after splitting on spaces.
7159 (_apply_lit): Rename replaced version, and use it to
7160 apply to what appears to be a token.
7161
7162 * math/libm-test.inc: Fix many, many issues with
7163 spacing.
7164
7165 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7166
7167 * math/math.h: Move comment about <bits/mathdef.h> definitions
7168 above inclusion of <bits/mathdef.h>. Do not mention
7169 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7170
7171 2016-08-05 Torvald Riegel <triegel@redhat.com>
7172
7173 * include/atomic.h (atomic_exchange_relaxed): New.
7174
7175 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7176
7177 * math/e_scalb.c: Do not include <fenv.h>.
7178 (invalid_fn): Do calculation resulting in NaN instead of raising
7179 FE_INVALID and returning a NaN explicitly.
7180 * math/e_scalbf.c: Do not include <fenv.h>.
7181 (invalid_fn): Do calculation resulting in NaN instead of raising
7182 FE_INVALID and returning a NaN explicitly.
7183 * math/e_scalbl.c: Do not include <fenv.h>.
7184 (invalid_fn): Do calculation resulting in NaN instead of raising
7185 FE_INVALID and returning a NaN explicitly.
7186
7187 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7188
7189 * po/de.po: Updated from Translation Project.
7190 * po/fi.po: Likewise.
7191 * po/sv.po: Likewise.
7192
7193 2016-08-04 Florian Weimer <fweimer@redhat.com>
7194
7195 [BZ #20452]
7196 Use sysdep.o from libc.a in static libraries.
7197 * sysdeps/unix/sysv/linux/i386/Makefile
7198 (libpthread-shared-only-routines): Add sysdep.
7199 (librt-shared-only-routines): Likewise.
7200
7201 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7202
7203 * math/tgmath.h (nextdown): Define if
7204 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7205 (nextup): Likewise.
7206
7207 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7208 macro.
7209 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7210 Document.
7211 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7212 Document macro.
7213 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7214 (exp10f): Likewise.
7215 (exp10l): Likewise.
7216 * math/bits/mathcalls.h (exp10): Declare if
7217 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7218
7219 * manual/arith.texi (nextup): Fix typo in last change.
7220
7221 2016-08-03 Zack Weinberg <zackw@panix.com>
7222
7223 [BZ #19239]
7224 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7225 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7226 define major, minor, and makedev to issue deprecation warnings on use.
7227 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7228 previously-activated deprecation warnings for these macros and prevent
7229 subsequent inclusions of this header from having any effect.
7230 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7231 including <sys/sysmacros.h>, and undefine it again afterward.
7232
7233 2016-08-03 Zack Weinberg <zackw@panix.com>
7234
7235 * sysdeps/generic/sys/sysmacros.h: Delete file.
7236 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7237 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7238 * bits/sysmacros.h: ... here; this encoding is now the generic
7239 encoding. Now defines only the following macros:
7240 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7241 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7242 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7243
7244 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7245 bits/sysmacros.h and the above new macros to generate the
7246 public implementations of major, minor, and makedev.
7247 * misc/tst-makedev.c: New test.
7248 * include/sys/sysmacros.h: New wrapper.
7249
7250 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7251 (routines): Add makedev.
7252 (tests): Add tst-makedev.
7253 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7254 gnu_dev_makedev.
7255 * posix/Makefile (headers): Remove sys/sysmacros.h.
7256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7257
7258 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7259 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7260 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7261 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7262 * sysdeps/unix/sysv/linux/arm/libc.abilist
7263 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7264 * sysdeps/unix/sysv/linux/i386/libc.abilist
7265 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7266 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7267 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7268 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7269 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7270 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7271 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7272 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7273 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7278 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7280 * sysdeps/unix/sysv/linux/sh/libc.abilist
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7282 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7285 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7286 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7287 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7288 Add GLIBC_2.25.
7289
7290 * include/features.h (__glibc_clang_prereq): New macro.
7291 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7292 (__attribute_deprecated_msg__): New macros.
7293
7294 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7295
7296 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7297 macro.
7298 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7299 * manual/arith.texi (issignaling): Document as ISO from TS
7300 18661-1:2014.
7301 (nextup): Likewise.
7302 (nextupf): Likewise.
7303 (nextupl): Likewise.
7304 (nextdown): Likewise.
7305 (nextdownf): Likewise.
7306 (nextdownl): Likewise.
7307 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7308 macro.
7309 * math/math.h: Define
7310 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7311 <bits/libc-header-start.h> instead of including <features.h>.
7312 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7313 [__USE_GNU].
7314 * math/bits/mathcalls.h (nextdown): Declare if
7315 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7316 (nextup): Likewise.
7317 (__issignaling): Likewise.
7318
7319 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7320
7321 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7322 check, and remove __glibc_likely hint
7323 from FP_INFINITE check.
7324 * s_csinhf.c (__csinhf): Likewise.
7325
7326 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7327 hint from FP_INFINITE check.
7328 * s_csinhl.c (__csinhl): Likewise.
7329
7330 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7331
7332 * math/Makefile (libm-calls): Insert F placeholder into
7333 object names. Move w_lgamma_compat* routines into
7334 (libm-compat-calls): New variable.
7335 (libm-compat-calls-ldouble-yes): New variable.
7336 (calls): Insert F placeholder.
7337 (generated): Redefine using new type-foreach macro call.
7338 (routines): Likewise.
7339
7340 (types): New variable to hold a list of symbolic names
7341 for each type supported by the target machine.
7342 (libm-routines): Redefine using new types variable.
7343 (type-foreach): macro to replace fooF with the
7344 appropriately suffixed foo for each types.
7345
7346 (type-ldouble-suffix): New variable.
7347 (type-ldouble-routines): Likewise.
7348 (type-ldouble-yes): Likewise.
7349 (type-double-suffix): Likewise.
7350 (type-double-routines): Likewise.
7351 (type-float-suffix): Likewise.
7352 (type-float-routines): Likewise.
7353
7354 (dbl-only-routines): Remove.
7355 (long-c-yes): Likewise.
7356 (long-m-routines): Likewise.
7357 (long-m-support): Likewise.
7358 (long-m-yes): Likewise.
7359 (test-longdouble-yes): Likewise.
7360
7361 (test-float.o): Simplify by increasing the scope of the
7362 recipe which adds libm-test.stmp to the vector types.
7363 (test-ifloat.o): Likewise.
7364 (test-float-finite.o): Likewise.
7365 (test-double.o): Likewise
7366 (test-idouble.o): Likewise.
7367 (test-double-finite.o): Likewise.
7368 (test-ldouble.o): Likewise
7369 (test-ildoubl.o): Likewise.
7370 (test-ldouble-finite.o): Likewise.
7371
7372 (libm-tests): Redefine type tests using foreach and the
7373 list of types in types.
7374
7375 (CPPFLAGS-test-ildoubl.c): Rename to
7376 (CPPFLAGS-test-ildouble.c): New variable
7377
7378 * math/test-ildoubl.c: Rename to
7379 * math/test-ildouble.c: New file.
7380
7381 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7382
7383 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7384 Use fabsl instead of fabs.
7385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7386 Likewise.
7387 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7388 Add long double suffix to constant to ensure proper
7389 promotion to long double.
7390
7391 2016-08-03 Tom Tromey <tom@tromey.com>
7392
7393 [BZ #20311]
7394 * nptl_db/Makefile (headers): Add proc_service.h.
7395 * nptl_db/proc_service.h: Add include guard. Use
7396 __BEGIN/__END_DECLS.
7397 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7398 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7399 arguments.
7400
7401
7402 2016-08-03 Florian Weimer <fweimer@redhat.com>
7403
7404 [BZ #17730]
7405 Avoid using memalign for TCB allocations.
7406 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7407 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7408 Avoid alignment gap in the TLS_DTV_AT_TP case.
7409 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7410 determine the pointer to free.
7411 * nptl/tst-tls3-malloc.c: New test.
7412 * nptl/Makefile (tests): Add it.
7413 (tst-tls3-malloc): Link with libdl, libpthread.
7414 (LDFLAGS-tst-tls3-malloc): Set.
7415 (tst-tls3-malloc.out): Depend on DSO used in test.
7416
7417 2016-08-03 Florian Weimer <fweimer@redhat.com>
7418
7419 [BZ #17730]
7420 Avoid using memalign for TLS allocations.
7421 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7422 is_static member with to_free member.
7423 (union dtv): Use struct dtv_pointer.
7424 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7425 dtv_pointer instead of is_static.
7426 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7427 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7428 instead of val.
7429 (allocate_dtv_entry): New function.
7430 (allocate_and_init): Return struct dtv_pointer. Call
7431 allocate_dtv_entry instead of __libc_memalign.
7432 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7433 instead of val.
7434 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7435 instead of is_static. Adjust call to allocate_and_init.
7436 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7437 struct dtv_pointer instead of val.
7438
7439 2016-08-03 Florian Weimer <fweimer@redhat.com>
7440
7441 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7442 (MALLOC_ALIGN_MASK): Move ...
7443 * malloc/malloc-internal.h: ... to here.
7444 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7445
7446 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7447
7448 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7449 (UDP_ENCAP_GTP1U): Likewise.
7450
7451 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7452 (PF_MAX): Update value.
7453 (AF_QIPCRTR): New macro.
7454
7455 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7456
7457 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7458 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7459 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7460 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7461 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7462 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7463 s_truncf-vis3, s_trunc-vis3.
7464 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7465 (CFLAGS-s_ceil-vis3.c): Likewise.
7466 (CFLAGS-s_floorf-vis3.c): Likewise.
7467 (CFLAGS-s_floor-vis3.c): Likewise.
7468 (CFLAGS-s_truncf-vis3.c): Likewise.
7469 (CFLAGS-s_trunc-vis3.c): Likewise.
7470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7480 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7481 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7482
7483 2016-08-02 David S. Miller <davem@davemloft.net>
7484
7485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7486 (__nearbyint_vis3): Don't check for sNaN before float register is
7487 loaded with the incoming argument.
7488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7489 (__nearbyintf_vis3): Likewise.
7490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7491 Likewise.
7492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7493 Likewise.
7494
7495 * string/test-strncmp.c (do_test_limit): Make sure the test data
7496 stream is aligned as required for the type "CHAR".
7497 (do_test): Likewise.
7498
7499 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7500
7501 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7502 by beq instructions jumping to the end of the function.
7503 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7504 clobber list. Use "i" constraint instead of "X".
7505 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7506 of "X".
7507
7508 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7509
7510 * bits/libc-header-start.h: New file.
7511 * Makefile (headers): Add bits/libc-header-start.h.
7512 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7513 (__GLIBC_USE): New macro.
7514 * libio/stdio.h: Define
7515 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7516 <bits/libc-header-start.h> instead of including <features.h>.
7517 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7518 (open_memstream): Likewise.
7519 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7520 (__asprintf): Likewise.
7521 (asprintf): Likewise.
7522 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7523 (getdelim): Likewise.
7524 (getline): Likewise.
7525 * string/string.h: Define
7526 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7527 <bits/libc-header-start.h> instead of including <features.h>.
7528 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7529 (strndup): Likewise.
7530 * wcsmbs/wchar.h: Define
7531 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7532 <bits/libc-header-start.h> instead of including <features.h>.
7533 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7534 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7535
7536 2016-08-02 Florian Weimer <fweimer@redhat.com>
7537
7538 Support linking against compatibility symbols, for use in tests.
7539 * include/libc-symbols.h (symbol_version_reference): New macro.
7540 (symbol_version): Use it.
7541 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7542 (compat_symbol): Use compat_symbol_reference.
7543 (compat_symbol_1, compat_symbol_2): Remove.
7544 (compat_symbol_reference, compat_symbol_reference_1)
7545 (compat_symbol_reference_2): New macro. Use
7546 symbol_version_reference.
7547
7548 2016-08-02 Florian Weimer <fweimer@redhat.com>
7549
7550 [BZ #19469]
7551 * malloc/Makefile (CPPFLAGS): Compile tests with
7552 -DTEST_NO_MALLOPT.
7553 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7554
7555 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7556
7557 [BZ #20033]
7558 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7559 finite version.
7560 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7561 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7562 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7563 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7566 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7567 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7570 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7571 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7572 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7573 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7574 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7575 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7576 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7577 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7578 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7579 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7580 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7581 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7582 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7583 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7584 in zero power.
7585
7586 2016-08-02 Florian Weimer <fweimer@redhat.com>
7587
7588 [BZ #20370]
7589 * malloc/arena.c (get_free_list): Update comment. Assert that
7590 arenas on the free list have no attached threads.
7591 (remove_from_free_list): New function.
7592 (reused_arena): Call it.
7593
7594 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7595
7596 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7597 when it is a NaN.
7598 [_IEEE_FP_INEXACT] Remove.
7599 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7600 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7601 when it is a NaN.
7602 [_IEEE_FP_INEXACT] Remove.
7603 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7604 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7605 when it is a NaN.
7606 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7607 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7608 when its absolute value is greater than 0x1.0p52.
7609 [_IEEE_FP_INEXACT] Remove.
7610 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7611 when its absolute value is greater than 0x1.0p23.
7612 [_IEEE_FP_INEXACT] Remove.
7613
7614 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7615
7616 * version.h (RELEASE): Set to "development"
7617 (VERSION): Set to 2.24.90.
7618 * NEWS: Add 2.25 section.
7619
7620 * version.h (RELEASE): Set to "stable"
7621 (VERSION): Set to 2.24.
7622 * include/features.h (__GLIBC_MINOR__): Set to 24.
7623
7624 * NEWS: Add 2.24 fixed bugs.
7625 * po/libc.pot: Regenerate.
7626
7627 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7628
7629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7630 [$(subdir) = math] (libm-sysdep_routines): Remove.
7631 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7632 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7633 s_truncf-vis3, s_trunc-vis3.
7634 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7636 file.
7637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7671 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7672 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7673 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7674 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7675 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7676 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7677 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7678 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7679 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7680
7681 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7682
7683 [BZ #20384]
7684 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7685 test-double-libmvec-sincos-avx-main.o,
7686 test-double-libmvec-sincos-avx2-main.o,
7687 test-double-libmvec-sincos-main.o,
7688 test-float-libmvec-sincosf-avx-main.o,
7689 test-float-libmvec-sincosf-avx2-main.o and
7690 test-float-libmvec-sincosf-main.o.
7691 test-float-libmvec-sincosf-avx512-main.o.
7692 ($(objpfx)test-double-libmvec-sincos): Also link with
7693 $(objpfx)test-double-libmvec-sincos-main.o.
7694 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7695 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7696 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7697 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7698 ($(objpfx)test-float-libmvec-sincosf): Also link with
7699 $(objpfx)test-float-libmvec-sincosf-main.o.
7700 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7701 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7702 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7703 test-double-libmvec-sincos-avx512-main.o and
7704 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7705 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7706 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7707 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7708 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7709 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7710 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7711 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7712 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7713 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7714 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7715 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7716 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7717 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7718 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7719 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7720 -DREQUIRE_AVX2.
7721 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7722 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7723 -DREQUIRE_AVX512F.
7724 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7725 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7726 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7727 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7728 file.
7729 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7730 Likewise.
7731 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7732 Likewise.
7733 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7734 Likewise.
7735 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7736 Likewise.
7737 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7738 Likewise.
7739 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7740 Likewise.
7741 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7742 Likewise.
7743
7744 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7745
7746 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7747
7748 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7749
7750 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7751 and typo in a comment about AT_HWCAP entry.
7752
7753 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7754
7755 * sysdeps/aarch64/libm-test-ulps: Updated.
7756
7757 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7758
7759 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7760 of r13 as it is not restored in mvcle case.
7761
7762 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7763
7764 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7765 Rename "ret" to "__ret".
7766 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7767 inline_syscall5, inline_syscall6): Likewise.
7768
7769 2016-07-19 Will Newton <will.newton@gmail.com>
7770
7771 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7772 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7773 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7774 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7775 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7776
7777 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7778
7779 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7780 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7781 -mfpmath=387 with $(rtld-CFLAGS).
7782 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7783 $(rtld-CFLAGS).
7784
7785 2016-07-18 Ross Burton <ross.burton@intel.com>
7786 Khem Raj <raj.khem@gmail.com>
7787
7788 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7789 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7790 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7791 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7792 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7793 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7794 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7795 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7796 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7797 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7798 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7799 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7800 R_METAG_TLS_DTPOFF): New.
7801
7802 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7803 Matt Clay <mclay@lycos.com>
7804
7805 [BZ #20357]
7806 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7807 to call __mpsin/__mpcos and to negate values.
7808 * math/auto-libm-test-in: Add test.
7809 * math/auto-libm-test-out: Regenerate.
7810
7811 2016-07-18 Zack Weinberg <zackw@panix.com>
7812
7813 * grp/Makefile: Don't install the internal header grp-merge.h.
7814
7815 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7816
7817 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7818
7819 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7820
7821 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7822
7823 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7824
7825 [BZ #15368]
7826 * sysdeps/unix/sysv/linux/nptl-signals.h
7827 (__nptl_clear_internal_signals): New function.
7828 (__libc_signal_block_all): Likewise.
7829 (__libc_signal_block_app): Likewise.
7830 (__libc_signal_restore_set): Likewise.
7831 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7832 implementation.
7833 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7834 the cached pid/tid value in pthread structure.
7835
7836 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7837
7838 [BZ #20347]
7839 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7840
7841 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7842
7843 [BZ #20348]
7844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7845 preadv64, pwrite64 and pwritev64.
7846
7847 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 [BZ #20350]
7850 * posix/tst-preadwrite.c: Renamed to ...
7851 * posix/tst-preadwrite-common.c: This.
7852 (PREAD): Removed.
7853 (PWRITE): Likewise.
7854 (STRINGIFY): Likewise.
7855 (STRINGIFY2): Likewise.
7856 (do_prepare): Make it static and remove function arguments.
7857 (do_test): Likewise.
7858 (PREPARE): Updated.
7859 (TEST_FUNCTION): New.
7860 (name): Make it static.
7861 (fd): Likewise.
7862 (do_prepare): Use create_temp_file.
7863 (do_test): Renamed to ...
7864 (do_test_with_offset): This. Make it static and accept offset.
7865 Properly check return value of PWRITE and PREAD. Return bytes
7866 read. Don't close fd nor unlink name.
7867 * posix/tst-preadwrite.c: Rewrite.
7868 * posix/tst-preadwrite64.c: Likewise.
7869
7870 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7871
7872 [BZ #20309]
7873 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7874 -mtls-dialect=gnu2 works.
7875 * configure: Regenerated.
7876 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7877 (tests): Add tst-gnu2-tls1.
7878 (modules-names): Add tst-gnu2-tls1mod.
7879 ($(objpfx)tst-gnu2-tls1): New.
7880 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7881 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7882 * elf/tst-gnu2-tls1.c: New file.
7883 * elf/tst-gnu2-tls1mod.c: Likewise.
7884 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7885 bytes for push in the PLT entry to align the stack.
7886
7887 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7888
7889 [BZ #20349]
7890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7891
7892 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7893
7894 [BZ #18707]
7895 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7896 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7897
7898 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7899
7900 * sysdeps/unix/sysv/linux/sysdep.h
7901 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7902 guards.
7903 * misc/tst-preadvwritev-common.c: New file.
7904 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7905 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7906 a check for files larger than 2GB.
7907
7908 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7909 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7910 * sysdeps/unix/sysv/linux/pread.c
7911 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7912 __OFF_T_MATCHES_OFF64_T.
7913 * sysdeps/unix/sysv/linux/pread64.c
7914 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7915 * sysdeps/unix/sysv/linux/preadv.c
7916 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7917 * sysdeps/unix/sysv/linux/preadv64.c
7918 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7919 * sysdeps/unix/sysv/linux/pwrite.c
7920 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7921 * sysdeps/unix/sysv/linux/pwrite64.c
7922 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7923 * sysdeps/unix/sysv/linux/pwritev.c
7924 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7925 * sysdeps/unix/sysv/linux/pwritev64.c
7926 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7927
7928 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7929
7930 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7931 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7932
7933 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7934
7935 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7936
7937 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7938
7939 [BZ #20240]
7940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7941 (CFLAGS-s_modf-ppc32.c): New variable.
7942 (CFLAGS-s_modff-ppc32.c): Likewise.
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7944 (CFLAGS-s_modf-ppc64.c): Likewise.
7945 (CFLAGS-s_modff-ppc64.c): Likewise.
7946
7947 2016-07-07 Andreas Schwab <schwab@suse.de>
7948
7949 [BZ #20263]
7950 * nptl/tst-robust10.c: New test.
7951 * nptl/Makefile (tests): Add tst-robust10.
7952
7953 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7954
7955 [BZ #20263]
7956 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7957
7958 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7959
7960 * sysdeps/s390/linkmap.h (struct link_map_machine):
7961 Remove member gotplt and add member jmprel.
7962 * sysdeps/s390/s390-32/dl-machine.h
7963 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7964 instead of gotplt with &got[3].
7965 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7966 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7967
7968 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7969
7970 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7971
7972 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7973
7974 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7975 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7976 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7977 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7978 * libio/vtables.c (_IO_vtable_check)
7979 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7980 * libio/libioP.h (IO_set_accept_foreign_vtables)
7981 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7982
7983 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
7984
7985 [BZ #20314]
7986 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7987 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7988 $(common-objpfx)cmath.
7989 ($(common-objpfx)cstdlib): New target.
7990 ($(common-objpfx)cmath): Likewise.
7991
7992 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
7993
7994 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7995
7996 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7997
7998 [BZ #20327]
7999 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8000 are not part of the string.
8001
8002 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8003
8004 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8005 * nptl/tst-cancel4-common.h (fifoname): New variable.
8006 (fifofd): Likewise.
8007 (cl_fifo): New function.
8008 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8009 SIGINT.
8010 (tf_open): Add early cancel test.
8011
8012 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
8013
8014 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8015
8016 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
8017
8018 * sysdeps/generic/ldsodefs.h
8019 (dl_symbol_visibility_binds_local_p): New inline function.
8020 * elf/dl-addr.c (determine_info): Treat hidden and internal
8021 symbols as local.
8022 * elf/dl-lookup.c (do_lookup_x): Likewise.
8023 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8024
8025 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
8026
8027 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8028 invalid exception for a sNaN input.
8029 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8030 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8031 (__nearbyint_vis3): Likewise
8032 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8033 (__nearbyintf_vis3): Likewise
8034 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8035 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8036 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8037 Likewise.
8038 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8039 Likewise.
8040
8041 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 [BZ #20139]
8044 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8045 (HAVE_AVX512DQ_ASM_SUPPORT): This.
8046 * sysdeps/x86_64/configure.ac: Require assembler from binutils
8047 2.24 or above.
8048 (HAVE_AVX512_ASM_SUPPORT): Removed.
8049 (HAVE_AVX512DQ_ASM_SUPPORT): New.
8050 * sysdeps/x86_64/configure: Regenerated.
8051 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8052 check unconditional.
8053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8054 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8055 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8056 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8057 Likewise.
8058 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8059 Likewise.
8060 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8061 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8062 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8063 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8064 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8065 Likewise.
8066 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8067 Likewise.
8068 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8069 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8071 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8072 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8073 Likewise.
8074 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8075 Likewise.
8076 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8077 Likewise.
8078 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8079 Likewise.
8080 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8081 Likewise.
8082 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8083 Likewise.
8084 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8085 Likewise.
8086 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8087 Likewise.
8088 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8089 Likewise.
8090 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8091 Likewise.
8092 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8093 Likewise.
8094
8095 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8096
8097 [BZ #20024]
8098 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8099 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8100 of this implementation of vector function.
8101 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8102 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8104 Likewise.
8105 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8106 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8107 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8108 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8109 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8110 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8111 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8112 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8113 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8114 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8115 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8116 for testing vector sincos with fixed ABI.
8117 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8118 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8119 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8120 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8121 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8122 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8123 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8124 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8125 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8126 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8127 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8128 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8129 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8130 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8131 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8132 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8133
8134 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8135
8136 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8137
8138 2016-06-30 Anton Blanchard <anton@samba.org>
8139
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8141 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8142 s_sinf-ppc64.
8143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8146 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8147
8148 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8149
8150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8152 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8153 e_expf-ppc64.
8154 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8155 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8156 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8157 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8158
8159 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8160
8161 [BZ #20277]
8162 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8163 when SHARED is defined.
8164
8165 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8166
8167 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8168 (index_arch_Prefer_ERMS): Likewise.
8169 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8170 __memcpy_erms for Prefer_ERMS.
8171 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8172 (__memmove_erms): Enabled for libc.a.
8173 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8174 __memmove_erms or Prefer_ERMS.
8175 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8176 __mempcpy_erms for Prefer_ERMS.
8177 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8178 __memset_erms for Prefer_ERMS.
8179
8180 2016-06-30 Andreas Schwab <schwab@suse.de>
8181
8182 [BZ #20262]
8183 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8184 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8185 of memory.
8186
8187 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8188
8189 [BZ #18645]
8190 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8191 (test-extras): Add tst-cleanupx4aux.
8192 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8193 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8194 tst-cleanupx4aux.o.
8195 * nptl/tst-cleanupx4aux.c: New file.
8196
8197 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8198
8199 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8200
8201 2016-06-29 Andreas Schwab <schwab@suse.de>
8202
8203 [BZ #20260]
8204 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8205 address before the beginning of the string as an integer to avoid
8206 array-bounds warning.
8207
8208 2016-06-28 Richard Henderson <rth@redhat.com>
8209
8210 * elf/elf.h (EM_BPF): New.
8211 (EM_NUM): Update.
8212 (R_BPF_NONE, R_BPF_MAP_FD): New.
8213
8214 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8215 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8216 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8217 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8218 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8219 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8220 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8221 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8222 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8223 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8224 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8225 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8226 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8227 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8228 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8229 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8230 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8231 (EM_NUM): Update.
8232
8233 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8234
8235 [BZ #18960]
8236 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8237 Set _nl_current_LC_CATEGORY_used to two instead of one.
8238
8239 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8240
8241 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8242 (do_test): ... this.
8243 (TEST_FUNCTION): New macro.
8244 Include test-skeleton.c.
8245 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8246 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8247
8248 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8249
8250 [BZ #15479]
8251 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8252 floating-point environment rather than just control word.
8253 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8254 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8255 floating-point environment, with "invalid" exceptions merged in,
8256 rather than just control word.
8257 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8258 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8259 "inexact" exceptions.
8260
8261 [BZ #15479]
8262 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8263 floating-point environment rather than just control word.
8264 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8265 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8266 floating-point environment, with "invalid" exceptions merged in,
8267 rather than just control word.
8268 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8269 * math/libm-test.inc (floor_test_data): Do not allow spurious
8270 "inexact" exceptions.
8271
8272 [BZ #15479]
8273 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8274 floating-point environment rather than just control word.
8275 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8276 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8277 floating-point environment, with "invalid" exceptions merged in,
8278 rather than just control word.
8279 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8280 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8281 "inexact" exceptions.
8282
8283 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8284
8285 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8286 __libc_vfork.
8287 (__vfork) [IS_IN (libc)]: Remove alias.
8288 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8289 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8290 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8291
8292 2016-06-24 Torvald Riegel <triegel@redhat.com>
8293
8294 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8295 of atomic_compare_and_exchange_bool_rel.
8296 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8297 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8298 catomic_compare_and_exchange_bool_rel): Remove.
8299 * sysdeps/aarch64/atomic-machine.h
8300 (atomic_compare_and_exchange_bool_rel): Likewise.
8301 * sysdeps/alpha/atomic-machine.h
8302 (atomic_compare_and_exchange_bool_rel): Likewise.
8303 * sysdeps/arm/atomic-machine.h
8304 (atomic_compare_and_exchange_bool_rel): Likewise.
8305 * sysdeps/mips/atomic-machine.h
8306 (atomic_compare_and_exchange_bool_rel): Likewise.
8307 * sysdeps/microblaze/atomic-machine.h
8308 ( __arch_compare_and_exchange_bool_8_rel,
8309 __arch_compare_and_exchange_bool_16_rel): Likewise.
8310 * sysdeps/powerpc/atomic-machine.h
8311 ( __arch_compare_and_exchange_bool_8_rel,
8312 __arch_compare_and_exchange_bool_16_rel): Likewise.
8313 * sysdeps/powerpc/powerpc32/atomic-machine.h
8314 ( __arch_compare_and_exchange_bool_32_rel,
8315 __arch_compare_and_exchange_bool_64_rel): Likewise.
8316 * sysdeps/powerpc/powerpc64/atomic-machine.h
8317 ( __arch_compare_and_exchange_bool_32_rel,
8318 __arch_compare_and_exchange_bool_64_rel): Likewise.
8319 * sysdeps/tile/atomic-machine.h
8320 (atomic_compare_and_exchange_bool_rel): Likewise.
8321
8322 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8323
8324 [BZ #20296]
8325 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8326 when either argument is a NaN.
8327 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8328 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8329
8330 * math/libm-test.inc (snan_value_ld): New macro.
8331 (isgreater_test_data): Add sNaN tests.
8332 (isgreaterequal_test_data): Likewise.
8333 (isless_test_data): Likewise.
8334 (islessequal_test_data): Likewise.
8335 (islessgreater_test_data): Likewise.
8336 (isunordered_test_data): Likewise.
8337 (nextafter_test_data): Likewise.
8338 (nexttoward_test_data): Likewise.
8339 (remainder_test_data): Likewise.
8340 (remquo_test_data): Likewise.
8341 (significand_test_data): Likewise.
8342 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8343
8344 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8345
8346 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8347 environment macros are defined.
8348 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8349
8350 2016-06-23 Florian Weimer <fweimer@redhat.com>
8351
8352 [BZ #20191]
8353 Implement vtable verification in libio.
8354 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8355 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8356 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8357 _IO_new_file_init_internal instead of _IO_file_init.
8358 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8359 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8360 * libio/Makefile (routines): Add vtables.
8361 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8362 (_IO_init): Remove, not for internal use.
8363 (_IO_init_internal): Declare, internal replacement for _IO_init.
8364 (_IO_file_init): Remove, not for internal use.
8365 (_IO_new_file_init): Remove, not for internal use.
8366 (_IO_new_file_init_internal): Declare, internal replacement for
8367 _IO_new_file_init.
8368 (_IO_old_file_init): Remove, not for internal use.
8369 (_IO_old_file_init_internal): Declare, internal replacement for
8370 _IO_old_file_init.
8371 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8372 internal use.
8373 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8374 Declare.
8375 (libio_vtable): New macro.
8376 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8377 functions.
8378 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8379 _IO_new_file_init.
8380 (_IO_new_file_init): New externally visible wrapper which disables
8381 vtable verification.
8382 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8383 Define as vtables.
8384 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8385 (_IO_init): New externally visible wrapper which disables
8386 vtable verification.
8387 * libio/iofdopen.c (_IO_new_fdopen): Call
8388 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8389 comment.
8390 * libio/iofopen.c (__fopen_internal): Call
8391 _IO_new_file_init_internal instead of _IO_file_init.
8392 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8393 Define as vtables.
8394 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8395 _IO_new_file_init_internal instead of _IO_file_init.
8396 * libio/iopopen.c (_IO_new_popen): Likewise.
8397 (_IO_proc_jumps): Define as vtable.
8398 * libio/iovdprintf.c (_IO_vdprintf): Call
8399 _IO_new_file_init_internal instead of _IO_file_init.
8400 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8401 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8402 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8403 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8404 _IO_old_file_init.
8405 (_IO_old_file_init): New externally visible wrapper which disables
8406 vtable verification.
8407 (_IO_old_file_jumps): Define as vtable.
8408 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8409 _IO_old_file_init_internal instead of _IO_old_file_init.
8410 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8411 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8412 (_IO_old_proc_jumps): Define as vtable.
8413 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8414 Define as vtables.
8415 * libio/vtables.c: New file.
8416 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8417 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8418 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8419 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8420 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8421 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8422 instead of _IO_init.
8423
8424 2016-06-23 Florian Weimer <fweimer@redhat.com>
8425
8426 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8427
8428 2016-06-23 Florian Weimer <fweimer@redhat.com>
8429
8430 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8431 potentially unused.
8432
8433 2016-06-22 Florian Weimer <fweimer@redhat.com>
8434
8435 * test-skeleton.c (write_message): New function.
8436 * malloc/tst-mallocfork2.c (write_message): Remove.
8437 * debug/tst-longjmp_chk2.c (write_indented): New function.
8438 (write_message): Remove.
8439 (stackoverflow_handler): Call write_indented.
8440
8441 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8442
8443 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8444 "inexact" exceptions after fnstenv.
8445 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8446 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8447 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8448
8449 2015-06-22 Zack Weinberg <zackw@panix.com>
8450
8451 * sysdeps/generic/bits/hwcap.h: Moved to ...
8452 * bits/hwcap.h: Here.
8453
8454 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8455
8456 * sysdeps/aarch64/memcpy.S (memcpy):
8457 Further tuning for performance.
8458
8459 2016-06-21 Florian Weimer <fweimer@redhat.com>
8460
8461 [BZ #20284]
8462 * malloc/arena.c (reused_arena): Do not return NULL if we start
8463 out with a non-corrupted arena.
8464
8465 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8466
8467 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8468 * misc/tst-preadvwritev.c: New file.
8469 * misc/tst-preadvwritev64.c: Likewise.
8470 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8471 usage.
8472 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8473 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8474 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8475 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8476
8477 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8478
8479 [BZ #19654]
8480 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8481 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8482 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8483 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8484 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8485 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8486 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8487 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8488 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8489 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8490 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8491 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8492 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8493 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8494 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8495 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8496 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8497 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8498 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8499 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8500 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8501 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8502 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8503 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8504 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8505 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8506
8507 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8508
8509 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8510 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8511
8512 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8513
8514 * sysdeps/aarch64/memcpy.S (memcpy):
8515 Rewrite of optimized memcpy and memmove.
8516 * sysdeps/aarch64/memmove.S (memmove): Remove
8517 memmove code (merged into memcpy.S).
8518
8519 2016-06-20 Florian Weimer <fweimer@redhat.com>
8520
8521 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8522 * sysdeps/generic/dl-dtv.h: New file.
8523 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8524 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8525 (dtv_t): Remove.
8526 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8527 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8528 (dtv_t): Remove.
8529 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8530 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8531 (dtv_t): Remove.
8532 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8533 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8534 (dtv_t): Remove.
8535 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8536 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8537 (dtv_t): Remove.
8538 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8539 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8540 (dtv_t): Remove.
8541 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8542 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8543 (dtv_t): Remove.
8544 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8545 (dtv_t): Remove.
8546 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8547 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8548 (dtv_t): Remove.
8549 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8550 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8551 (dtv_t): Remove.
8552 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8553 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8554 (dtv_t): Remove.
8555 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8556 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8557 (dtv_t): Remove.
8558 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8559 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8560 (dtv_t): Remove.
8561 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8562 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8563 (dtv_t): Remove.
8564 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8565 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8566 (dtv_t): Remove.
8567 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8568 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8569 (dtv_t): Remove.
8570
8571 2016-06-20 Florian Weimer <fweimer@redhat.com>
8572
8573 Revert symbol poisoning of __malloc_initialize_hook.
8574 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8575 poisoning.
8576 * malloc/Makefile: Remove un-poisoning.
8577 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8578 instead of old__malloc_initialize_hook.
8579 * malloc/malloc-hooks.h: Likewise.
8580 * malloc/malloc.c: Likewise.
8581 * malloc/mcheck-init.c: Likewise.
8582
8583 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8584
8585 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8586
8587 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8588
8589 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8590 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8591 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8592 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8593
8594 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8595
8596 * NEWS: Mention addition of nextup and nextdown.
8597 * manual/arith.texi: Document nextup and nextdown.
8598 * manual/libm-err-tab.pl: Add nextup and nextdown.
8599 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8600 * math/Versions (libm): Add GLIBC_2.24.
8601 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8602 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8603 Add new test.
8604 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8605 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8606 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8607 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8608 (nextup_test_data): Likewise.
8609 (nextdown_test_data): Likewise.
8610 * math/s_nextdown.c: New file.
8611 * math/s_nextdownf.c: Likewise.
8612 * math/s_nextdownl.c: Likewise.
8613 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8614 F(nextup): New function.
8615 F(nextdown): Likewise.
8616 * math/tgmath.h: Add nextup and nextdown.
8617 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8618 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8619 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8623 Add nextup and nextdown.
8624 (CFLAGS-nldbl-nextup.c): New variable.
8625 (CFLAGS-nldbl-nextdown.c): Likewise.
8626 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8627 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8628 * sysdeps/nacl/libm.abilist: Update.
8629 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8630 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8631 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8632 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8633 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8634 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8635 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8636 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8637 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8638 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8639 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8640 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8643 Likewise.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8646 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8647 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8648 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8650 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8651 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8653 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8654 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8655 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8656 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8657
8658 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8659
8660 * manual/pattern.texi: Fix typos & grammar errors.
8661
8662 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8663
8664 * manual/search.texi: Fix typos & grammar errors.
8665
8666 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8667
8668 * manual/message.texi: Fix typos & grammar errors.
8669
8670 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8671
8672 * manual/contrib.texi: Fix spelling typos.
8673 * manual/crypt.texi: Likewise.
8674 * manual/filesys.texi: Likewise.
8675 * manual/locale.texi: Likewise.
8676 * manual/message.texi: Likewise.
8677 * manual/nss.texi: Likewise.
8678 * manual/string.texi: Likewise.
8679
8680 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8681
8682 * manual/locale.texi: Fix typos & grammar errors.
8683
8684 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8685
8686 * manual/charset.texi: Fix typos & grammar errors.
8687
8688 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8689
8690 * manual/string.texi: Fix typos.
8691
8692 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8693
8694 * manual/ctype.texi: Fix typos.
8695
8696 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8697
8698 * manual/memory.texi: Fix various typos & grammar errors.
8699
8700 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8701
8702 [BZ #20255]
8703 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8704 * math/libm-test.inc (fdim_test_data): Add another test.
8705
8706 [BZ #6796]
8707 [BZ #20255]
8708 [BZ #20256]
8709 * math/s_fdim.c: Include <math_private.h>.
8710 (__fdim): Use math_narrow_eval on result.
8711 * math/s_fdimf.c: Include <math_private.h>.
8712 (__fdimf): Use math_narrow_eval on result.
8713 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8714 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8715 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8716 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8717 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8718 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8719 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8720 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8721 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8722 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8723 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8724 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8725 overflow. Add sNaN tests.
8726
8727 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8728 fpclassify.
8729 * math/s_fdimf.c (__fdimf): Likewise.
8730 * math/s_fdiml.c (__fdiml): Likewise.
8731
8732 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8733
8734 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8735 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8737 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8738 ifunc'ed strcasecmp/strncasecmp.
8739 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8740 [EALIGN]: Removed.
8741 [END]: Likewise.
8742 [__strcasecmp]: Define instead of the above to control symbol name.
8743 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8744 for __strcasecmp_power8.
8745 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8746 for __strncasecmp_power8.
8747 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8749 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8750 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8751 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8752 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8753
8754 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8755
8756 [BZ #20252]
8757 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8758 arguments when second argument is a NaN.
8759 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8760 qNaN tests.
8761
8762 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8763 (conj_test_data): Likewise.
8764 (copysign_test_data): Likewise.
8765 (creal_test_data): Likewise.
8766 (fma_test_data): Likewise.
8767 (fmod_test_data): Likewise.
8768
8769 [BZ #20250]
8770 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8771 itself.
8772 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8773 zero input to itself.
8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8775 Likewise.
8776 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8777 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8779 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8780 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8781
8782 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8783
8784 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8785 * nptl/tst-cancel4-common.c: New file.
8786 * nptl/tst-cancel4-common.h: Likewise.
8787 * nptl/tst-cancel4.c: Move common definitions to
8788 tst-cancel4-common.{c,h} file.
8789 * nptl/tst-cancel4_1.c: New test.
8790 * nptl/tst-cancel4_2.c: New test.
8791
8792 2016-06-13 Florian Weimer <fweimer@redhat.com>
8793
8794 [BZ #20248]
8795 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8796 (write_message): New function.
8797 (stackoverflow_handler): Call it instead of printf, to avoid
8798 excessive stack usage by printf.
8799 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8800
8801 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8802
8803 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8804 (prio_inherit_missing): Remove define.
8805 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8806 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8807 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8808 Likewise.
8809 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8810 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8811 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8812 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8813 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8814 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8815
8816 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8817
8818 [BZ #19670]
8819 [BZ #19672]
8820
8821 * io/test-lfs.c (do_prepare): Use xmalloc.
8822 * io/tst-fcntl.c (do_prepare): Likewise.
8823 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8824 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8825 * login/tst-utmp.c (do_prepare): Likewise.
8826 * posix/tst-exec.c (do_prepare): Likewise.
8827 * posix/tst-pathconf.c (prepare): Likewise.
8828 * posix/tst-spawn.c (do_prepare): Likewise.
8829 * posix/tst-truncate.c (do_prepare): Likewise.
8830 * rt/tst-aio.c (do_prepare): Likewise.
8831 * rt/tst-aio64.c (do_prepare): Likewise.
8832
8833 2016-06-11 Florian Weimer <fweimer@redhat.com>
8834
8835 [BZ #20237]
8836 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8837 (get*ent): Set entidx to NULL during initialization. If entidx is
8838 NULL, start iteration from the beginning.
8839
8840 2016-06-11 Florian Weimer <fweimer@redhat.com>
8841
8842 * malloc/malloc.c (musable): Return correct size for dumped fake
8843 mmapped chunk.
8844
8845 2016-06-11 Florian Weimer <fweimer@redhat.com>
8846
8847 [BZ #20222]
8848 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8849 (_IO_cookie_write): Likewise.
8850 (_IO_cookie_seek): Likewise.
8851 (_IO_cookie_close): Likewise.
8852 (_IO_old_cookie_seek): Likewise.
8853 (set_callbacks): New function.
8854 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8855
8856 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8857
8858 * locale/programs/localedef.c (oldstyle_tables): Remove.
8859 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8860
8861 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8862
8863 [BZ #20240]
8864 * math/Makefile (CFLAGS-s_modf.c): New variable.
8865 (CFLAGS-s_modff.c): Likewise.
8866 (CFLAGS-s_modfl.c): Likewise.
8867 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8868
8869 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8870
8871 [BZ #20215]
8872 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8873 [!__GNUC_PREREQ (3,2)]: Likewise.
8874
8875 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8876
8877 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8878 (msghdr.msg_controllen): Likewise.
8879 (cmsghdr.cmsg_len): Likewise.
8880 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8881 ptw-oldsendmsg.
8882 (CFLAGS-oldrecvmsg.c): Remove rule.
8883 (CFLAGS-oldsendmsg.c): Likewise.
8884 (CFLAGS-recvmsg.c): Add rule.
8885 (CFLAGS-sendmsg.c): Likewise.
8886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8887 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8888 (CFLAGS-recvmsg.c): Remove rule.
8889 (CFLAGS-sendmsg.c): Likewise.
8890 (CFLAGS-oldrecvmsg.c): Likewise.
8891 (CFLAGS-oldsendmsg.c): Likewise.
8892 (CFLAGS-recvmmsg.c): Likewise.
8893 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8894 to kernel defined interfaces.
8895 (msghdr.msg_controllen): Likewise.
8896 (cmsghdr.cmsg_len): Likewise.
8897 (msghdr.__glibc_reserved1): Remove member.
8898 (msghdr.__glibc_reserved2): Likewise.
8899 (cmsghdr.__glibc_reserved1): Likewise.
8900 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8901 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8902 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8903 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8904 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8905 version.
8906 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8907 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8908 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8909 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8910 Remove recvmsg and sendmsg.
8911 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8912 Likewise.
8913 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8914 Likewise.
8915 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8916 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8917 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8918 Likewise.
8919 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8920 Likewise.
8921 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8922 [libc] (GLIBC_2.24): Likewise.
8923 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8924 Likewise.
8925 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8926 Likewise.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8928 [libc] (GLIBC_2.24): Likewise.
8929 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8930 Likewise.
8931 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8932 Likewise.
8933 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8934 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8935 Likewise.
8936 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8937 Likewise.
8938 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8939 Likewise.
8940 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8941 Likewise.
8942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8943 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8944 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8945 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8946 version for {recv,send,recm,sendm}msg.
8947 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8948 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8949 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8951 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8952 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8953 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8954 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8956 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8957 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8958 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8960 Likewise.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8962 Likewise.
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8965 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8966 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8967 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8968 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8969 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8973 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8974 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8975 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8976
8977 2016-06-10 Florian Weimer <fweimer@redhat.com>
8978
8979 [BZ #19564]
8980 Remove __malloc_initialize_hook from the API.
8981 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8982 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8983 #pragma GCC poison.
8984 * malloc/malloc-hooks.h: New file.
8985 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8986 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8987 (old__malloc_initialize_hook): Rename from
8988 __malloc_initialize_hook to evade poisoning. Turn into compat
8989 symbol.
8990 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8991 __malloc_initialize_hook.
8992 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8993 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8994 * manual/memory.texi (Hooks for Malloc): Remove
8995 __malloc_initialize_hook. Adjust hook example.
8996
8997 2016-06-09 Joseph Myers <joseph@codesourcery.com>
8998
8999 [BZ #20235]
9000 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9001 itself.
9002 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9003 * math/libm-test.inc (log2_test_data): Add sNaN tests.
9004
9005 [BZ #20234]
9006 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9007 infinity or NaN input to itself.
9008
9009 [BZ #20233]
9010 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9011 to itself.
9012
9013 [BZ #20232]
9014 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9015 itself.
9016
9017 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 * sysdeps/x86_64/start.S (_start): Always indirect branch to
9020 __libc_start_main via GOT.
9021
9022 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
9023
9024 * sysdeps/x86_64/memcopy.h: New file.
9025 * sysdeps/x86_64/wordcopy.c: Likewise.
9026
9027 2016-06-09 Florian Weimer <fweimer@redhat.com>
9028
9029 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9030 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9031 <cstdlib>.
9032 (optimization_barrier): New.
9033 (do_test): Use it. Call quick_exit in the global namespace.
9034 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9035 instead of <cstdlib>, <thread>.
9036 (optimization_barrier): New.
9037 (non_main_thread): Adjust declaration. Call optimization_barrier.
9038 Call quick_exit in the global namespace.
9039 (do_test): Call optimization_barrier. Use pthread_create,
9040 pthread_join instead of std::thread.
9041
9042 2016-06-09 Andreas Schwab <schwab@suse.de>
9043
9044 [BZ #19755]
9045 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9046 new entries in auto-propagate mode.
9047 * nscd/grpcache.c (cache_addgr): Likewise.
9048
9049 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9050
9051 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9052 New functions.
9053 (add_temp_file): Use them.
9054
9055 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
9056
9057 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9058
9059 2016-06-08 Joseph Myers <joseph@codesourcery.com>
9060
9061 [BZ #20229]
9062 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9063 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9064 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9065
9066 [BZ #20228]
9067 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9068 itself.
9069 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9070 * math/libm-test.inc (log10_test_data): Add sNaN tests.
9071
9072 [BZ #20227]
9073 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9074 itself.
9075 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9076 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9077 * math/libm-test.inc (log_test_data): Add sNaN tests.
9078
9079 [BZ #20226]
9080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9081 itself.
9082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9083 * math/libm-test.inc (exp_test_data): Add sNaN tests.
9084 (exp10_test_data): Likewise.
9085 (expm1_test_data): Likewise.
9086
9087 [BZ #20225]
9088 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9089 itself.
9090 * math/s_ldexpf.c (__ldexpf): Likewise.
9091 * math/s_ldexpl.c (__ldexpl): Likewise.
9092 * math/w_scalbln.c (__w_scalbln): Likewise.
9093 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9094 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9095 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9096 (scalbln_test_data): Likewise.
9097
9098 [BZ #20224]
9099 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9100 argument to itself.
9101 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9102
9103 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 [BZ #19776]
9106 * sysdeps/x86_64/memcpy.S: Make it dummy.
9107 * sysdeps/x86_64/mempcpy.S: Likewise.
9108 * sysdeps/x86_64/memmove.S: New file.
9109 * sysdeps/x86_64/memmove_chk.S: Likewise.
9110 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9111 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9112 * sysdeps/x86_64/memmove.c: Removed.
9113 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9114 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9115 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9116 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9117 Likewise.
9118 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9119 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9121 memcpy-sse2-unaligned, memmove-avx-unaligned,
9122 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9124 (__libc_ifunc_impl_list): Replace
9125 __memmove_chk_avx512_unaligned_2 with
9126 __memmove_chk_avx512_unaligned. Remove
9127 __memmove_chk_avx_unaligned_2. Replace
9128 __memmove_chk_sse2_unaligned_2 with
9129 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9130 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9131 with __memmove_avx512_unaligned. Replace
9132 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9133 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9134 with __memcpy_chk_avx512_unaligned. Remove
9135 __memcpy_chk_avx_unaligned_2. Replace
9136 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9137 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9138 Replace __memcpy_avx512_unaligned_2 with
9139 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9140 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9141 with __mempcpy_chk_avx512_unaligned. Remove
9142 __mempcpy_chk_avx_unaligned_2. Replace
9143 __mempcpy_chk_sse2_unaligned_2 with
9144 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9145 Replace __mempcpy_avx512_unaligned_2 with
9146 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9147 Replace __mempcpy_sse2_unaligned_2 with
9148 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9149 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9150 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9151 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9152 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9153 (ENTRY): Removed.
9154 (END): Likewise.
9155 (ENTRY_CHK): Likewise.
9156 (libc_hidden_builtin_def): Likewise.
9157 Don't include ../memcpy.S.
9158 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9159 __memcpy_chk_avx512_unaligned_erms and
9160 __memcpy_chk_avx512_unaligned. Use
9161 __memcpy_chk_avx_unaligned_erms and
9162 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9163 Default to __memcpy_chk_sse2_unaligned.
9164 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9165 Change function suffix from unaligned_2 to unaligned.
9166 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9167 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9168 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9169 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9170 (ENTRY): Removed.
9171 (END): Likewise.
9172 (ENTRY_CHK): Likewise.
9173 (libc_hidden_builtin_def): Likewise.
9174 Don't include ../mempcpy.S.
9175 (mempcpy): New. Add a weak alias.
9176 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9177 __mempcpy_chk_avx512_unaligned_erms and
9178 __mempcpy_chk_avx512_unaligned. Use
9179 __mempcpy_chk_avx_unaligned_erms and
9180 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9181 Default to __mempcpy_chk_sse2_unaligned.
9182
9183 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9184
9185 [BZ #19881]
9186 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9187 into ...
9188 * sysdeps/x86_64/memset.S: This.
9189 (__bzero): Removed.
9190 (__memset_tail): Likewise.
9191 (__memset_chk): Likewise.
9192 (memset): Likewise.
9193 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9194 defined.
9195 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9196 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9197 (__memset_zero_constant_len_parameter): Check SHARED instead of
9198 PIC.
9199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9200 memset-avx2 and memset-sse2-unaligned-erms.
9201 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9202 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9203 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9204 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9205 (__bzero): Enabled.
9206 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9207 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9208 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9209 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9210 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9211 (memset): Removed.
9212 (__memset_chk): Likewise.
9213 (MEMSET_SYMBOL): New.
9214 (libc_hidden_builtin_def): Replace __memset_sse2 with
9215 __memset_sse2_unaligned.
9216 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9217 __memset_chk_sse2 and __memset_chk_avx2 with
9218 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9219 Use __memset_chk_sse2_unaligned_erms or
9220 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9221 __memset_chk_avx512_unaligned_erms and
9222 __memset_chk_avx512_unaligned.
9223
9224 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9225
9226 * math/gen-auto-libm-test.c (fp_format_desc): remove
9227 suffix member.
9228 (output_generic_value): Remove usage of suffix member,
9229 and the resulting unuse of the fp_format argument.
9230 (output_for_one_input_case): Remove unused fp_format
9231 parameter.
9232
9233 * math/auto-libm-test-out: Regenerate.
9234
9235 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9236 usage with TEST_COND_ibm128.
9237 (TEST_COND_flt_32): Remove.
9238 (TEST_COND_dbl_64): Remove.
9239 (TEST_COND_ldbl_96_intel): Remove.
9240 (TEST_COND_ldbl_96_m68k): Remove.
9241 (TEST_COND_ldbl_128): Remove.
9242
9243 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9244
9245 * auto-libm-test-in:
9246 Replace flt-32 usage with binary32.
9247 Replace dbl-64 usage with binary64.
9248 Replace ldbl-intel-96 usage with intel96.
9249 Replace ldbl-m68k-96 usage with m68k96.
9250 Replace ldbl-128ibm usage with ibm128.
9251 Replace ldbl-128 usage with binary128.
9252
9253 * auto-libm-test-out: Regenerate.
9254
9255 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9256
9257 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9258 (parse_ulps): Dynamically generate type name matching
9259 string from all_floats.
9260 (get_ulps): Generate the ulps as an array instead.
9261 (output_ulps): Dynamically compose the type based
9262 on the number of supported formats, and print
9263 the indices as type specific helper macros.
9264
9265 * math/libm-test.inc: Remove comment about CHOOSE.
9266 (ulp_data): Generate the type in libm-test-ulps.h.
9267 (ULP_IDX): New macro.
9268 (find_ulps): Update usage of max_ulp.
9269
9270 * math/test-double-vlen2.h (CHOOSE): Remove.
9271 * math/test-double-vlen4.h (CHOOSE): Likewise.
9272 * math/test-double-vlen8.h (CHOOSE): Likewise.
9273 * math/test-float.c (CHOOSE): Likewise.
9274 * math/test-float-finite.c (CHOOSE): Likewise.
9275 * math/test-double.c (CHOOSE): Likewise.
9276 * math/test-double-finite.c (CHOOSE): Likewise.
9277 * math/test-idouble.c (CHOOSE): Likewise.
9278 * math/test-ifloat.c (CHOOSE): Likewise.
9279 * math/test-ildoubl.c (CHOOSE): Likewise.
9280 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9281 * math/test-ldouble.c (CHOOSE): Likewise.
9282
9283 * math/test-float.h (TEST_FLOAT): Remove.
9284 * math/test-double.h (TEST_DOUBLE): Likewise.
9285 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9286
9287 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9288
9289 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9290 (parse_args): Strip C suffix from floating point literals
9291 typed with 'f' and wrap them with LIT().
9292
9293 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9294 (test_ff_f_data_nexttoward): Rename to
9295 (test_fj_f_data): New struct.
9296 (nexttoward_test_data): Relabel tests as
9297 TEST_fj_f instead of TEST_ff_f.
9298
9299 2016-06-08 Florian Weimer <fweimer@redhat.com>
9300
9301 Emacs bug 23726.
9302 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9303 (__libc_realloc): Correct size computation for dumped fake mmapped
9304 chunks.
9305
9306 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9307
9308 [BZ #20219]
9309 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9310 to itself.
9311 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9312
9313 [BZ #20218]
9314 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9315 to itself.
9316 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9317
9318 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9319
9320 [BZ #20195]
9321 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9322 check to ...
9323 (init_cpu_features): Here.
9324
9325 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9326
9327 [BZ #20214]
9328 * sysdeps/unix/sysv/linux/bits/in.h
9329 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9330 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9331 Define to 1.
9332 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9333 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9334 Define to 0.
9335 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9336 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9337
9338 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9339
9340 [BZ #20198]
9341 * stdlib/Makefile (tests): Add tst-quick_exit, and
9342 tst-thread-quick_exit.
9343 [ifeq ($(have-cxx-thread_local),yes)]
9344 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9345 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9346 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9347 (LDLIBS-tst-thread-quick_exit): Likewise.
9348 [ifneq ($(have-cxx-thread_local),yes)]
9349 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9350 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9351 If run_dtors is true call __call_tls_dtors.
9352 (exit): Call __run_exit_handlers with run_dtors set to true.
9353 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9354 definition.
9355 * stdlib/quick_exit.c (quick_exit): Remove function.
9356 (__new_quick_exit): New function.
9357 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9358 function.
9359 * stdlib/tst-quick_exit.cc: New file.
9360 * stdlib/tst-thread-quick_exit.cc: New file.
9361 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9362 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9363 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9364 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9365 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9366 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9367 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9368 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9369 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9371 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9372 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9373 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9376 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9381 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9382 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9383 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9384 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9385 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9388 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9389 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9390 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9391
9392 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9393
9394 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9395 a typo in comments.
9396
9397 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9398
9399 [BZ #20213]
9400 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9401 argument to itself.
9402 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9403
9404 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9405
9406 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9407 required flags.
9408 (CFLAGS-pwritev64.c): Likewise.
9409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9410 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9411 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9413 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9414 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9415 syscall from auto-generation.
9416 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9417 [WORDSIZE == 64] (pwritev64): Remove macro.
9418 [!PWRITEV] (PWRITEV): Likewise.
9419 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9420 [!PWRITEV] (PWRITE): Likewise.
9421 [!PWRITEV] (OFF_T): Likewise.
9422 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9423 (LO_HI_LONG): Remove macro.
9424 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9425 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9426 (PWRITEV): Remove macro.
9427 (PWRITEV_REPLACEMENTE): Likewise.
9428 (PWRITE): Likewise.
9429 (OFF_T): Likewise.
9430 (pwritev64): New function.
9431 * nptl/tst-cancel4.c (tf_writev): Add test.
9432
9433 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9434 required flags.
9435 (CFLAGS-preadv64.c): Likewise.
9436 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9437 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9438 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9439 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9440 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9441 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9442 syscall from auto-generation.
9443 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9444 [WORDSIZE == 64] (preadv64): Remove macro.
9445 [!PREADV] (PREADV): Likewise.
9446 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9447 [!PREADV] (PREAD): Likewise.
9448 [!PREADV] (OFF_T): Likewise.
9449 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9450 (LO_HI_LONG): Remove macro.
9451 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9452 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9453 (PREADV): Remove macro.
9454 (PREADV_REPLACEMENTE): Likewise.
9455 (PREAD): Likewise.
9456 (OFF_T): Likewise.
9457 (preadv64): New function.
9458 * nptl/tst-cancel4.c (tf_preadv): Add test.
9459
9460 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9461
9462 [BZ #20212]
9463 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9464 argument to itself.
9465 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9466
9467 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9468
9469 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9470 New symbol defined as libc_hidden_def.
9471 (strcasestr): Became a weak alias to __strcasestr.
9472 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9473 according to multi-arch support. Move __stpncpy hidden
9474 definition from here to...
9475 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9476 symbol stpncpy.
9477 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9478 libc_hidden_builtin_def.
9479 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9480 memset symbol to use when multi-arch support is available.
9481
9482 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9483
9484 * dlfcn/tst-rec-dlopen.c: Include string.h.
9485
9486 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9487
9488 * manual/install.texi: Remove mention of --without-tls
9489 * INSTALL: Regenerate.
9490
9491 2016-06-05 Florian Weimer <fweimer@redhat.com>
9492
9493 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9494 Remove.
9495 (call_function, interposed_malloc_called): New variables.
9496 (malloc): New function.
9497 (do_test): Do not change malloc hooks. Initialize malloc. Set
9498 and clear call_function as needed.
9499
9500 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9501
9502 * include/wchar.h (__wmemset): Use __typeof.
9503
9504 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9505
9506 * include/wchar.h (__wmemset): Declare function without typeof.
9507
9508 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9509
9510 [BZ #20205]
9511 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9512 exponent when incrementing negative subnormal with low mantissa
9513 word zero.
9514 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9515 Add another test.
9516
9517 2016-06-03 Florian Weimer <fweimer@redhat.com>
9518
9519 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9520 __wmemset instead of wmemset.
9521
9522 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9523
9524 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9525 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9526 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9527 __USE_KERNEL_IPV6_DEFS to 0.
9528 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9529 Update comment.
9530
9531 2016-06-01 Florian Weimer <fweimer@redhat.com>
9532
9533 [BZ #19861]
9534 Do not use IFUNC resolver with potentially unrelocated symbol.
9535 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9536 (DEFINE_FORK): Remove macro and inline definition.
9537 (fork_alias): Renamed from fork_ifunc.
9538 (__fork_alias): Renamed from __fork_ifunc.
9539
9540 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9541
9542 [BZ 19653]
9543 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9544 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9545
9546 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9547
9548 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9549 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9550 i386-linux-gnu).
9551 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9552 Set to no.
9553 * sysdeps/mach/hurd/configure: Refresh.
9554
9555 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9556
9557 [BZ #20178]
9558 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9559 on failure instead of exit.
9560
9561 2016-05-30 Roland McGrath <roland@hack.frob.com>
9562
9563 [BZ #3629]
9564 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9565 of POSIX.1-2008.
9566
9567 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9568
9569 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9570 Use PLT entry for calling _hurd_self_sigstate.
9571
9572 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9573
9574 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9575 available logical processors with SMT level type sharing L2
9576 cache for Intel processors.
9577
9578 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9579
9580 [BZ #20160]
9581 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9582 argument to itself before returning the result.
9583 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9584 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9585 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9587 Likewise.
9588 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9589 Likewise.
9590 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9591 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9592 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9593 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9594 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9595 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9596
9597 [BZ #20160]
9598 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9599 argument to itself before returning the result.
9600 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9601 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9602 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9603 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9604 Likewise.
9605 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9606 Likewise.
9607 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9608 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9609 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9611 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9612 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9613
9614 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9615
9616 * libm-test.inc: Replace usage of M_El with
9617 (lit_e): New macro.
9618
9619 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9620
9621 * libm-test.inc: Replace usage of M_PI_4l with
9622 (lit_pi_4_d): New macro.
9623
9624 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9625
9626 * libm-test.inc: Replace usage of M_PIl with
9627 (lit_pi): New macro.
9628
9629 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9630
9631 * libm-test.inc: Replace usage of M_PI2l with
9632 (lit_pi_2_d): New macro.
9633
9634 * math/test-double.h (LITM): New macro.
9635 * math/test-float.h (LITM): Likewise.
9636 * math/test-ldouble.h (LITM): Likewise.
9637
9638 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9639
9640 * libm-test.inc (M_PI_34l): Rename to
9641 (lit_pi_3_m_4_d): New Macro.
9642 (M_PI_34_LOG10El): Rename to
9643 (lit_pi_3_m_4_ln10_m_d): New Macro.
9644 (M_PI2_LOG10El): Rename to
9645 (lit_pi_2_ln10_m_d): New Macro.
9646 (M_PI4_LOG10El): Rename to
9647 (lit_pi_4_ln10_m_d): New Macro.
9648 (M_PI_LOG10El): Rename to
9649 (lit_pi_ln10_d): New Macro.
9650
9651 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9652
9653 [BZ #20157]
9654 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9655 determine whether to negate low half if [_ARCH_PPCGR], and integer
9656 comparison otherwise.
9657 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9658 determine whether to negate low half.
9659
9660 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9661 (NO_TEST_INLINE_DOUBLE): Likewise.
9662 (TEST_COND_x86_64): Likewise.
9663 (TEST_COND_x86): Likewise.
9664 (M_PI_6l): Likewise.
9665
9666 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9667
9668 * math/libm-test.inc:
9669 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9670 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9671 (TEST_LDOUBLE): Update usage to evaluate as true if
9672 the guarded tests match the property being tested.
9673 (LDBL_MAX_EXP): Change to MAX_EXP.
9674 (LDBL_MIN_EXP): Change to MIN_EXP.
9675 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9676 nexttoward tests.
9677
9678 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9679
9680 * math/libm-test.inc:
9681 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9682 (TYPE_MIN): Likewise.
9683 (TYPE_TRUE_MIN): Likewise.
9684 (TYPE_MAX): Likewise.
9685 (MIN_EXP): Likewise.
9686 (MAX_EXP): Likewise.
9687 (MANT_DIG): Likewise.
9688
9689 (FSTR_MAX): New macro.
9690 (__CONCATX): Likewise.
9691 (QTYPE_STR): Likewise.
9692 (TEST_COND_binary32): Likewise.
9693 (TEST_COND_binary64): Likewise.
9694 (TEST_COND_binary128): Likewise.
9695 (TEST_COND_ibm128): Likewise.
9696 (TEST_COND_intel96): Likewise.
9697 (TEST_COND_m68k96): Likewise.
9698
9699 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9700 (TEST_COND_dbl_64): Likewise.
9701 (TEST_COND_ldbl_96_intel): Likewise.
9702 (TEST_COND_ldbl_96_m68k): Likewise.
9703 (TEST_COND_ldbl_128): Likewise.
9704 (TEST_COND_ldbl_128ibm): Likewise.
9705
9706 (plus_zero): Redefine using LIT macro.
9707 (minus_zero): Likewise.
9708 (plus_infty): Redefine as (INF).
9709 (minux_infty): Redefine as (-INF).
9710 (max_value): Redefine as TYPE_MAX.
9711 (min_value): Redefine as TYPE_MIN.
9712 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9713
9714 (print_float): Refactor to use snprintf to convert FLOAT values
9715 to string. This brings it closer to dropin replacement of strtof
9716 for the TS 18661 defined types.
9717 (update_stats): Likewise.
9718 (print_complex_function_ulps): Likewise.
9719 (print_max_error): Likewise.
9720 (print_complex_max_error): Likewise.
9721 (check_float_internal): Likewise.
9722
9723 * math/test-float.h (PREFIX): New macro.
9724 (LIT): Likewise.
9725 (TYPE_STR): Likewise.
9726 (FTOSTR): Likewise.
9727
9728 * math/test-double.h (PREFIX): New macro.
9729 (LIT): Likewise.
9730 (TYPE_STR): Likewise.
9731 (FTOSTR): Likewise.
9732
9733 * math/test-ldouble.h (PREFIX): New macro.
9734 (LIT): Likewise.
9735 (TYPE_STR): Likewise.
9736 (FTOSTR): Likewise.
9737
9738 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9739
9740 [BZ #20156]
9741 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9742 to itself when zero or not finite.
9743 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9747
9748 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9749
9750 [BZ #20153]
9751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9752 x * x + x for infinities and NaNs.
9753
9754 [BZ #20151]
9755 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9756 argument to itself before returning result.
9757 (__ieee754_y0l): Likewise.
9758 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9759 (__ieee754_y1l).
9760
9761 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9762 (atan_test_data): Likewise.
9763 (ceil_test_data): Likewise.
9764 (cos_test_data): Likewise.
9765 (cosh_test_data): Likewise.
9766 (erf_test_data): Likewise.
9767 (exp2_test_data): Likewise.
9768 (fabs_test_data): Likewise.
9769 (floor_test_data): Likewise.
9770 (ilogb_test_data): Likewise.
9771 (j0_test_data): Likewise.
9772 (j1_test_data): Likewise.
9773 (jn_test_data): Likewise.
9774 (lgamma_test_data): Likewise.
9775 (lrint_test_data): Likewise.
9776 (llrint_test_data): Likewise.
9777 (logb_test_data): Likewise.
9778 (lround_test_data): Likewise.
9779 (llround_test_data): Likewise.
9780 (nearbyint_test_data): Likewise.
9781 (rint_test_data): Likewise.
9782 (round_test_data): Likewise.
9783 (sin_test_data): Likewise.
9784 (sincos_test_data): Likewise.
9785 (sinh_test_data): Likewise.
9786 (sqrt_test_data): Likewise.
9787 (tan_test_data): Likewise.
9788 (tanh_test_data): Likewise.
9789 (tgamma_test_data): Likewise.
9790 (trunc_test_data): Likewise.
9791 (y0_test_data): Likewise.
9792 (y1_test_data): Likewise.
9793 (yn_test_data): Likewise.
9794
9795 * math/libm-test.inc: Update comment about NaN testing.
9796 (TEST_SNAN): New macro.
9797 (snan_value): Likewise.
9798 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9799 (fpclassify_test_data): Add sNaN tests.
9800 (isfinite_test_data): Likewise.
9801 (isinf_test_data): Likewise.
9802 (isnan_test_data): Likewise.
9803 (isnormal_test_data): Likewise.
9804 (issignaling_test_data): Likewise.
9805 (signbit_test_data): Likewise.
9806 * math/gen-libm-test.pl (%beautify): Add snan_value.
9807 (show_exceptions): Add argument $test_snan.
9808 (parse_args): Handle snan_value as non-finite. Update call to
9809 show_exceptions.
9810 * math/Makefile (libm-test-no-inline-cflags): Add
9811 -fsignaling-nans.
9812
9813 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9814
9815 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9816 (CFLAGS-oldsendmsg.c): Add rule.
9817 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9818 Correct recvmsg symbol name.
9819 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9820 Likewise.
9821
9822 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9823
9824 * sysdeps/unix/sysv/linux/Makefile
9825 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9826 oldsendmmsg.
9827 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9828 sendmmsg.
9829 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9830 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9831 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9832 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9834 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9835 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9837 Likewise.
9838 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9840 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9841 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9842 iovlen and controllen fields to adjust to POSIX specification.
9843 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9844
9845 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9846 and change to correct expected type.
9847 (msghdr.msg_controllen): Likewise.
9848 (cmsghdr.cmsg_len): Likewise.
9849 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9850 expected POSIX assumption about the size.
9851 (msghdr.msg_controllen): Likewise.
9852 (msghdr.__glibc_reserved1): Likewise.
9853 (msghdr.__glibc_reserved2): Likewise.
9854 (cmsghdr.cmsg_len): Likewise.
9855 (cmsghdr.__glibc_reserved1): Likewise.
9856 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9857 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9858 (CFLAGS-sendmsg.c): Remove rule.
9859 (CFLAGS-recvmsg.c): Likewise.
9860 (CFLAGS-oldsendmsg.c): Add rule.
9861 (CFLAGS-oldrecvmsg.c): Likewise.
9862 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9863 recvmsg and sendmsg.
9864 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9865 Likewise.
9866 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9867 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9868 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9869 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9870 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9871 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9872 Likewise.
9873 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9874 Likewise.
9875 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9876 Likewise.
9877 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9878 Likewise.
9879 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9880 Likewise.
9881 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9882 Likewise.
9883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9884 (GLIBC_2.24): Likewise.
9885 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9886 Likewise.
9887 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9888 Likewise.
9889 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9890 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9891 Likewise.
9892 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9893 Likewise.
9894 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9895 Likewise.
9896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9897 (GLIBC_2.24): Likewise.
9898 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9899 Likewise.
9900 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9901 Likewise.
9902 * sysdeps/unix/sysv/linux/Makefile
9903 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9904 (CFLAGS-sendmsg.c): Add rule.
9905 (CFLAGS-recvmsg.c): Likewise.
9906 (CFLAGS-oldsendmsg.c): Likewise.
9907 (CFLAGS-oldrecvmsg.c): Likewise.
9908 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9909 initialization.
9910 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9911 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9912 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9913 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9914 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9915 iovlen and controllen fields to adjust to POSIX specification.
9916 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9917 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9918 added recvmsg and sendmsg.
9919 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9920 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9921 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9922 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9923 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9924 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9925 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9926 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9927 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9928 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9929 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9930 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9932 Likewise.
9933 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9935 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9936 Likewise.
9937 Likewise.
9938 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9939 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9940 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9942 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9945 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9947 Likewise.
9948 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9950
9951 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9952 from auto-generation.
9953 (sendmsg): Likewise.
9954 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9955 (sendmsg): Likewise.
9956 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9957 (sendmsg): Likewise.
9958 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9959 (sendmsg): Likewise.
9960 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9961 (sendmsg): Likewise.
9962 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9963 (sendmsg): Likewise.
9964 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9965 Likewise.
9966 (sendmsg): Likewise.
9967 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9968 (sendmsg): Likewise.
9969 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9970 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9971 Remove.
9972 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9973 Likewise.
9974 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9975 Undefine.
9976 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9977 Likewise.
9978 * sysdeps/unix/sysv/linux/kernel-features.h
9979 (__ASSUME_SENDMSG_SYSCALL): Define.
9980 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9981 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9982 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9983 Remove.
9984 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9985 Likewise.
9986 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9987 Undefine.
9988 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9991 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9992 Remove.
9993 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9994 Likewise.
9995 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9996 Undefine.
9997 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9998 Likewise.
9999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10000 (__ASSUME_SENDMSG_SYSCALL): Undefine.
10001 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10002 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10003 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10004 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10005 * sysdeps/unix/sysv/linux/sh/kernel-features.h
10006 (__ASSUME_SENDMSG_SYSCALL): Likewise.
10007 (__ASSUME_RECVMSG_SYSCALL): Likewise.
10008
10009 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10010
10011 * stdlib/gen-tst-strtod-round.c: Add backslash to
10012 compile command in comment.
10013 (printfp): Remove the literal suffix, and define an infinite
10014 value as INF to avoid expansion clash with INFINITY.
10015 (round_str): Remove the literal suffix.
10016 (round_for_all): Likewise, remove the now duplicate ldbl-64
10017 entry, and remove some magic constants.
10018
10019 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10020 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
10021 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10022 (_CONCAT): New macro.
10023 (CONCAT): Likewise.
10024 (CHOOSE_ld): Likewise.
10025 (CHOOSE_f): Likewise.
10026 (CHOOSE_d): Likewise.
10027 (FTYPE_MEMBER): Likewise.
10028 (BOOL_MEMBER): Likewise.
10029 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10030 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10031 (_XNTRY): Likewise.
10032 (XNTRY): Likewise.
10033 (_ENTRY): Likewise.
10034 (ENTRY): Likewise.
10035 (test_exactness): Generate members via macro.
10036 (test_results): Likewise.
10037 (test): Update members.
10038 (TEST): Redefine using new macros.
10039 (INF): New macro.
10040 (fetestmodes): New structure.
10041 (do_test): Refactor to be type generic.
10042 (test_in_one_mode): Refactor duplicate code into
10043 (GEN_ONE_TEST): New macro.
10044
10045 * stdlib/tst-strtod-round-data.h: Regenerate.
10046
10047 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10048 Extend to pass additional arbitrary parameters to
10049 generators.
10050
10051 2016-05-25 Joseph Myers <joseph@codesourcery.com>
10052
10053 [BZ #15479]
10054 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10055 floating-point state after first floating-point operation on
10056 input. Restore full floating-point state instead of just rounding
10057 mode.
10058 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10059 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10060 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10061 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10062 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10063
10064 [BZ #15479]
10065 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10066 floating-point state after first floating-point operation on
10067 input. Restore full floating-point state instead of just rounding
10068 mode.
10069 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10070 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10071 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10072 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10073 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10074
10075 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10076
10077 [BZ #19727]
10078 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10079 valid high surrogate.
10080 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10081 of an utf16 surrogate.
10082 * iconv/gconv_simple.c (BODY): Likewise.
10083 * iconvdata/bug-iconv12.c: New file.
10084 * iconvdata/Makefile (tests): Add bug-iconv12.
10085
10086 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10087
10088 [BZ #19726]
10089 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10090 outptrp in case of an illegal input.
10091 * iconv/tst-iconv6.c: New file.
10092 * iconv/Makefile (tests): Add tst-iconv6.
10093
10094 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10095
10096 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10097 an error in case of a value in range of an utf16 low surrogate.
10098
10099 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10100
10101 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10102 an error in case of a value in range of an utf16 low surrogate.
10103
10104 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10105
10106 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10107 Move to ...
10108 * sysdeps/s390/Makefile: ... here.
10109 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10110 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10111 (BRANCH_ON_COUNT): New define.
10112 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10113 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10114 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10115 run on s390-32, too.
10116 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10117 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10118 run on s390-32, too.
10119 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10120 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10121 run on s390-32, too.
10122
10123 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10124
10125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10126 etf3eh or new vector loop-variant.
10127
10128 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10129
10130 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10131 etf3eh or new vector loop-variant.
10132
10133 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10134
10135 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10136 or new vector loop-variant.
10137
10138 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10139
10140 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10141 Rename to TR_LOOP and usage of tr instead of troo instruction.
10142
10143 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10144
10145 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10146 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10147
10148 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10149
10150 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10151 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10152 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10153 New override define.
10154 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10155
10156 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10157
10158 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10159 * sysdeps/s390/configure.ac: Add test for S390 vector register
10160 support in gcc.
10161 * sysdeps/s390/configure: Regenerated.
10162
10163 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10164
10165 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10166 Install file from $(objpfx)gconv-modules.
10167 ($(objpfx)gconv-modules): Concatenate architecture specific file
10168 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10169 * sysdeps/s390/gconv-modules: New file.
10170 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10171 Deleted.
10172 ($(objpfx)gconv-modules-s390): Deleted.
10173 (sysdeps-gconv-modules): New variable.
10174
10175 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10176
10177 [BZ #15479]
10178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10179 of immediate operand to rounding instruction.
10180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10181 Likewise.
10182 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10183 Likewise.
10184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10185 Likewise.
10186
10187 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10188
10189 * math/libm-test.inc (MIN_EXP): Directly define as
10190 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10191
10192 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10193
10194 * math/libm-test.inc (MANT_DIG): Directly define as
10195 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10196
10197 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10198
10199 * stdlib/gen-tst-strtod-round.c (main):
10200 Change usage to more closely match the generated
10201 output. Add usage and compilation instructions.
10202 (string_to_fp): Add and use FILE* parameter as
10203 output target.
10204 (print_fp): Likewise.
10205 (round_str): Likewise.
10206 (round_for_all): Likewise.
10207 * stdlib/tst-strtod-round.c (tests): Move into
10208 * stdlib/tst-strtod-round-data.h: New file.
10209
10210 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10211
10212 [BZ #15479]
10213 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10214 (__round): Do not force "inexact" exception.
10215 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10216 variable.
10217 (__round): Do not force "inexact" exception.
10218 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10219 (__roundf): Do not force "inexact" exception.
10220 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10221 (__roundl): Do not force "inexact" exception.
10222 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10223 (__roundl): Do not force "inexact" exception.
10224 * math/libm-test.inc (round_test_data): Do not allow spurious
10225 "inexact" exceptions.
10226
10227 [BZ #15479]
10228 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10229 exception in comment.
10230 (huge): Remove variable.
10231 (__floor): Do not force "inexact" exception.
10232 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10233 "inexact" exception in comment.
10234 (huge): Remove variable.
10235 (__floor): Do not force "inexact" exception.
10236 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10237 exception in comment.
10238 (huge): Remove variable.
10239 (__floorf): Do not force "inexact" exception.
10240 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10241 exception in comment.
10242 (huge): Remove variable.
10243 (__floorl): Do not force "inexact" exception.
10244
10245 [BZ #15479]
10246 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10247 exception in comment.
10248 (huge): Remove variable.
10249 (__ceil): Do not force "inexact" exception.
10250 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10251 "inexact" exception in comment.
10252 (huge): Remove variable.
10253 (__ceil): Do not force "inexact" exception.
10254 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10255 (__ceilf): Do not force "inexact" exception.
10256 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10257 exception in comment.
10258 (huge): Remove variable.
10259 (__ceill): Do not force "inexact" exception.
10260
10261 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10262
10263 * config.h.in (BIND_NOW): New.
10264 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10265 * configure: Regenerated.
10266 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10267 indirect branch via the GOT slot.
10268
10269 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10270
10271 [BZ #19765]
10272 * sysdeps/s390/mempcpy.S: New File.
10273 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10274 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10275 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10276 Add mempcpy variants.
10277 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10278 (memcpy): Adjust to be usable from mempcpy entry point.
10279 (__memcpy_mvcle): Likewise.
10280 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10281 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10282 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10283 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10284 (__memcpy_z10): Likewise.
10285 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10286
10287 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10288
10289 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10290 Remove __GI_ symbol.
10291 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10292 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10293 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10294 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10295 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10296 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10297
10298 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10299
10300 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10301 Use cghi instead of chi to compare 64bit value.
10302
10303 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10304
10305 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10306 Jump to 1MB check before executing mvc-loop.
10307
10308 2016-05-24 Florian Weimer <fweimer@redhat.com>
10309
10310 [BZ #6527]
10311 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10312 unconditionally.
10313 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10314
10315 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10316
10317 * stdlib/tst-strtod6.c (do_test): Use new type generic
10318 invocation of the test function.
10319 (test): Refactor into ...
10320 (TEST_STRTOD): New macro base function.
10321
10322 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10323
10324 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10325 (TEST_STRTOD): New macro.
10326 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10327
10328 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10329
10330 * stdlib/tst-strtod6.c (do_test): Use new type generic
10331 invocation of the test function.
10332 (test): Refactor into ...
10333 (TEST_STRTOD): New macro base function.
10334
10335 2016-05-23 Florian Weimer <fweimer@redhat.com>
10336
10337 CVE-2016-4429
10338 [BZ #20112]
10339 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10340 payload.
10341
10342 2016-05-23 Florian Weimer <fweimer@redhat.com>
10343
10344 [BZ #20111]
10345 * bits/sockaddr.h (_SS_SIZE): Define.
10346 * bits/socket.h (_SS_SIZE): Remove.
10347 (_SS_PADSIZE): Adjust to account for all padding.
10348 (struct sockaddr_storage): Update comment. Avoid implicit
10349 padding.
10350 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10351 (_SS_PADSIZE): Adjust to account for all padding.
10352 (struct sockaddr_storage): Update comment. Avoid implicit
10353 padding.
10354 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10355 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10356 (_SS_PADSIZE): Adjust to account for all padding.
10357 (struct sockaddr_storage): Update comment. Avoid implicit
10358 padding.
10359 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10360 __SS_SIZE is 126 in this version.
10361 * inet/tst-sockaddr.c: New file.
10362 * inet/Makefile (tests): Add tst-sockaddr.c
10363 (tst-sockaddr.c): Compile with non-strict aliasing.
10364
10365 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10366
10367 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10368 [XPG3 || XPG4].
10369 (NL_ARGMAX): Also expect for [XPG3].
10370 (NL_LANGMAX): Likewise.
10371 (NL_MSGMAX): Likewise.
10372 (NL_NMAX): Likewise.
10373 (NL_SETMAX): Likewise.
10374 (NL_TEXTMAX): Likewise.
10375 (NZERO): Likewise.
10376 (TMP_MAX): Likewise.
10377 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10378 variable.
10379
10380 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10381 (PF_MAX): Update value.
10382 (AF_KCM): New macro.
10383 (SOL_NETBEUI): Likewise.
10384 (SOL_LLC): Likewise.
10385 (SOL_DCCP): Likewise.
10386 (SOL_NETLINK): Likewise.
10387 (SOL_TIPC): Likewise.
10388 (SOL_RXRPC): Likewise.
10389 (SOL_PPPOL2TP): Likewise.
10390 (SOL_BLUETOOTH): Likewise.
10391 (SOL_PNPIPE): Likewise.
10392 (SOL_RDS): Likewise.
10393 (SOL_IUCV): Likewise.
10394 (SOL_CAIF): Likewise.
10395 (SOL_ALG): Likewise.
10396 (SOL_NFC): Likewise.
10397 (SOL_KCM): Likewise.
10398 (MSG_BATCH): New enum value and macro.
10399
10400 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 [BZ #18185]
10403 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10404 sharing L2 cache to 2 for Knights Landing.
10405
10406 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10407
10408 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10409 (FTW_DP): Do not expect for [XPG3 || XPG4].
10410 (FTW_SL): Do not expect for [XPG3].
10411 (FTW_SLN): Likewise.
10412 (FTW_PHYS): Likewise.
10413 (FTW_MOUNT): Likewise.
10414 (FTW_DEPTH): Likewise.
10415 (FTW_CHDIR): Likewise.
10416 (nftw): Likewise.
10417 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10418 variable.
10419
10420 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10421
10422 * manual/errno.texi: Fix various typos & grammar errors.
10423
10424 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10425
10426 * manual/intro.texi: Fix duplicated typo.
10427
10428 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10429
10430 [BZ #13304]
10431 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10432 <float.h>, <math_private.h> and <stdlib.h>.
10433 (add_split): New function.
10434 (mul_split): Likewise.
10435 (ext_val): New typedef.
10436 (store_ext_val): New function.
10437 (mul_ext_val): New function.
10438 (compare): New function.
10439 (add_split_ext): New function.
10440 (__fmal): After checking for Inf, NaN and zero, compute result as
10441 an exact sum of scaled double values in round-to-nearest before
10442 adding those up and adjusting for other rounding modes.
10443 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10444 tests of fma.
10445 * math/auto-libm-test-out: Regenerated.
10446
10447 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10448
10449 [BZ #20119]
10450 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10451 processor level type mask for CPUID with EAX == 11.
10452
10453 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10456 logical threads if the HTT bit is 0.
10457 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10458 (index_cpu_HTT): Likewise.
10459 (reg_HTT): Likewise.
10460
10461 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10462
10463 [BZ #20115]
10464 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10465 Remove alignments on jump targets.
10466
10467 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10468
10469 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10470 (getpwent): Likewise.
10471 (setpwent): Likewise.
10472 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10473 variable.
10474
10475 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10476 (remque): Likewise.
10477 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10478 variable.
10479
10480 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10481
10482 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10483 not being tested.
10484
10485 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10486
10487 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10488 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10489 call.
10490 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10491 (__condvar_cleanup1): Likewise.
10492
10493 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10494
10495 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10496 New
10497 (__pthread_unwind): Renamed to ...
10498 (PTHREAD_UNWIND): This.
10499 (__pthread_enable_asynccancel): Replace
10500 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10501
10502 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10503
10504 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10505 (CLONE_NEWCGROUP): New macro.
10506
10507 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10508 (Q_GETNEXTQUOTA): New macro.
10509
10510 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10511
10512 [BZ #19907]
10513 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10514 buffer updated by the previous run.
10515 * string/test-memcpy.c (do_one_test): Likewise.
10516 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10517 * string/test-memmove.c (do_one_test): Likewise.
10518
10519 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10520
10521 [BZ #20094]
10522 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10523 not [__USE_XOPEN].
10524 (unlockpt): Likewise.
10525 (ptsname): Likewise.
10526 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10527 variable.
10528
10529 [BZ #20076]
10530 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10531 instead of [__USE_UNIX98].
10532 (S_ISSOCK): Likewise.
10533 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10534 variable.
10535
10536 [BZ #20074]
10537 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10538 [__USE_POSIX].
10539 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10540 variable.
10541
10542 [BZ #20051]
10543 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10544 (ttyslot): Do not declare.
10545 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10546 (ttyslot): New prototype.
10547 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10548 variable.
10549 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10550
10551 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10552
10553 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10554
10555 2016-05-13 Florian Weimer <fweimer@redhat.com>
10556
10557 Fix race condition in tst-mallocfork2, use fewer resources.
10558 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10559 to current process group.
10560 (signal_sender): Yield in the non-sleeping case.
10561
10562 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10563
10564 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10565 (ecvt): Likewise.
10566 (fcvt): Likewise.
10567 (gcvt): Likewise.
10568 (getsubopt): Likewise.
10569 (grantpt): Likewise.
10570 (initstate): Likewise.
10571 (l64a): Likewise.
10572 (mktemp): Likewise.
10573 (mkstemp): Likewise.
10574 (ptsname): Likewise.
10575 (random): Likewise.
10576 (realpath): Likewise.
10577 (setstate): Likewise.
10578 (srandom): Likewise.
10579 (ttyslot): Likewise.
10580 (unlockpt): Likewise.
10581 (valloc): Likewise.
10582
10583 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10584 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10585 variable.
10586
10587 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10588
10589 [BZ #20072]
10590 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10591 init_cpu_features only if SHARED is defined.
10592 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10593
10594 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10595
10596 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10597 non-inclusive caches on Intel processors.
10598
10599 2016-05-13 Florian Weimer <fweimer@redhat.com>
10600
10601 * malloc/malloc.c (dumped_main_arena_start)
10602 (dumped_main_arena_end): New variables.
10603 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10604 (do_check_chunk): Skip dumped fake mmapped chunks.
10605 (munmap_chunk): Likewise.
10606 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10607 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10608 mmapped chunks.
10609 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10610 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10611 and dumped_main_arena_end to cover the dumped heap.
10612
10613 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10614
10615 * conform/data/time.h-data (getdate_err): Do not expect for
10616 [XPG3].
10617 (getdate): Likewise.
10618 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10619 variable.
10620
10621 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10622 (F_ULOCK): Likewise.
10623 (F_TEST): Likewise.
10624 (F_TLOCK): Likewise.
10625 (useconds_t): Likewise.
10626 (intptr_t): Do not expect for [XPG3] or [XPG4].
10627 (brk): Do not expect for [XPG3]
10628 (fchown): Likewise.
10629 (fchdir): Likewise.
10630 (ftruncate): Likewise.
10631 (getdtablesize): Likewise.
10632 (gethostid): Likewise.
10633 (getpagesize): Likewise.
10634 (getpgid): Likewise.
10635 (getsid): Likewise.
10636 (getwd): Likewise.
10637 (lchown): Likewise.
10638 (lockf): Likewise.
10639 (readlink): Likewise.
10640 (sbrk): Likewise.
10641 (setpgrp): Likewise.
10642 (setregid): Likewise.
10643 (setreuid): Likewise.
10644 (symlink): Likewise.
10645 (sync): Likewise.
10646 (truncate): Likewise.
10647 (ualarm): Likewise.
10648 (usleep): Likewise.
10649 (vfork): Likewise.
10650 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10651 variable.
10652
10653 [BZ #20054]
10654 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10655 not [__USE_UNIX98].
10656 * conform/data/unistd.h-data (gethostname): Do not expect for
10657 [XPG3].
10658
10659 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10660 [!POSIX] (S_IFBLK): Likewise.
10661 [!POSIX] (S_IFCHR): Likewise.
10662 [!POSIX] (S_IFIFO): Likewise.
10663 [!POSIX] (S_IFREG): Likewise.
10664 [!POSIX] (S_IFDIR): Likewise.
10665 [!POSIX] (S_IFLNK): Likewise.
10666 [!POSIX] (S_IFSOCK): Likewise.
10667 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10668 variable.
10669 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10670
10671 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10672
10673 * sysdeps/aarch64/memset.S (__memset):
10674 Rewrite of optimized memset.
10675
10676 2016-05-12 Florian Weimer <fweimer@redhat.com>
10677
10678 [BZ #19703]
10679 Partially async-signal-safe fork for single-threaded processes.
10680 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10681 variable. Do not acquire and reset/release malloc and libio locks
10682 in single-threaded processes.
10683 * malloc/tst-mallocfork2.c: New file.
10684 * malloc/Makefile (tests): Add it.
10685
10686 2016-05-12 Florian Weimer <fweimer@redhat.com>
10687
10688 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10689 argument. Use scratch buffer instead of extend_alloca.
10690 (gethosts): Use scratch buffer instead of extend_alloca.
10691 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10692 extend_alloca.
10693 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10694
10695 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10696
10697 [BZ #20055]
10698 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10699 instead of [__USE_UNIX98].
10700 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10701 [__USE_UNIX98].
10702 * conform/data/termios.h-data (tcgetsid): Do not expect for
10703 [XPG3].
10704 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10705 variable.
10706 (test-xfail-XPG4/termios.h/conform): Likewise.
10707
10708 2016-05-11 Florian Weimer <fweimer@redhat.com>
10709
10710 Do not use mcheck in localedef.
10711 * locale/programs/localedef.c (turn_on_mcheck)
10712 (__malloc_initialize_hook): Remove.
10713
10714 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10715
10716 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10717 * sysdeps/s390/s390-64/Makefile: Likewise.
10718
10719 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10720
10721 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10722 Remove ifunc-defines.sym.
10723 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10724 Likewise.
10725 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10726 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10727 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10728 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10729 rtld-global-offsets.sym.
10730 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10731 * sysdeps/x86/cpu-features-offsets.sym: This.
10732 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10733 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10734
10735 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10736
10737 [BZ #20073]
10738 * io/sys/stat.h (fchmod): Declare for
10739 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10740 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10741 variable.
10742
10743 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10744 [XPG3] (S_IFSOCK): Likewise.
10745 [XPG3] (S_ISVTX): Likewise.
10746 [XPG3] (S_ISLNK): Likewise.
10747 [XPG3] (S_ISSOCK): Likewise.
10748 [XPG3] (fchmod): Likewise.
10749 [XPG3] (lstat): Likewise.
10750 [XPG3] (mknod): Likewise.
10751
10752 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10753 [XPG3]. Expect type long and XFAIL for [XPG4].
10754 (st_blocks): Likewise.
10755
10756 [BZ #20044]
10757 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10758 (pthread_atfork): New prototype.
10759 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10760 variable.
10761
10762 [BZ #20043]
10763 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10764 prototype.
10765
10766 2016-05-10 Florian Weimer <fweimer@redhat.com>
10767
10768 [BZ #20017]
10769 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10770 gmtime.
10771
10772 2016-05-10 Florian Weimer <fweimer@redhat.com>
10773
10774 [BZ #19994]
10775 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10776 flag in _res.options.
10777
10778 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10779
10780 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10781 [XPG3 || XPG4].
10782 (blksize_t): Likewise.
10783 (clockid_t): Likewise.
10784 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10785 variable.
10786 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10787
10788 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10789
10790 * sysdeps/unix/sysv/linux/s390/init-first.c:
10791 Add VDSO_SYMBOL(getcpu).
10792 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10793 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10794 Add VDSO_SYMBOL(getcpu).
10795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10796 New define HAVE_GETCPU_VSYSCALL.
10797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10798
10799 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10800
10801 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10802 instead of <sysdeps/x86_64/cacheinfo.c>.
10803 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10804 * sysdeps/x86/cacheinfo.c: Here.
10805
10806 2016-05-04 Florian Weimer <fweimer@redhat.com>
10807
10808 * malloc/malloc-internal.h: Adjust header file guard.
10809
10810 2016-05-04 Florian Weimer <fweimer@redhat.com>
10811
10812 [BZ #19787]
10813 * inet/getnameinfo.c (check_sprintf_result): New function.
10814 (CHECKED_SNPRINTF): New macro.
10815 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10816 to the host buffer.
10817 (gni_host_local): Use checked_copy to copy the host name.
10818 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10819 (gni_serv_local): Use checked_copy to copy the service name.
10820 (getnameinfo): Remove unnecessary truncation of result buffers.
10821
10822 2016-05-04 Florian Weimer <fweimer@redhat.com>
10823
10824 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10825 in case of inet_ntop failure.
10826
10827 2016-05-04 Florian Weimer <fweimer@redhat.com>
10828
10829 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10830 avoid long lines.
10831 (gni_host_inet_numeric): Likewise. Reduce scope of local
10832 variables.
10833 (gni_host_inet, gni_host_local): Add comment.
10834 (gni_host): Add comment. Use temporary to avoid long lines.
10835
10836 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10837
10838 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10839 registers specifiers where general purpose registers specifiers should
10840 have been used.
10841
10842 2016-05-04 Florian Weimer <fweimer@redhat.com>
10843
10844 [BZ #19779]
10845 CVE-2016-1234
10846 Avoid copying names of directory entries.
10847 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10848 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10849 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10850 (struct readdir_result): New type.
10851 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10852 (GL_READDIR): New macros.
10853 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10854 (convert_dirent, convert_dirent64): New functions.
10855 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10856 convert_dirent64. Adjust references to the readdir result.
10857 * sysdeps/unix/sysv/linux/i386/glob64.c:
10858 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10859 * posix/bug-glob2.c (LONG_NAME): Define.
10860 (filesystem): Add LONG_NAME.
10861 (my_DIR): Increase the size of room_for_dirent.
10862
10863 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10864
10865 [BZ #20041]
10866 * misc/sys/select.h (__need_timespec): Only define if
10867 [__USE_XOPEN2K].
10868 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10869 variable.
10870 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10871 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10872 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10873
10874 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10875 Segher Boessenkool <segher@gcc.gnu.org>
10876
10877 [BZ #20004]
10878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10879 (__novec_swapcontext): Add missing load.
10880
10881 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10882
10883 [BZ #20023]
10884 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10885 <time.h>.
10886 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10887 variable.
10888 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10889
10890 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10891
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10893 flags CLONE_VM compare.
10894
10895 2016-05-02 Florian Weimer <fweimer@redhat.com>
10896
10897 [BZ #20031]
10898 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10899 completely empty.
10900
10901 2016-05-02 Florian Weimer <fweimer@redhat.com>
10902
10903 [BZ #19573]
10904 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10905 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10906 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10907 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10908 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10909 (hesiod_free_list): Mark as hidden.
10910 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10911 res_set, res_get.
10912 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10913 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10914 (hesiod_init): Remove obsolete res_ninit call.
10915 (hesiod_end): Do not free resolver state. Do not invoke callback.
10916 (hesiod_bind): Do not call init.
10917 (get_txt_records): Use res_mkquery, res_send instead of
10918 res_nmkquery, res_nsend.
10919 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10920 instead of _nss_hesiod_init.
10921 (_nss_hesiod_initgroups_dyn): Likewise.
10922 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10923 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10924 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10925
10926 2016-05-02 Florian Weimer <fweimer@redhat.com>
10927
10928 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10929 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10930
10931 2016-05-02 Florian Weimer <fweimer@redhat.com>
10932
10933 * hesiod/hesiod.h: Remove RCS keyword.
10934 * hesiod/hesiod_p.h: Likewise.
10935
10936 * hesiod/hesiod.c: Likewise.
10937
10938 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10939
10940 [BZ #12450]
10941 * locale/iso-639.def: Add Samogitian/sgs.
10942
10943 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10944
10945 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10946
10947 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10948
10949 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10950 Carlos O'Donell <carlos@redhat.com>
10951
10952 [BZ #19072]
10953 * grp/Makefile (headers): Add grp-merge.h
10954 (routines): Add grp-merge.
10955 * grp/getgrgid_r.c: Include grp-merge.h.
10956 (DEEPCOPY_FN): Define.
10957 (MERGE_FN): Define.
10958 * grp/getgrname_r.c: Include grp-merge.h.
10959 (DEEPCOPY_FN): Define.
10960 (MERGE_FN): Define.
10961 * grp/grp-merge.c: New file.
10962 * grp/grp-merge.h: New file.
10963 * include/grp-merge.h: New file.
10964 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10965 __copy_grp@GLIBC_PRIVATE.
10966 * manual/nss.texi (Actions in the NSS configuration): Describe
10967 return, continue, and merge.
10968 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10969 (DEEPCOPY_FN): Define.
10970 (MERGE_FN): Define.
10971 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10972 (DEEPCOPY_FN): Define.
10973 (MERGE_FN): Define.
10974 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10975 [!MERGE_FN]: Define __merge_einval.
10976 (CHECK_MERGE): Define.
10977 (REENTRANT_NAME): Process merge if do_merge is true.
10978 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10979 (__nss_getent_r): Likewise.
10980 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10981 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10982
10983 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10984
10985 [BZ #20012]
10986 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10987 length to calculate the buffer to read.
10988 (fmemopen_write): Set the buffer position based on bytes written.
10989 (fmemopen_seek): Return EINVAL for invalid whence modes.
10990
10991 [BZ #19957]
10992 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10993 tst-getpid2.
10994 (test): Add tst-clone2.
10995 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10996 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10997 pid/tid fields for CLONE_VM.
10998 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10999 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11000 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11001 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11002 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11003 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11004 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11005 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11007 Likewise.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11009 Likewise.
11010 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11011 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11012 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11013 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11014 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11015 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11016 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11017 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11018
11019 2016-04-29 Florian Weimer <fweimer@redhat.com>
11020
11021 [BZ #19642]
11022 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11023 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11024 (gni_serv_local, gni_serv): New functions extracted from
11025 getnameinfo.
11026 (getnameinfo): Call gni_host and gni_serv to perform the
11027 processing. Always free scratch buffer.
11028
11029 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11030
11031 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11032 remaining bytes in the dest string, with zeros.
11033
11034 2016-04-29 Florian Weimer <fweimer@redhat.com>
11035
11036 [BZ #20010]
11037 CVE-2016-3706
11038 * sysdeps/posix/getaddrinfo.c
11039 (convert_hostent_to_gaih_addrtuple): New function.
11040 (gethosts): Call convert_hostent_to_gaih_addrtuple.
11041 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11042 AF_INET data.
11043
11044 2016-04-29 Florian Weimer <fweimer@redhat.com>
11045
11046 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11047 callback function gl_readdir.
11048 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11049 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11050 (glob_in_dir): Remove len. Use strdup instead of malloc and
11051 memcpy to copy the name.
11052 * manual/pattern.texi (Calling Glob): Document requirements for
11053 implementations of the gl_readdir callback function.
11054 * manual/examples/mkdirent.c: New example.
11055 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11056 per the manual guidance.
11057 * posix/tst-gnuglob.c (my_readdir): Likewise.
11058
11059 2016-04-28 Joseph Myers <joseph@codesourcery.com>
11060
11061 [BZ #20014]
11062 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11063 not [__USE_POSIX].
11064 (getchar_unlocked): Likewise.
11065 (putc_unlocked): Likewise.
11066 (putchar_unlocked): Likewise.
11067 (flockfile): Likewise.
11068 (ftrylockfile): Likewise.
11069 (funlockfile): Likewise.
11070 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11071 variable.
11072 (test-xfail-XPG4/stdio.h/conform): Likewise.
11073
11074 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11075 Expect constant.
11076 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11077 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11078 variable.
11079 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11080 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11081
11082 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11083 [__USE_LARGEFILE64] (off64_t): Likewise.
11084 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11085 variable.
11086
11087 2016-04-28 Florian Weimer <fweimer@redhat.com>
11088
11089 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11090
11091 2016-04-28 Florian Weimer <fweimer@redhat.com>
11092
11093 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11094 * resolv/res_init.c: Likewise.
11095 * resolv/res_mkquery.c: Likewise.
11096
11097 2016-04-28 Florian Weimer <fweimer@redhat.com>
11098
11099 * resolv/res_init.c (isascii): Do not define. Use definition in
11100 <ctype.h>.
11101 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11102 (LOG_AUTH): Remove.
11103 (SPRINTF): Remove, adjust caller.
11104 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11105
11106 2016-04-28 Florian Weimer <fweimer@redhat.com>
11107
11108 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11109 SUNSECURITY conditional.
11110 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11111
11112 2016-04-28 Florian Weimer <fweimer@redhat.com>
11113
11114 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11115 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11116 Remove BSD-related preprocessor conditionals.
11117 * conf/portability.h: Remove.
11118
11119 2016-04-28 Florian Weimer <fweimer@redhat.com>
11120
11121 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11122 * resolv/res_data.c: Likewise.
11123
11124 2016-04-28 Florian Weimer <fweimer@redhat.com>
11125
11126 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11127 * resolv/res_data.c: Remove code conditional on ultrix.
11128
11129 2016-04-28 Florian Weimer <fweimer@redhat.com>
11130
11131 * resolv/res_init.c (RFC1535): Do not define. Remove
11132 RFC1535 preprocessor conditionals.
11133 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11134 because there configuration options which make the resolver
11135 behavior different.
11136
11137 2016-04-28 Florian Weimer <fweimer@redhat.com>
11138
11139 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11140 RESOLVSORT preprocessor conditionals.
11141 * resolv/nss_dns/dns-host.c: Likewise.
11142 * resolv/res_init.c: Likewise.
11143
11144 2016-04-28 Florian Weimer <fweimer@redhat.com>
11145
11146 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11147 is never defined.
11148
11149 2016-04-28 Florian Weimer <fweimer@redhat.com>
11150
11151 * inet/inet_lnaof.c: Remove SCSS keyword.
11152 * inet/inet_mkadr.c: Likewise.
11153 * inet/inet_net.c: Likewise.
11154 * inet/inet_netof.c: Likewise.
11155 * inet/rcmd.c: Likewise.
11156 * inet/rexec.c: Likewise.
11157 * inet/ruserpass.c: Likewise.
11158
11159 2016-04-28 Florian Weimer <fweimer@redhat.com>
11160
11161 * resolv/inet_addr.c: Remove _LIBC conditionals.
11162 * resolv/res_data.c: Likewise.
11163 * resolv/res_init.c: Likewise.
11164 * resolv/res_mkquery.c: Likewise.
11165 * resolv/res_libc.c: Update comment.
11166 * resolv/README: Update.
11167
11168 2016-04-28 Florian Weimer <fweimer@redhat.com>
11169
11170 * resolv/gethnamaddr.c: Remove SCSS keyword.
11171 * resolv/herror.c: Likewise.
11172 * resolv/inet_addr.c: Likewise.
11173 * resolv/inet_net_ntop.c: Likewise.
11174 * resolv/inet_net_pton.c: Likewise.
11175 * resolv/inet_neta.c: Likewise.
11176 * resolv/inet_ntop.c: Likewise.
11177 * resolv/inet_pton.c: Likewise.
11178 * resolv/ns_date.c: Remove RCS keyword.
11179 * resolv/ns_name.c: Likewise.
11180 * resolv/ns_netint.c: Likewise.
11181 * resolv/ns_parse.c: Likewise.
11182 * resolv/ns_print.c: Likewise.
11183 * resolv/ns_samedomain.c: Likewise.
11184 * resolv/ns_ttl.c: Likewise.
11185 * resolv/nsap_addr.c: Likewise.
11186 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11187 * resolv/res_data.c: Remove RCS keyword.
11188 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11189 * resolv/res_init.c: Likewise.
11190 * resolv/res_mkquery.c: Likewise.
11191 * resolv/res_query.c: Likewise.
11192 * resolv/res_send.c: Likewise.
11193
11194 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11195
11196 * conform/data/stdio.h-data (fdopen): Expect also for
11197 [XPG3 || XPG4].
11198
11199 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11200 (fseeko): Likewise.
11201 (ftello): Likewise.
11202 (ftrylockfile): Likewise.
11203 (funlockfile): Likewise.
11204 (getc_unlocked): Likewise.
11205 (getchar_unlocked): Likewise.
11206 (putc_unlocked): Likewise.
11207 (putchar_unlocked): Likewise.
11208
11209 2016-04-27 Florian Weimer <fweimer@redhat.com>
11210
11211 [BZ #19868]
11212 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11213 DNS packet syntax checks (which were not needed before). Skip
11214 over non-PTR records.
11215
11216 2016-04-27 Florian Weimer <fweimer@redhat.com>
11217
11218 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11219 definition. Include <stddef.h> instead.
11220
11221 2016-04-27 Florian Weimer <fweimer@redhat.com>
11222
11223 [BZ #19831]
11224 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11225 function.
11226 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11227 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11228
11229 2016-04-27 Florian Weimer <fweimer@redhat.com>
11230
11231 [BZ #19862]
11232 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11233 (getanswer_r): Do not call syslog.
11234 (gaih_getanswer_slice): Likewise.
11235 * resolv/gethnamaddr.c (AskedForGot): Remove.
11236 (getanswer): Do not call syslog.
11237 (gethostbyaddr): Likewise.
11238
11239 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11240
11241 * conform/data/signal.h-data (union sigval): Expect also if
11242 [XOPEN2K].
11243 (struct sigevent): Likewise.
11244 (SIGEV_NONE): Likewise.
11245 (SIGEV_SIGNAL): Likewise.
11246 (SIGEV_THREAD): Likewise.
11247 (SIGRTMIN): Likewise.
11248 (SIGRTMAX): Likewise.
11249 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11250 variable.
11251 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11252
11253 2016-04-27 Florian Weimer <fweimer@redhat.com>
11254
11255 [BZ #19830]
11256 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11257 (gaih_getanswer_slice): Likewise.
11258 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11259 Also check for availability of RR metadata.
11260
11261 2016-04-27 Florian Weimer <fweimer@redhat.com>
11262
11263 [BZ #19825]
11264 * resolv/res_send.c (send_vc): Remove early *resplen2
11265 initialization. Set *resplen2 on socket error. Call
11266 close_and_return_error for other errors.
11267
11268 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11269
11270 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11271 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11272 (SCM_IUCV_TRGCLS): New define.
11273
11274 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11275
11276 [BZ #20005]
11277 * libio/fmemopen.c (fmemopen_write): Update internal position after
11278 write.
11279 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11280 * stdio-common/tst-fmemopen4.c: New file..
11281
11282 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11283
11284 [BZ #19996]
11285 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11286 not [__USE_XOPEN2K].
11287 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11288 variable.
11289
11290 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11291 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11292 variable.
11293
11294 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11295 [__USE_XOPEN2K8].
11296 [__USE_LARGEFILE64] (off64_t): Likewise.
11297 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11298 variable.
11299
11300 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11301
11302 [BZ #19989]
11303 * libio/stdio.h (cuserid): Do not declare if
11304 [__USE_XOPEN2K && !__USE_GNU].
11305 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11306 variable.
11307
11308 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11309
11310 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11311 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11313 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11314 ifunc'ed strcspn.
11315 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11316 [EALIGN]: Removed.
11317 [END]: Likewise
11318 [STRSPN]: Define instead of the above to control symbol name.
11319 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11320 New file.
11321 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11322 Likewise.
11323 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11324 Likewise.
11325 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11326 Likewise.
11327 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11328 [INITIAL_MASK]: New macro.
11329 [STRCSPN]: Likewise.
11330 [UPDATE_MASK]: Likewise.
11331 [USE_AS_STRCSPN]: Likewise.
11332
11333 2016-04-25 Florian Weimer <fweimer@redhat.com>
11334
11335 [BZ #19931]
11336 * stdio-common/tst-vfprintf-width-prec.c: New file.
11337 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11338 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11339 (generated): Add mtrace-related files.
11340 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11341 (tst-%-mem.out): New pattern rule, replaces
11342 tst-printf-bz18872-mem.out.
11343 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11344 specifier, deallocate any previously allocated work buffer.
11345
11346 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11347
11348 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11349 Add nop before __startcontext, add explaining comments.
11350
11351 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11352
11353 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11354 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11355 completely different API.
11356
11357 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11358 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11359 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11360 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11361 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11362 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11363 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11364 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11365 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11366 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11367
11368 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11369
11370 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11371
11372 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11373
11374 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11375 when it is the default of 0.
11376
11377 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11378
11379 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11380 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11381 (sysdep_routines): Add new strcasestr targets.
11382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11383 (__libc_ifunc_impl_list): Likewise.
11384 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11385 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11386 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11387 * sysdeps/powerpc/powerpc64/power8/Makefile:
11388 New file to add strcasestr-ppc64 to sysdep_routines.
11389 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11390 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11391
11392 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11393
11394 * benchtests/Makefile (wcsmbs-benchset): Include only for
11395 native builds and runs.
11396 (LOCALES): Likewise.
11397 (bench-build): Build timing-type here instead of the bench
11398 target. Generate locale only for native builds.
11399 * benchtests/README: Add note for cross-building.
11400
11401 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11402
11403 * benchtests/README: Update README to include instructions on
11404 using bench-build.
11405
11406 * Makefile.in (bench-build): New target.
11407 * Rules (PHONY): Add bench-build target.
11408 * benchtests/Makefile (bench): Depend on bench-build.
11409 (bench-build): New target.
11410
11411 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11412
11413 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11414 profil_reply_port.
11415 (profile_waiter): Do not initialize profil_reply_port.
11416 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11417 frequency instead of tick length in us.
11418
11419 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11420
11421 [BZ #18712]
11422 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11423 (__old_mempcpy_small): Likewise.
11424 (__old_strcpy_small): Likewise.
11425 (__old_stpcpy_small): Likewise.
11426 (__old_strpbrk_c2): Fix compat symbol name.
11427 (__old_strpbrk_c3): Likewise.
11428 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11429 (__mempcpy_small): Remove.
11430 (__strcpy_small): Remove.
11431 (__stpcpy_small): Remove.
11432
11433 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11434
11435 [BZ #19400]
11436 * locale/iso-639.def: Add the Talossan/tzl language.
11437
11438 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11439
11440 [BZ #16983]
11441 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11442 comment. Add "ln" to strchr check on postal_fmt.
11443
11444 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11445
11446 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11447 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11448 tel_dom_fmt.
11449
11450 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11451
11452 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11453 (sysdep_routines): Added __strlen_power8.
11454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11455 __strlen_power8 entry.
11456 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11457 Implementation for POWER8.
11458 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11459 for __strlen_power8.
11460 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11461 Implementation for POWER8.
11462
11463 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11464
11465 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11466
11467 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11470 Goldmont and Airmont processors.
11471
11472 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11473
11474 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11475 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11476 (__STRING2_SMALL_GET32): Remove.
11477 (memset): Remove.
11478 (__memset_1): Remove.
11479 (__memset_gc): Remove.
11480 (__mempcpy): Remove.
11481 (mempcpy): Remove.
11482 (__mempcpy_args): Remove.
11483 (strchr): Remove.
11484 (strcpy): Remove.
11485 (strcpy_args): Remove.
11486 (__stpcpy_args): Remove.
11487 (__strcmp_cc): Remove.
11488 (__strcmp_gc): Remove.
11489 (strstr): Remove.
11490
11491 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11492
11493 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11494 * nis/nis_call.c (nis_server_cache_add): Likewise.
11495
11496 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11497
11498 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11499
11500 2016-04-14 Florian Weimer <fweimer@redhat.com>
11501
11502 * malloc/arena.c (__malloc_fork_lock_parent)
11503 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11504 internal_function attribute.
11505
11506 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11507
11508 * stdio-common/printf_fp.c (__printf_fp_l):
11509 Rename ___printf_fp_l to __printf_fp_l and
11510 remove strong alias. Use libc_hidden_def instead
11511 of ldbl_hidden_def macro.
11512
11513 2016-04-14 Florian Weimer <fweimer@redhat.com>
11514
11515 Remove malloc hooks from fork handler. They are no longer needed
11516 because malloc runs right before fork, and no malloc calls from
11517 other fork handlers are not possible anymore.
11518 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11519 declarations.
11520 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11521 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11522 (atfork_recursive_cntr): Remove.
11523 (__malloc_fork_lock_parent): Do not override malloc hooks and
11524 thread_arena.
11525 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11526 thread_arena.
11527 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11528 thread_arena instead of save_arena.
11529
11530 2016-04-14 Florian Weimer <fweimer@redhat.com>
11531
11532 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11533 (thread_atfork, thread_atfork_static): Remove.
11534 * sysdeps/mach/hurd/malloc-machine.h:
11535 (thread_atfork, thread_atfork_static): Remove.
11536
11537 2016-04-14 Florian Weimer <fweimer@redhat.com>
11538
11539 [BZ #19431]
11540 Run the malloc fork handler as late as possible to avoid deadlocks.
11541 * malloc/malloc-internal.h: New file.
11542 * malloc/malloc.c: Include it.
11543 * malloc/arena.c (ATFORK_MEM): Remove.
11544 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11545 Update comment.
11546 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11547 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11548 Remove outdated comment.
11549 (ptmalloc_init): Do not call thread_atfork. Remove
11550 thread_atfork_static.
11551 * malloc/tst-malloc-fork-deadlock.c: New file.
11552 * Makefile (tests): Add tst-malloc-fork-deadlock.
11553 (tst-malloc-fork-deadlock): Link against libpthread.
11554 * manual/memory.texi (Aligned Memory Blocks): Update safety
11555 annotation comments.
11556 * sysdeps/nptl/fork.c (__libc_fork): Call
11557 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11558 __malloc_fork_unlock_child.
11559 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11560
11561 2016-04-14 Florian Weimer <fweimer@redhat.com>
11562
11563 [BZ #19613]
11564 Remove union wait.
11565 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11566 (w_stopsig, w_stopval): Remove.
11567 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11568 stat_loc argument.
11569 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11570 (__WAIT_STATUS_DEFN): Remove.
11571 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11572 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11573 (wait, wait3, wait4): Use int * for the stat_loc argument.
11574 * posix/wait.c (__wait): Likewise.
11575 * posix/wait3.c (__wait3): Likewise.
11576 * posix/wait4.c (__wait4): Likewise.
11577 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11578 (__WAIT_STATUS_DEFN): Remove.
11579 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11580 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11581 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11582 argument.
11583 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11584 * sysdeps/posix/wait3.c (__wait3): Likewise.
11585 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11586 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11587 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11588 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11589 stat_loc argument.
11590 * manual/process.texi (BSD Wait Functions): Remove union wait.
11591
11592 2016-04-13 Andreas Schwab <schwab@suse.de>
11593
11594 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11595 (test-extras): Add tst-tlsalign-vars.
11596 * math/Makefile: Wrap long lines.
11597 (libm-vec-test-wrappers): Define.
11598 (test-extras): Add $(libm-vec-test-wrappers).
11599 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11600 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11601 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11602 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11603 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11604 (extra-test-objs): Add corresponding objects.
11605
11606 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 [BZ #19928]
11609 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11610 New.
11611 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11612 times of shared cache size.
11613 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11614 (VMOVNT): New.
11615 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11616 (VMOVNT): Likewise.
11617 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11618 (VMOVNT): Likewise.
11619 (VMOVU): Changed to movups for smaller code sizes.
11620 (VMOVA): Changed to movaps for smaller code sizes.
11621 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11622 comments.
11623 (PREFETCH): New.
11624 (PREFETCH_SIZE): Likewise.
11625 (PREFETCHED_LOAD_SIZE): Likewise.
11626 (PREFETCH_ONE_SET): Likewise.
11627 Rewrite to use forward and backward loops, which move 4 vector
11628 registers at a time, to support overlapping addresses and use
11629 non temporal store if size is above the threshold and there is
11630 no overlap between destination and source.
11631
11632 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11633
11634 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11635 Include dl-vdso.
11636 * sysdeps/unix/sysv/linux/mips/Versions: Add
11637 __vdso_clock_gettime.
11638 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11639 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11640 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11641 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11642 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11643 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11644 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11645 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11646 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11647
11648 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11649
11650 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11651 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11652 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11653 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11654 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11655 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11658 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11660 syscalls generation.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11662 [__NR_pwrite64] (__NR_write): Remove define.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11664 [__NR_pwrite64] (__NR_write): Remove define.
11665 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11666 Remove define.
11667 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11668 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11669 Remove define.
11670 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11671 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11672 Linux implementation as base.
11673 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11674
11675 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11676 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11677 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11678 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11681 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11682 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11683 syscall generation.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11685 [__NR_pread64] (__NR_pread): Remove define.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11687 [__NR_pread64] (__NR_pread): Likewise.
11688 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11689 define.
11690 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11691 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11692 Remove define.
11693 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11694 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11695 Linux implementation as base.
11696 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11697 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11698 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11699
11700 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11701 definition.
11702 (__ALIGNMENT_COUNT): Likewise.
11703 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11704 (__ALIGNMENT_COUNT): Likewise.
11705 (SYSCALL_LL): New define.
11706 (SYSCALL_LL64): Likewise.
11707 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11708 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11709 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11710 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11711
11712 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11713 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11714 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11715 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11716 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11717 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11718
11719 2016-04-11 Florian Weimer <fweimer@redhat.com>
11720
11721 [BZ #19865]
11722 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11723 original buffer before retry.
11724
11725 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11726
11727 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11728 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11729 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11730 GLRO(dl_auxv) list.
11731 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11732 including <ldsodefs.h>.
11733 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11734
11735 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11736
11737 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11738 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11739 $(CPPFLAGS).
11740
11741 2016-04-09 Khem Raj <raj.khem@gmail.com>
11742
11743 [BZ #17950]
11744 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11745 Add -mfpmath=387.
11746
11747 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11748
11749 * sysdeps/i386/configure.ac: Change == to = when calling test.
11750 * sysdeps/x86_64/configure.ac: Likewise.
11751 * sysdeps/i386/configure: Regenerated.
11752 * sysdeps/x86_64/configure: Likewise.
11753
11754 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11755
11756 [BZ #16137]
11757 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11758 * benchtests/bench-strcoll.c (input_files): Likewise.
11759 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11760 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11761 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11762
11763 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11764
11765 [BZ #19929]
11766 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11767 [__USE_XOPEN2K8 && !__USE_GNU].
11768 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11769 variable.
11770
11771 [BZ #19925]
11772 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11773 define if [!__USE_MISC && __USE_XOPEN2K].
11774 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11775 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11776 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11777 Likewise.
11778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11779 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11780 variable.
11781 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11782
11783 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11784
11785 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11786 (sysdep_routines): Add new strspn targets.
11787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11788 (__libc_ifunc_impl_list): Add strspn.
11789 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11790 New file.
11791 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11792 Likewise.
11793 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11794 Likewise.
11795 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11796 Likewise.
11797
11798 2016-04-07 Florian Weimer <fweimer@redhat.com>
11799
11800 * misc/hsearch_r.c: Include <limits.h>.
11801
11802 2016-04-07 Florian Weimer <fweimer@redhat.com>
11803
11804 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11805
11806 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11809 (MEMCPY_SYMBOL): New.
11810 (MEMPCPY_SYMBOL): Likewise.
11811 (MEMMOVE_CHK_SYMBOL): Likewise.
11812 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11813 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11814 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11815 Provide alias for memcpy in libc.a and ld.so.
11816
11817 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11820 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11821 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11822 Disabled fro now.
11823 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11824 symbols. Properly check USE_MULTIARCH on __memset symbols.
11825
11826 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11827
11828 * benchtests/Makefile (string-benchset): Add memcpy-large,
11829 memmove-large and memset-large.
11830 * benchtests/bench-memcpy-large.c: New file.
11831 * benchtests/bench-memmove-large.c: Likewise.
11832 * benchtests/bench-memmove-large.c: Likewise.
11833 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11834
11835 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11836
11837 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11838 32-bit displacement to avoid long nop between instructions.
11839
11840 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11841
11842 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11843 a comment on VMOVU and VMOVA.
11844
11845 2016-04-04 Florian Weimer <fweimer@redhat.com>
11846
11847 [BZ #19633]
11848 Use specified locale for number formatting in strfmon_l.
11849 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11850 (__nl_lookup_word): New inline functions.
11851 * include/printf.h (__print_fp_l): Declare.
11852 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11853 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11854 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11855 (___printf_fp): New function.
11856 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11857 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11858 * stdlib/tst-strfmon_l.c (do_test): New test.
11859 * stdlib/Makefile (tests): Add kt.
11860 (LOCALES): Build additional locales.
11861 (tst-strfmon_l.out): Require locales.
11862
11863 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11866 if not in libc.
11867 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11868 Likewise.
11869 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11870 Likewise.
11871 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11872 Likewise.
11873
11874 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11875
11876 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11877 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11878 with unaligned_erms.
11879 (__memmove_erms): Skip if source == destination.
11880 (__memmove_unaligned_erms): Don't check source == destination
11881 first.
11882
11883 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11884
11885 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11886 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11887
11888 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11889
11890 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11891 * string/strspn.c (strspn): Likewise.
11892
11893 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11894
11895 * benchtests/bench-memset.c (do_test): Support 64-byte
11896 alignment.
11897 (test_main): Test 64-byte alignment.
11898
11899 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11900
11901 * benchtests/bench-memmove.c (test_main): Test 64-byte
11902 alignment.
11903
11904 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11907
11908 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11909
11910 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11911 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11912 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11913
11914 * string/strpbrk.c (strpbrk): Rewrite function.
11915 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11916 (__strpbrk_c2): Likewise.
11917 (__strpbrk_c3): Likewise.
11918 * string/string-inlines.c
11919 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11920 Likewise.
11921 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11922 Likewise.
11923
11924 * string/strspn.c (strcspn): Rewrite function.
11925 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11926 (__strspn_c1): Remove inline function.
11927 (__strspn_c2): Likewise.
11928 (__strspn_c3): Likewise.
11929 * string/string-inlines.c
11930 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11931 compatibility symbol.
11932 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11933 Likewise.
11934 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11935 Likewise.
11936 * string/string-inlines.c: Include generic version.
11937
11938 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11939 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11940
11941 * string/Version (libc): Add GLIBC_2.24.
11942 * string/strcspn.c (strcspn): Rewrite function.
11943 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11944 (__strcspn_c1): Remove inline function.
11945 (__strcspn_c2): Likewise.
11946 (__strcspn_c3): Likewise.
11947 * string/string-inline.c
11948 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11949 compatibility symbol.
11950 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11951 Likewise.
11952 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11953 Likewise.
11954 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11955
11956 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11957
11958 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11959 Use ahi instead of aghi to adjust stack pointer.
11960
11961 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11962
11963 [BZ #19853]
11964 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11965 TEST to take significant digits as second parameter.
11966 [TEST]: Redefine in terms of TEST_N taking 30
11967 significant digits.
11968 (do_test): Add test case to demonstrate precision
11969 failure in the ldbl-128ibm printf.
11970 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11971 (__mpn_extract_long_double): Carry 7 extra intermediate
11972 bits of precision to aide computing difference when
11973 signs differ.
11974
11975 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11976
11977 [BZ #19881]
11978 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11979 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11980 memset-avx512-unaligned-erms.
11981 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11982 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11983 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11984 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11985 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11986 __memset_sse2_unaligned_erms, __memset_erms,
11987 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11988 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11989 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11990 file.
11991 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11992 Likewise.
11993 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11994 Likewise.
11995 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11996 Likewise.
11997
11998 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11999
12000 [BZ #19776]
12001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12002 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12003 memmove-avx512-unaligned-erms.
12004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12005 (__libc_ifunc_impl_list): Test
12006 __memmove_chk_avx512_unaligned_2,
12007 __memmove_chk_avx512_unaligned_erms,
12008 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12009 __memmove_chk_sse2_unaligned_2,
12010 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12011 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12012 __memmove_avx512_unaligned_erms, __memmove_erms,
12013 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12014 __memcpy_chk_avx512_unaligned_2,
12015 __memcpy_chk_avx512_unaligned_erms,
12016 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12017 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12018 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12019 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12020 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12021 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12022 __mempcpy_chk_avx512_unaligned_erms,
12023 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12024 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12025 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12026 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12027 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12028 __mempcpy_erms.
12029 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12030 file.
12031 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12032 Likewise.
12033 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12034 Likewise.
12035 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12036 Likewise.
12037
12038 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12039
12040 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12041 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12042 (La_s390_64_regs): Likewise.
12043 (La_s390_32_retval): Append vector register lrv_v24.
12044 (La_s390_64_retval): Likeweise.
12045 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12046 Handle extended structs La_s390_32_regs and La_s390_32_retval.
12047 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12048 Handle extended structs La_s390_64_regs and La_s390_64_retval.
12049
12050 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
12051
12052 [BZ #19916]
12053 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12054 to create a non-vector/vector version for _dl_runtime_resolve and
12055 _dl_runtime_profile. Move implementation to ...
12056 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12057 (_dl_runtime_resolve) Save and restore fpr/vrs.
12058 (_dl_runtime_profile) Save and restore vrs and fix some issues
12059 if _dl_call_pltexit is called.
12060 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12061 Choose the correct resolver function if running on a machine with vx.
12062 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12063 to create a non-vector/vector version for _dl_runtime_resolve and
12064 _dl_runtime_profile. Move implementation to ...
12065 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12066 (_dl_runtime_resolve) Save and restore fpr/vrs.
12067 (_dl_runtime_profile) Save and restore vrs and fix some issues
12068 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12069 Choose the correct resolver function if running on a machine with vx.
12070
12071 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12072
12073 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12074
12075 2016-03-31 Florian Weimer <fweimer@redhat.com>
12076
12077 [BZ #19509]
12078 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12079 skip_map != NULL.
12080 * elf/tst-dlsym-error.c: New file.
12081 * elf/Makefile (tests): Add tst-dlsym-error.
12082 (tst-dlsym-error): Link against libdl.
12083
12084 2016-03-29 Joseph Myers <joseph@codesourcery.com>
12085
12086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12087 (__ASSUME_FUTIMESAT): Remove macro.
12088 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12089
12090 2016-03-29 Florian Weimer <fweimer@redhat.com>
12091
12092 [BZ #19879]
12093 CVE-2016-3075
12094 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12095 copy name.
12096
12097 2016-03-29 Florian Weimer <fweimer@redhat.com>
12098
12099 [BZ #19837]
12100 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12101 error if parse_line fails.
12102
12103 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12104
12105 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12106 (index_cpu_ERMS): Likewise.
12107 (reg_ERMS): Likewise.
12108
12109 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12110
12111 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12112 PER_LINUX_FDPIC): Add.
12113
12114 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12115
12116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12117 memcpy-avx512-no-vzeroupper.
12118 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12119 to ...
12120 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12121 (MEMCPY): Don't define.
12122 (MEMCPY_CHK): Likewise.
12123 (MEMPCPY): Likewise.
12124 (MEMPCPY_CHK): Likewise.
12125 (MEMPCPY_CHK): Renamed to ...
12126 (__mempcpy_chk_avx512_no_vzeroupper): This.
12127 (MEMPCPY_CHK): Renamed to ...
12128 (__mempcpy_chk_avx512_no_vzeroupper): This.
12129 (MEMCPY_CHK): Renamed to ...
12130 (__memmove_chk_avx512_no_vzeroupper): This.
12131 (MEMCPY): Renamed to ...
12132 (__memmove_avx512_no_vzeroupper): This.
12133 (__memcpy_avx512_no_vzeroupper): New alias.
12134 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12135
12136 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12137
12138 [BZ #18858]
12139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12140 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12141 and mempcpy-avx512-no-vzeroupper.
12142 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12143 New.
12144 (MEMPCPY): Likewise.
12145 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12146 (MEMPCPY_CHK): New.
12147 (MEMPCPY): Likewise.
12148 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12149 (MEMPCPY): Likewise.
12150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12151 (MEMPCPY): Likewise.
12152 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12153 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12154 Likewise.
12155 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12156 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12157
12158 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12159 Amit Pawar <Amit.Pawar@amd.com>
12160
12161 [BZ #19583]
12162 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12163 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12164 processors. Set Fast_Copy_Backward for AMD Excavator
12165 processors.
12166 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12167 New.
12168 (index_arch_Fast_Unaligned_Copy): Likewise.
12169 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12170 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12171
12172 2016-03-25 Florian Weimer <fweimer@redhat.com>
12173
12174 [BZ #19791]
12175 * resolv/res_send.c (close_and_return_error): New function.
12176 (send_dg): Initialize *resplen2 after reopen failure. Call
12177 close_and_return_error for error returns. On error paths without
12178 __res_iclose, initialze *resplen2 explicitly. Update comment for
12179 successful return.
12180
12181 2016-03-25 Florian Weimer <fweimer@redhat.com>
12182
12183 [BZ# 19860]
12184 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12185 zero if the compiler does not provide the AVX512F bit.
12186
12187 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12188
12189 [BZ #19848]
12190 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12191 from 8 to 4.
12192 (__ieee754_powl): Compare integer exponent against 4 not 8.
12193 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12194 from 8 to 4.
12195 (__ieee754_powl): Compare integer exponent against 4 not 8.
12196 * math/auto-libm-test-in: Add more tests of pow.
12197 * math/auto-libm-test-out: Regenerated.
12198 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12200
12201 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12202
12203 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12204 Make code unconditional.
12205 [!__NR_utimensat]: Remove conditional code.
12206 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12207 Make code unconditional.
12208 [!__NR_utimensat]: Remove conditional code.
12209 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12210 Make code unconditional.
12211 [!__NR_utimensat]: Remove conditional code.
12212
12213 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12214
12215 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12216 Make code unconditional.
12217
12218 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12219
12220 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12221 call-clobbered %eax on retry path.
12222 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12223
12224 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12225
12226 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12227 Don't set %rcx twice before "rep movsb".
12228
12229 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 [BZ #19583]
12232 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12233 inline. Check family before setting family, model and
12234 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12235 bits here.
12236 (init_cpu_features): Replace HAS_CPU_FEATURE and
12237 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12238 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12239 for Intel processors with usable AVX2. Call get_common_indeces
12240 for other processors with family == NULL.
12241 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12242 (CPU_FEATURES_ARCH_P): Likewise.
12243 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12244 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12245
12246 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12247
12248 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12249 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12250 $(shared-thread-library) instead of hardcoding the path to libpthread.
12251
12252 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12253
12254 * sysdeps/unix/sysv/linux/kernel-features.h
12255 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12256 * sysdeps/unix/sysv/linux/getdents.c
12257 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12258 [!have_no_getdents64_defined]: Likewise.
12259 (__GETDENTS): Remove __have_no_getdents64 conditional.
12260
12261 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12262
12263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12264 Remove macro.
12265 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12266 <kernel-features.h>.
12267 (signalfd) [__NR_signalfd4]: Make code unconditional.
12268 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12269
12270 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12271
12272 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12273 style.
12274
12275 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12276
12277 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12278 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12279 __pthread_unwind.
12280 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12281 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12282 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12283 (__condvar_cleanup1): Likewise.
12284
12285 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12286
12287 [BZ #19822]
12288 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12289 move it to the final $@ location.
12290
12291 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12292
12293 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12294 access where posix_spawn success and pid argument is null.
12295 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12296 success case.
12297
12298 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12299
12300 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12301
12302 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12303
12304 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12305 and __fcntl.
12306 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12307 __fcntl only.
12308 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12309 adding attribute_hidden to __open and __fcntl.
12310
12311 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12312 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12313 depend on libc-modules.h,
12314 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12315
12316 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12317
12318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12319 Remove macro.
12320 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12321 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12322 entry.
12323
12324 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12325 Remove macro.
12326 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12327 include <kernel-features.h>.
12328 [!__ASSUME_FALLOCATE]: Remove conditional code.
12329 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12330
12331 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12332
12333 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12334 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12336 (_ZGVdN4v_cos_avx2): Likewise.
12337 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12338 (_ZGVdN4v_cos): Likewise.
12339 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12340 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12341 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12342 (_ZGVdN4v_exp_avx2): Likewise.
12343 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12344 (_ZGVdN4v_exp): Likewise.
12345 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12346 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12347 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12348 (_ZGVdN4v_log_avx2): Likewise.
12349 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12350 (_ZGVdN4v_log): Likewise.
12351 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12352 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12353 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12354 (_ZGVdN4vv_pow_avx2): Likewise.
12355 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12356 (_ZGVdN4vv_pow): Likewise.
12357 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12358 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12359 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12360 (_ZGVdN4v_sin_avx2): Likewise.
12361 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12362 (_ZGVdN4v_sin): Likewise.
12363 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12364 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12365 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12366 (_ZGVdN4vvv_sincos_avx2): Likewise.
12367 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12368 (_ZGVdN4vvv_sincos): Likewise.
12369 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12370 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12371 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12372 (_ZGVbN4v_cosf_sse4): Likewise.
12373 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12374 (_ZGVdN8v_cosf_avx2): Likewise.
12375 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12376 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12377 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12378 (_ZGVbN4v_expf_sse4): Likewise.
12379 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12380 (_ZGVdN8v_expf_avx2): Likewise.
12381 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12382 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12383 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12384 (_ZGVbN4v_logf_sse4): Likewise.
12385 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12386 (_ZGVdN8v_logf_avx2): Likewise.
12387 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12388 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12389 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12390 (_ZGVbN4vv_powf_sse4): Likewise.
12391 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12392 (_ZGVdN8vv_powf_avx2): Likewise.
12393 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12394 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12395 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12396 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12397 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12398 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12399 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12400 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12401 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12402 (_ZGVbN4v_sinf_sse4): Likewise.
12403 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12404 (_ZGVdN8v_sinf_avx2): Likewise.
12405 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12406 Use JUMPTARGET to call callee.
12407 (WRAPPER_IMPL_SSE2_ff): Likewise.
12408 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12409 (WRAPPER_IMPL_AVX): Likewise.
12410 (WRAPPER_IMPL_AVX_ff): Likewise.
12411 (WRAPPER_IMPL_AVX_fFF): Likewise.
12412 (WRAPPER_IMPL_AVX512): Likewise.
12413 (WRAPPER_IMPL_AVX512_ff): Likewise.
12414 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12415 Likewise.
12416 (WRAPPER_IMPL_SSE2_ff): Likewise.
12417 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12418 (WRAPPER_IMPL_AVX): Likewise.
12419 (WRAPPER_IMPL_AVX_ff): Likewise.
12420 (WRAPPER_IMPL_AVX_fFF): Likewise.
12421 (WRAPPER_IMPL_AVX512): Likewise.
12422 (WRAPPER_IMPL_AVX512_ff): Likewise.
12423 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12424
12425 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12426
12427 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12428 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12429 qualifier.
12430 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12431 internal_function qualifiers.
12432
12433 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12434
12435 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12436 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12437 * math/atest-exp.c (exp_mpn): Mark chk unused.
12438 * math/atest-exp2.c (exp_mpn): Likewise.
12439 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12440 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12441
12442 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12443
12444 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12445 Remove macro.
12446 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12447 <kernel-features.h>.
12448 [__NR_ppoll]: Make code unconditional.
12449 [!__ASSUME_PPOLL]: Remove conditional code.
12450
12451 * sysdeps/unix/sysv/linux/kernel-features.h
12452 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12453 (__ASSUME_ACCEPT4): Likewise.
12454 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12455 Define.
12456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12457 Likewise.
12458 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12459 Likewise.
12460 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12461 Likewise.
12462 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12463 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12464 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12465 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12466 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12467 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12468 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12469 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12470 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12471 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12472 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12473 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12474 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12475 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12476 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12477 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12478 Likewise.
12479 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12480 Likewise.
12481 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12482 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12483 0x040300].
12484 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12485 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12486 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12487 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12488 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12489 0x030300].
12490 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12491 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12492 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12493 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12494 0x040300].
12495 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12496 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12497 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12498 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12499 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12500 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12501 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12502 0x030300].
12503 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12504 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12505 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12507 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12508 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12509 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12510 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12511 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12512 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12513 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12514 0x040300].
12515 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12516 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12517 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12518 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12519 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12520 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12522 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12524 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12525 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12526 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12527 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12528 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12530 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12532 Likewise.
12533 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12534 Likewise.
12535
12536 2016-03-15 Andreas Schwab <schwab@suse.de>
12537
12538 [BZ #19257]
12539 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12540 statp->_u._ext.nscount as loop count.
12541
12542 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12543
12544 * math/test-signgam-finite-c99.c: Also #undef
12545 __LIBC_INTERNAL_MATH_INLINES.
12546 * math/test-signgam-main.c: Likewise.
12547
12548 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12549
12550 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12551 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12552 (MADV_FREE): Likewise.
12553 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12554 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12555 EPOLLEXCLUSIVE.
12556
12557 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12558
12559 * timezone/README: Remove mention of checktab.awk. Mention wiki
12560 SharedSourceFiles.
12561
12562 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12563
12564 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12565 WUNTRACED.
12566
12567 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12568
12569 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12570 order to match the type of p when calling atomic_exchange_acq().
12571
12572 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12573
12574 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12575 cfi_offset calls.
12576 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12577 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12578 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12579 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12580 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12581
12582 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12583
12584 * timezone/checktab.awk: Removed.
12585
12586 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12587
12588 * manual/math.texi (Errors in Math Functions): Document relaxed
12589 accuracy goals for IBM long double.
12590 * math/libm-test.inc (test_exceptions): Always allow spurious
12591 "underflow" and "inexact" exceptions for IBM long double.
12592
12593 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 [BZ #19762]
12596 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12597 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12598 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12599 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12600 (bit_arch_*): This for feature array.
12601 (bit_*): Renamed to ...
12602 (bit_cpu_*): This for cpu array.
12603 (index_*): Renamed to ...
12604 (index_arch_*): This for feature array.
12605 (index_*): Renamed to ...
12606 (index_cpu_*): This for cpu array.
12607 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12608 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12609 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12610 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12611 bit_##name with index_cpu_##name and bit_cpu_##name.
12612 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12613 bit_##name with index_arch_##name and bit_arch_##name.
12614
12615 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12616
12617 [BZ #19792]
12618 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12619 Terminate FDE before return label.
12620
12621 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12622
12623 [BZ #19790]
12624 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12625 (rintl): Define as macro.
12626 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12627 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12628 of fesetround. Ensure results are evaluated before end of scope.
12629 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12630 USE_AS_NEARBYINTL and include s_rintl.c.
12631 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12632 Disable exception traps in new environment.
12633 (libc_feholdsetround_ppc_ctx): Likewise.
12634
12635 2016-03-08 Roland McGrath <roland@hack.frob.com>
12636
12637 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12638 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12639 (tst_audit10_aux) [__AVX512F__]: ... here.
12640
12641 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12642
12643 * include/sys/auxv.h: New file.
12644
12645 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 [BZ #19759]
12648 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12649
12650 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12651
12652 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12653 operand modifier.
12654 (feclearexcept): Likewise.
12655
12656 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12657
12658 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12659 to reflect the entire 32-bit HWCAP.
12660 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12661 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12662
12663 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12664
12665 [BZ #19783]
12666 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12667 $(test-via-rtld-prefix).
12668 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12669
12670 2016-03-08 Florian Weimer <fweimer@redhat.com>
12671
12672 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12673 union wait. Report any non-zero exit status as error.
12674
12675 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12676
12677 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12678 configured with --enable-hardcoded-path-in-tests.
12679
12680 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12681
12682 [BZ #19677]
12683 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12684 (__ieee754_remainderl): Put zero low parts in canonical form.
12685 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12686 file. Based on
12687 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12688 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12689 with wrapper round test-fmodrem-ldbl-128ibm.c.
12690 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12691 file.
12692 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12693 Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12695 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12696
12697 2016-03-07 Florian Weimer <fweimer@redhat.com>
12698
12699 [BZ #19610]
12700 * elf/ldconfig.c (opt_link): Update comment.
12701 (options): Update help string for option -X.
12702 (search_dir): Unlink stale symbolic link only if updating symbolic
12703 links.
12704 * elf/tst-ldconfig-X.sh: New file.
12705 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12706 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12707
12708 2016-03-07 Andreas Schwab <schwab@suse.de>
12709
12710 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12711 needed arguments.
12712
12713 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12714
12715 [BZ #15333]
12716 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12717 to lstat64.
12718
12719 2016-03-07 Florian Weimer <fweimer@redhat.com>
12720
12721 * libio/filedoalloc.c (isatty): Remove.
12722 (local_isatty): Add comment. Call __isatty directly.
12723 (_IO_file_doallocate): Update comment. Assume _LIBC.
12724 * libio/wfiledoalloc.c (isatty): Remove.
12725 (_IO_wfile_doallocate): Update comment.
12726
12727 2016-03-07 Florian Weimer <fweimer@redhat.com>
12728
12729 [BZ #19269]
12730 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12731 tst-audit4-aux.o.
12732 (tst-audit10): Depend on tst-audit10-aux.o.
12733 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12734 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12735 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12736 instead of inline AVX code.
12737 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12738 instead of inline AVX512 code.
12739 * sysdeps/x86_64/tst-audit4-aux.c: New file
12740 * sysdeps/x86_64/tst-audit10-aux.c: New file
12741
12742 [BZ #19648]
12743 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12744
12745 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12746
12747 [BZ #14750]
12748 [BZ #10354]
12749 [BZ #18433]
12750 * include/sched.h (__clone): Add hidden prototype.
12751 (__clone2): Likewise.
12752 * include/unistd.h (__dup): Likewise.
12753 * posix/Makefile (tests): Add tst-spawn2.
12754 * posix/tst-spawn2.c: New file.
12755 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12756 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12757 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12758 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12759 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12760 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12761 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12762 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12763 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12764 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12765 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12767 Likewise.
12768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12769 Likewise.
12770 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12771 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12772 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12773 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12774 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12775 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12776 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12777 * sysdeps/unix/sysv/linux/nptl-signals.h
12778 (____nptl_is_internal_signal): New function.
12779 * sysdeps/unix/sysv/linux/spawni.c: New file.
12780
12781 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12782 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12783 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12784 * posix/tst-execvp2.c (do_test): Likewise.
12785 * posix/tst-execvp3.c (do_test): Likewise.
12786 * posix/tst-execvp4.c (do_test): Likewise.
12787 * posix/tst-execvpe1.c: New file.
12788 * posix/tst-execvpe2.c: Likewise.
12789 * posix/tst-execvpe3.c: Likewise.
12790 * posix/tst-execvpe4.c: Likewise.
12791 * posix/tst-execvpe5.c: Likewise.
12792 * posix/tst-execvpe6.c: Likewise.
12793
12794 [BZ #19534]
12795 * posix/execl.c (execl): Remove dynamic memory allocation.
12796 * posix/execle.c (execle): Likewise.
12797 * posix/execlp.c (execlp): Likewise.
12798
12799 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12802 Replace .text with .text.avx512.
12803 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12804 Likewise.
12805
12806 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12807
12808 * sysdeps/generic/libnsl.abilist: New file.
12809 * sysdeps/generic/libutil.abilist: New file.
12810
12811 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12812
12813 [BZ #19762]
12814 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12815 HAS_ARCH_FEATURE with Fast_Rep_String.
12816 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12817 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12818 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12819 Likewise.
12820 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12821 Likewise.
12822 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12823 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12824 Likewise.
12825 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12826 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12827 Likewise.
12828
12829 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12830
12831 [BZ #19745]
12832 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12833 with *%rax in call.
12834
12835 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12836
12837 [BZ #19745]
12838 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12839 with *__libc_start_main@GOTPCREL(%rip) in call.
12840
12841 2016-03-04 Roland McGrath <roland@hack.frob.com>
12842
12843 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12844 inside conditional for nonempty $(CXX).
12845
12846 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12847 nonempty.
12848
12849 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12850 to test for empty $(CXX) rather than $(CXX) of "no".
12851
12852 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12853
12854 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12855
12856 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12857 H.J. Lu <hongjiu.lu@intel.com>
12858
12859 [BZ #18880]
12860 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12861 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12862 enable __memcpy_ssse3_back.
12863
12864 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12865
12866 [BZ #19758]
12867 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12868 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12869
12870 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12871
12872 [BZ #19490]
12873 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12874 (__fentry__): Likewise.
12875
12876 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12877
12878 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12879 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12880
12881 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12882
12883 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12884 __mcount_internal directly.
12885 (C_LABEL(__fentry__)): Likewise.
12886 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12887 directly.
12888
12889 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12892 (__start_context): Call __setcontext directly.
12893
12894 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12895
12896 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12897 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12898 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12899 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12900 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12901 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12902 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12903 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12904 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12905 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12906 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12907 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12908 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12909 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12910 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12911 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12912 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12913 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12914 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12915 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12916 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12917 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12918 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12919 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12920 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12921 Remove conditional code.
12922 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12923 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12924 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12925 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12926 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12927 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12928 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12929 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12930 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12931 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12932 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12933 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12934
12935 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12936
12937 * NEWS (2.23): Fix typo in bug 19048 text.
12938
12939 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12940
12941 [BZ #14259]
12942 * Makeconfig: Rename msgcatdir to localedir.
12943 Rename inst_msgcatdir to inst_localedir.
12944 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12945 * config.make.in: Add localedir.
12946 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12947 (ldd-rewrite): Likewise.
12948 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12949 (install-others): Use inst_localedir.
12950 (CPPFLAGS): Use localedir.
12951 * locale/Makefile (locale-CPPFLAGS): Likewise.
12952 * po/Makefile (mo-installed): Use inst_localedir.
12953
12954 [BZ #19575]
12955 * localedata/charmaps/GB18030: Update comments regarding PAU to
12956 non-PUA mappings.
12957
12958 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12959
12960 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12961 test for header.
12962 * sysdeps/unix/sysv/linux/configure: Regenerated.
12963 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12964 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12965 Remove conditional code.
12966 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12967
12968 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12969 Define to 3.2.0.
12970 (arch_minimum_kernel): Likewise.
12971 * sysdeps/unix/sysv/linux/configure: Regenerated.
12972 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12973 Define to 2.6.32.
12974 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12975 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12976 (arch_minimum_kernel): Define to 2.6.32.
12977 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12978 * README: Document Linux 3.2 requirement.
12979 * manual/install.texi (Linux): Document Linux 3.2 headers
12980 requirement.
12981 * INSTALL: Regenerated.
12982
12983 2016-02-24 Andreas Schwab <schwab@suse.de>
12984
12985 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12986 if !NO_LONG_DOUBLE.
12987
12988 2016-02-22 Roland McGrath <roland@hack.frob.com>
12989
12990 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12991 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12992
12993 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
12994
12995 [BZ #19512]
12996 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12997
12998 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12999
13000 * posix/tst-dir.c: Include libc-internal.h.
13001
13002 2016-02-20 Florian Weimer <fweimer@redhat.com>
13003
13004 [BZ #19056]
13005 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13006 * manual/filesys.texi (Reading/Closing Directory): Mention
13007 deprecaion.
13008 * posix/tst-dir.c (main): Disable deprecation warning in test.
13009
13010 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 [BZ #19679]
13013 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13014 Renamed to ...
13015 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
13016 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13017 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
13018 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13019 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13020 * sysdeps/x86_64/dl-trampoline.h
13021 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13022 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13023
13024 2016-02-19 Mark Wielaard <mjw@redhat.com>
13025
13026 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13027
13028 2016-02-19 Mark Wielaard <mjw@redhat.com>
13029
13030 * elf/elf.h (R_386_GOT32X): New.
13031 (R_386_NUM): Update.
13032 (R_X86_64_GOTPCRELX: New.
13033 (R_X86_64_REX_GOTPCRELX): New.
13034 (R_X86_64_NUM): Update.
13035
13036 2016-02-19 Mike Frysinger <vapier@gentoo.org>
13037
13038 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13039
13040 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
13041
13042 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13043 assign attr->stackaddr to it, and adjust it down when
13044 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
13045 [_STACK_GROWS_UP]: Delete assert.
13046 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13047 Implement stack grows up logic.
13048 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13049 stack grows up logic.
13050
13051 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13052
13053 * NEWS: Update with 2.24 template.
13054
13055 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13056
13057 [BZ #19678]
13058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13059 Ensure +0.0 is returned when taking the next value below the least
13060 positive value.
13061
13062 2016-02-19 Florian Weimer <fweimer@redhat.com>
13063
13064 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13065 available. Do not define NO_THREADS.
13066 * malloc/malloc.c: Do not check NO_THREADS.
13067 * malloc/arena.c: Likewise.
13068
13069 2016-02-19 Florian Weimer <fweimer@redhat.com>
13070
13071 * malloc/malloc.c (__libc_mallinfo): Update comment.
13072 (struct malloc_par): Remove max_total_mem member, it was always 0.
13073 (int_mallinfo): Store 0 into usmblks (no functional change).
13074 * malloc/hooks.c (struct malloc_state): Document that
13075 max_total_mem is always 0.
13076 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13077 always 0.
13078 * manual/memory.texi (Statistics of Malloc): Likewise.
13079
13080 2016-02-19 Florian Weimer <fweimer@redhat.com>
13081
13082 * malloc/malloc.c (sysmalloc): Do not update arena_max.
13083 * malloc/arena.c (arena_max): Remove.
13084 (heap_trim, _int_new_arena): Do not update arena_max.
13085
13086 2016-02-19 Florian Weimer <fweimer@redhat.com>
13087
13088 * resolv/res_init.c (res_ninit): Update comment.
13089
13090 2016-02-19 Florian Weimer <fweimer@redhat.com>
13091
13092 [BZ #19505]
13093 * posix/spawn_int.h: Add headers and include guard.
13094 (__spawn_valid_fd): New function.
13095 * posix/spawn_faction_addopen.c
13096 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13097 * posix/spawn_faction_addclose.c
13098 (posix_spawn_file_actions_addclose): Likewise.
13099 * posix/spawn_faction_adddup2.c
13100 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13101 second file descriptor.
13102 * posix/spawn_valid_fd.c: New file.
13103 * posix/tst-posix_spawn-fd.c: New file.
13104 * posix/Makefile (routines): Add spawn_valid_fd.
13105 (tests): Add tst-posix_spawn-fd.
13106
13107 2016-02-19 Florian Weimer <fweimer@redhat.com>
13108
13109 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13110 (do_test): Limit the number of arenas, so that we can use fewer
13111 outer threads. Limit timeout to 3 seconds, in preparation for a
13112 larger TIMEOUT value.
13113
13114 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13115
13116 [BZ #19674]
13117 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13118 sign in overflowing and underflowing results when overflow or
13119 underflow is detected early. Include sign in result before rather
13120 than after scaling.
13121
13122 [BZ #19603]
13123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13124 (__ieee754_remainderl): Adjust sign of integer version of low part
13125 when taking absolute value of high part.
13126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13127 * math/libm-test.inc (remainder_test_data): Add another test.
13128 (remquo_test_data): Likewise.
13129
13130 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13131
13132 [BZ #19602]
13133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13134 equal high parts and both low parts zero specially.
13135 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13136 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13137 Add test-fmodl-ldbl-128ibm.
13138
13139 [BZ #19595]
13140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13141 common logic for all cases of shifting subnormal results. Do not
13142 insert sign bit in shifted mantissa. Always pass -1023 as biased
13143 exponent to ldbl_insert_mantissa in subnormal case.
13144
13145 [BZ #19594]
13146 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13147 on high and low parts then adjust result and use
13148 ldbl_canonicalize_int if needed.
13149
13150 [BZ #19593]
13151 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13152 on high part and __floor or __ceil on low part then use
13153 ldbl_canonicalize_int if needed.
13154
13155 [BZ #19592]
13156 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13157 high and low parts then use ldbl_canonicalize_int if needed.
13158
13159 [BZ #17899]
13160 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13161 New function.
13162 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13163 on high and low parts then use ldbl_canonicalize_int if needed.
13164
13165 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13166
13167 * configure: Regenerated.
13168
13169 * po/libc.pot: Regenerated.
13170
13171 * po/be.po: Updated translation.
13172 * po/bg.po: Likewise.
13173 * po/ca.po: Likewise.
13174 * po/cs.po: Likewise.
13175 * po/da.po: Likewise.
13176 * po/el.po: Likewise.
13177 * po/eo.po: Likewise.
13178 * po/es.po: Likewise.
13179 * po/fi.po: Likewise.
13180 * po/fr.po: Likewise.
13181 * po/gl.po: Likewise.
13182 * po/hr.po: Likewise.
13183 * po/hu.po: Likewise.
13184 * po/ia.po: Likewise.
13185 * po/id.po: Likewise.
13186 * po/it.po: Likewise.
13187 * po/ja.po: Likewise.
13188 * po/lt.po: Likewise.
13189 * po/nb.po: Likewise.
13190 * po/nl.po: Likewise.
13191 * po/pt_BR.po: Likewise.
13192 * po/rw.po: Likewise.
13193 * po/sk.po: Likewise.
13194 * po/sl.po: Likewise.
13195 * po/sv.po: Likewise.
13196 * po/tr.po: Likewise.
13197 * po/zh_CN.po: Likewise.
13198 * po/zh_TW.po: Likewise.
13199
13200 * version.h (RELEAES): Set to "development".
13201 (VERSION): Set to 2.23.90.
13202
13203 * version.h (RELEASE): Set to "stable".
13204 (VERSION): Set to 2.23.
13205 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13206
13207 * NEWS: Updated fixed bugs.
13208
13209 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13210 Wilco Dijkstra <wdijkstr@arm.com>
13211
13212 [BZ #19462]
13213 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13214 (_STRING_INLINE_unaligned): This.
13215 * include/string.h: Include <string_private.h>.
13216 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13217 _STRING_INLINE_unaligned.
13218 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13219 (_STRING_INLINE_unaligned): New.
13220 * sysdeps/aarch64/string_private.h: New file.
13221 * sysdeps/generic/string_private.h: Likewise.
13222 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13223 * sysdeps/s390/string_private.h: Likewise.
13224 * sysdeps/x86/string_private.h: Likewise.
13225 * sysdeps/m68k/m680x0/m68020/bits/string.h
13226 (_STRING_ARCH_unaligned): Renamed to ...
13227 (_STRING_INLINE_unaligned): This.
13228 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13229 to ...
13230 (_STRING_INLINE_unaligned): This.
13231 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13232 to ...
13233 (_STRING_INLINE_unaligned): This.
13234 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13235 to ...
13236 (_STRING_INLINE_unaligned): This.
13237
13238 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13239 H.J. Lu <hongjiu.lu@intel.com>
13240
13241 [BZ #19590]
13242 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13243 relocation.
13244
13245 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13246
13247 [BZ #18665]
13248 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13249 *herrno_p.
13250 (gaih_getanswer): Document functional behviour. Return tryagain
13251 if any result is tryagain.
13252 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13253 when freed.
13254 * resolv/res_send.c: Add copyright text.
13255 (__libc_res_nsend): Document that MAXPACKET is expected.
13256 (send_vc): Document. Remove buffer reuse.
13257 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13258 size of the buffer. Add Dprint for truncated UDP buffer.
13259
13260 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13261
13262 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13263 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13264 * INSTALL: Regenerate.
13265
13266 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13267 Jonathan Wakely <jwakely@redhat.com>
13268 Carlos O'Donell <carlos@redhat.com>
13269
13270 [BZ 19439]
13271 * math/Makefile (tests): Add test-math-isinff.
13272 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13273 * math/bits/mathcalls.h [__USE_MISC]: Use
13274 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13275 functions not in C++11 and which don't conflict e.g. isinff,
13276 isinfl etc.
13277 * math/test-math-isinff.cc: New file.
13278
13279 2016-02-12 Florian Weimer <fweimer@redhat.com>
13280
13281 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13282
13283 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13284
13285 [BZ #19529]
13286 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13287
13288 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13289
13290 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13291
13292 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13293
13294 [BZ #19550]
13295 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13296 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13297 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13298 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13299 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13300 New syscall entry.
13301 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13302 New syscall entry.
13303 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13304 syscall entry.
13305
13306 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13307
13308 [BZ #18240]
13309 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13310 unsigned int wraparound.
13311
13312 2016-01-27 Florian Weimer <fweimer@redhat.com>
13313
13314 [BZ #18240]
13315 * misc/bug18240.c: New test.
13316 * misc/Makefile (tests): Add it.
13317
13318 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13319 Joseph Myers <joseph@codesourcery.com>
13320
13321 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13322 load in branch delay slot when less than a word of input left.
13323
13324 2016-01-27 Andreas Schwab <schwab@suse.de>
13325
13326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13327 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13328 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13329 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13330
13331 2016-01-26 David S. Miller <davem@davemloft.net>
13332
13333 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13334
13335 2016-01-25 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13338 __sqrtl_finite.
13339 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13340 instead using versioned_symbol.
13341 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13342 of entries.
13343
13344 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13345 __sqrtl_finite to GLIBC_2.23
13346
13347 2016-01-25 Ricchard Henderson <rth@redhat.com>
13348
13349 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13350
13351 2016-01-25 Andreas Schwab <schwab@suse.de>
13352
13353 [BZ #17514]
13354 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13355 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13356 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13357 * nptl/tst-mutex-errorcheck.c: New file.
13358
13359 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13360
13361 [BZ #18560]
13362 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13363 (IPCOP_semop): Likewise.
13364 (IPCOP_semget): Likewise.
13365 (IPCOP_semctl): Likewise.
13366 (IPCOP_msgsnd): Likewise.
13367 (IPCOP_msgrcv): Likewise.
13368 (IPCOP_msgget): Likewise.
13369 (IPCOP_msgctl): Likewise.
13370 (IPCOP_shmat): Likewise.
13371 (IPCOP_shmdt): Likewise.
13372 (IPCOP_shmget): Likewise.
13373 (IPCOP_shmctl): Likewise.
13374
13375 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13376
13377 * string/tst-endian.c: Include <libc-internal.h>.
13378 (do_test): Ignore tautological-compare warnings around
13379 "htobeXX (beXXtoh (i)) != i" and
13380 "htoleXX (leXXtoh (i)) != i" if-statements.
13381
13382 2016-01-24 David S. Miller <davem@davemloft.net>
13383
13384 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13385 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13386 alias.
13387 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13388 __sqrtl_finite.
13389
13390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13391
13392 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13393
13394 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13395 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13396 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13397
13398 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13399
13400 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13401 (thread_func): Use new function to simplify barrier check.
13402 (do_test): Use new function to simplify checking barrier exit
13403 code, and actually join the child thread.
13404
13405 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13406
13407 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13408 semicolon.
13409 (__libc_tend): Likewise.
13410 (__libc_tabort): Likewise.
13411
13412 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13413
13414 * sysdeps/nios2/libm-test-ulps: Update.
13415 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13416 (__gtsf2): Likewise.
13417 (__unorddf2): Likewise.
13418 (__unordsf2): Likewise.
13419 (__ledf2): Likewise.
13420
13421 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13422
13423 * nis/nis_table.c (__follow_path): Disable diagnostic for
13424 uninitialized variable that is a false positive for gcc 4.7.
13425 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13426
13427 2016-01-20 Roland McGrath <roland@hack.frob.com>
13428
13429 * sysdeps/nacl/lowlevellock-futex.h
13430 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13431 Always evaluate PRIVATE argument.
13432
13433 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13434
13435 [BZ #19490]
13436 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13437 (pthread_cond_broadcast): Use ENTRY/END
13438 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13439 (pthread_cond_signal): Likewise.
13440 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13441 Likewise.
13442 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13443 Likewise.
13444 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13445 Likewise.
13446
13447 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13448
13449 * sysdeps/ieee754/dbl-64/s_finite.c
13450 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13451 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13452 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13453 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13454 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13455
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13457 (__gtsf2): Add as optional for libc.so.
13458 (__unordsf2): Likewise.
13459 (__signbit): Remove for libc.so.
13460 (__signbitl): Likewise.
13461
13462 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13463
13464 * iconvdata/bug-iconv11.c (test_ibm93x):
13465 Use %zu printf format specifier for size_t argument.
13466
13467 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13468
13469 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13470 already-recorded ulps.
13471 * sysdeps/arm/libm-test-ulps: Regenerated.
13472 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13473 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13474 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13475
13476 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13477 Paul Pluzhnikov <ppluzhnikov@google.com>
13478
13479 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13480 assembler not supporting AVX-512.
13481
13482 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13483
13484 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13485
13486 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13487
13488 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13489 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13490
13491 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13492
13493 * sysdeps/arm/libm-test-ulps: Regenerated.
13494
13495 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13496
13497 [BZ #19451]
13498 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13499
13500 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13501
13502 [BZ #19486]
13503 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13504 * sysdeps/generic/fix-fp-int-convert-overflow.h
13505 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13506 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13507 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13508 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13509 Likewise.
13510 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13511 Avoid conversions to long int where inexact exceptions
13512 could be raised.
13513 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13514 Likewise.
13515 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13516 Avoid conversions to long long int where inexact exceptions
13517 could be raised.
13518 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13519 Likewise.
13520
13521 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13522
13523 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13524 * configure: Regenerated.
13525
13526 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13527
13528 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13529
13530 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13531
13532 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13533 outside of comment.
13534
13535 2016-01-15 Torvald Riegel <triegel@redhat.com>
13536
13537 * nptl/tst-barrier1.c: Add description on first line.
13538 * nptl/tst-barrier2.c: Likewise.
13539 * nptl/tst-barrier3.c: Likewise.
13540 * nptl/tst-barrier4.c: Likewise.
13541 * nptl/tst-barrier5.c: Likewise.
13542
13543 2016-01-15 Torvald Riegel <triegel@redhat.com>
13544
13545 [BZ #18868]
13546 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13547
13548 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13549
13550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13551 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13552 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13553 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13554 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13555 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13556 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13557 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13558 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13559 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13560 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13561
13562 2016-01-15 Torvald Riegel <triegel@redhat.com>
13563
13564 [BZ #13065]
13565 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13566 new implementation.
13567 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13568 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13569 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13570 (BARRIER_IN_THRESHOLD): New macro.
13571 * nptl/pthread_barrierattr_setpshared.c
13572 (pthread_barrierattr_setpshared): Clean up.
13573 * nptl/tst-barrier4.c: Correct comment.
13574 * nptl/tst-barrier5.c: New file.
13575 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13576 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13577 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13578 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13579 * nptl/lowlevelbarrier.sym: Remove.
13580 * nptl/DESIGN-barrier.txt: Remove.
13581 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13582 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13583 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13584 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13585 error.
13586 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13587 implementation.
13588
13589 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13590
13591 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13592 (do_child): Mask SIGRTMIN while thr is running.
13593
13594 2016-01-15 Martin Sebor <msebor@redhat.com>
13595
13596 [BZ #19432]
13597 * iconvdata/Makefile: Add bug-iconv11.
13598 * iconvdata/bug-iconv11.c: New test.
13599 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13600 * iconvdata/ibm933.c: Same.
13601 * iconvdata/ibm935.c: Same.
13602 * iconvdata/ibm937.c: Same.
13603 * iconvdata/ibm939.c: Same.
13604
13605 2016-01-15 Martin Sebor <msebor@redhat.com>
13606
13607 [BZ #19443]
13608 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13609 [DEBUG] (_ufc_set_bits): Declare used.
13610 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13611 [DEBUG] (print_all): Declare used.
13612 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13613 operands of the ternary ?: expression to target type.
13614 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13615 calling the undeclared abort.
13616 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13617
13618 2016-01-15 Martin Sebor <msebor@redhat.com>
13619
13620 [BZ #18755]
13621 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13622 warnings.
13623 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13624 (__gai_create_helper_thread): Same.
13625 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13626 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13627 to suppress -Wmaybe-uninitialized warnings.
13628
13629 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 [BZ #19465]
13632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13633 inside if.
13634 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13635 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13636 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13637
13638 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13639
13640 [BZ #19466]
13641 * time/tst-mktime2.c (time_t_max): Removed.
13642 (time_t_min): Likewise.
13643 (TYPE_SIGNED): New.
13644 (TYPE_MINIMUM): Likewise.
13645 (TYPE_MAXIMUM): Likewise.
13646 (TIME_T_MIN): Likewise.
13647 (TIME_T_MAX): Likewise.
13648 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13649 and TIME_T_MIN.
13650 (do_test): Likewise.
13651
13652 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13653
13654 [BZ #19467]
13655 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13656 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13657
13658 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13659
13660 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13661
13662 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13663
13664 * benchtests/Makefile (PYTHON): Define.
13665 (bench-func): Use $(PYTHON) to run python scripts.
13666 ($(objpfx)bench-%.c): Likewise.
13667
13668 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13669
13670 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13671 leading slash when `file_name' is "/".
13672
13673 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13674
13675 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13676 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13677 Likewise.
13678 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13679 Likewise.
13680 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13681 Likewise.
13682 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13683 enum constant and macro.
13684 (PTRACE_SETSIGMASK): Likewise.
13685 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13686 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13687 (PTRACE_GETSIGMASK): Likewise.
13688 (PTRACE_SETSIGMASK): Likewise.
13689 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13690 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13691 Likewise.
13692 (PTRACE_SETSIGMASK): Likewise.
13693 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13694 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13695 (PTRACE_GETSIGMASK): Likewise.
13696 (PTRACE_SETSIGMASK): Likewise.
13697 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13699 Likewise.
13700 (PTRACE_SETSIGMASK): Likewise.
13701 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13702 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13703 Likewise.
13704 (PTRACE_SETSIGMASK): Likewise.
13705 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13706 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13707 Likewise.
13708 (PTRACE_SETSIGMASK): Likewise.
13709 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13710
13711 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13712 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13713
13714 [BZ #19439]
13715 * math/bits/mathcalls.h
13716 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13717 prototype.
13718 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13719
13720 2016-01-11 Andreas Schwab <schwab@suse.de>
13721
13722 [BZ #19253]
13723 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13724 cache when TZDEFRULES was used.
13725 * time/tst-tzname.c: New file.
13726 * time/Makefile (test): Add tst-tzname.
13727 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13728 * timezone/Makefile (test-zones): Add $(posixrules-file).
13729 ($(testdata)/$(posixrules-file)): New rule.
13730
13731 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13732
13733 Fix doc quoting problems with Texinfo 5
13734 Without this change, in the info file output, Texinfo 5 quotes code
13735 in text with undirected single quotes 'like this' and generates
13736 code examples that with many PDF readers cannot be cut out of PDFs
13737 and pasted into code.
13738 * manual/libc.texinfo: Configure the libc manual like the GNU
13739 Emacs manual, by using @documentencoding and setting
13740 txicodequoteundirected and txicodequotebacktick. This way,
13741 Texinfo 5 quotes code in text with directed single quotes ‘like
13742 this’ and produces examples that can be cut out of PDFs. This
13743 change causes Texinfo 5 to generate info files that contain UTF-8
13744 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13745 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13746
13747 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13748
13749 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13750 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13751 barriers to their respective compiler built-ins.
13752 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13753 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13754 * sysdeps/powerpc/sysdep.h: Likewise.
13755 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13756 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13757 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13758
13759 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13760
13761 * scripts/config.guess: Revert previous shebang change.
13762 * scripts/config.sub: Likewise.
13763 * scripts/mkinstalldirs: Likewise.
13764
13765 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13766
13767 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13768 PPC_FEATURE2_HAS_IEEE128.
13769 * sysdeps/powerpc/dl-procinfo.c:
13770 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13771
13772 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13773
13774 [BZ #19415]
13775 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13776 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13777 (_dl_lookup_address): Rewrite using function resolver trampoline.
13778 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13779 two bits in address.
13780
13781 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13782
13783 * longlong.h: Change !__SHMEDIA__ to
13784 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13785 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13786
13787 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13788 Joseph Myers <joseph@codesourcery.com>
13789 Mark Shinwell <shinwell@codesourcery.com>
13790 Andrew Stubbs <ams@codesourcery.com>
13791 Rich Felker <dalias@libc.org>
13792
13793 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13794
13795 2016-01-07 Richard Henderson <rth@redhat.com>
13796
13797 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13798
13799 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13800
13801 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13802 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13803 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13804 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13805 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13806
13807 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13808 Joseph Myers <joseph@codesourcery.com>
13809
13810 * timezone/private.h: Update from tzcode 2015g.
13811 * timezone/tzfile.h: Likewise.
13812 * timezone/tzselect.ksh: Likewise.
13813 * timezone/zdump.c: Likewise.
13814 * timezone/zic.c: Likewise.
13815 * timezone/ialloc.c: Remove file.
13816 * timezone/scheck.c: Likewise.
13817 * timezone/Makefile (extra-objs): Remove variable.
13818 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13819 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13820 -Wno-maybe-uninitialized.
13821 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13822 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13823 (CFLAGS-ialloc.c): Remove variable.
13824 (CFLAGS-scheck.c): Likewise.
13825 * timezone/README: Update list of files from tzcode.
13826
13827 2016-01-07 Khem Raj <raj.khem@gmail.com>
13828
13829 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13830 instead of __fxprintf when _LIBC is undefined.
13831
13832 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13833
13834 * catgets/test-gencat.sh: Remove space after shebang.
13835 * conform/GlibcConform.pm: Likewise.
13836 * conform/check-header-lists.sh: Likewise.
13837 * conform/conformtest.pl: Likewise.
13838 * conform/linknamespace.pl: Likewise.
13839 * conform/list-header-symbols.pl: Likewise.
13840 * debug/catchsegv.sh: Likewise.
13841 * elf/genrtldtbl.awk: Likewise.
13842 * elf/tst-pathopt.sh: Likewise.
13843 * elf/tst-rtld-load-self.sh: Likewise.
13844 * grp/tst_fgetgrent.sh: Likewise.
13845 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13846 * iconvdata/gen-8bit-gap.sh: Likewise.
13847 * iconvdata/gen-8bit.sh: Likewise.
13848 * iconvdata/run-iconv-test.sh: Likewise.
13849 * intl/tst-gettext.sh: Likewise.
13850 * intl/tst-gettext2.sh: Likewise.
13851 * intl/tst-gettext4.sh: Likewise.
13852 * intl/tst-gettext6.sh: Likewise.
13853 * intl/tst-translit.sh: Likewise.
13854 * io/ftwtest-sh: Likewise.
13855 * libio/test-freopen.sh: Likewise.
13856 * locale/gen-translit.pl: Likewise.
13857 * malloc/tst-mtrace.sh: Likewise.
13858 * manual/check-safety.sh: Likewise.
13859 * manual/libc-texinfo.sh: Likewise.
13860 * manual/tsort.awk: Likewise.
13861 * manual/xtract-typefun.awk: Likewise.
13862 * nptl/tst-cancel-wrappers.sh: Likewise.
13863 * nptl/tst-tls6.sh: Likewise.
13864 * posix/globtest.sh: Likewise.
13865 * posix/tst-getconf.sh: Likewise.
13866 * posix/wordexp-tst.sh: Likewise.
13867 * scripts/check-c++-types.sh: Likewise.
13868 * scripts/check-local-headers.sh: Likewise.
13869 * scripts/config.guess: Likewise.
13870 * scripts/config.sub: Likewise.
13871 * scripts/cpp: Likewise.
13872 * scripts/cross-test-ssh.sh: Likewise.
13873 * scripts/documented.sh: Likewise.
13874 * scripts/evaluate-test.sh: Likewise.
13875 * scripts/gen-libc-abis: Likewise.
13876 * scripts/gen-sorted.awk: Likewise.
13877 * scripts/list-fixed-bugs.py: Likewise.
13878 * scripts/merge-test-results.sh: Likewise.
13879 * scripts/mkinstalldirs: Likewise.
13880 * scripts/rellns-sh: Likewise.
13881 * scripts/test-installation.pl: Likewise.
13882 * scripts/update-copyrights: Likewise.
13883 * stdio-common/tst-printf.sh: Likewise.
13884 * stdio-common/tst-unbputc.sh: Likewise.
13885 * stdlib/tst-fmtmsg.sh: Likewise.
13886 * stdlib/tst-setcontext3.sh: Likewise.
13887 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13888 * sysdeps/unix/make-syscalls.sh: Likewise.
13889
13890 2016-01-06 John David Anglin <dave.anglin@bell.net>
13891
13892 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13893 asm stw with atomic_exchange_rel. Add explanatory comment.
13894 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13895 Likewise.
13896
13897 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13898
13899 [BZ #19122]
13900 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13901 * sysdeps/generic/dl-unistd.h: New file.
13902 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13903
13904 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 [BZ #19122]
13907 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13908 * sysdeps/generic/dl-mman.h: New file.
13909 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13910
13911 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13912
13913 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13914 trailing whitespace removed.
13915 * scripts/config.guess: Update to version 2016-01-01.
13916 * scripts/config.sub: Update to version 2016-01-01.
13917 * scripts/move-if-change: Update from gnulib.
13918
13919 2016-01-04 Anton Blanchard <anton@samba.org>
13920
13921 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13922 for array indices.
13923 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13924
13925 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13926
13927 * NEWS: Update copyright dates.
13928 * catgets/gencat.c (print_version): Likewise.
13929 * csu/version.c (banner): Likewise.
13930 * debug/catchsegv.sh: Likewise.
13931 * debug/pcprofiledump.c (print_version): Likewise.
13932 * debug/xtrace.sh (do_version): Likewise.
13933 * elf/ldconfig.c (print_version): Likewise.
13934 * elf/ldd.bash.in: Likewise.
13935 * elf/pldd.c (print_version): Likewise.
13936 * elf/sotruss.sh: Likewise.
13937 * elf/sprof.c (print_version): Likewise.
13938 * iconv/iconv_prog.c (print_version): Likewise.
13939 * iconv/iconvconfig.c (print_version): Likewise.
13940 * locale/programs/locale.c (print_version): Likewise.
13941 * locale/programs/localedef.c (print_version): Likewise.
13942 * login/programs/pt_chown.c (print_version): Likewise.
13943 * malloc/memusage.sh (do_version): Likewise.
13944 * malloc/memusagestat.c (print_version): Likewise.
13945 * malloc/mtrace.pl: Likewise.
13946 * manual/libc.texinfo: Likewise.
13947 * nptl/version.c (banner): Likewise.
13948 * nscd/nscd.c (print_version): Likewise.
13949 * nss/getent.c (print_version): Likewise.
13950 * nss/makedb.c (print_version): Likewise.
13951 * posix/getconf.c (main): Likewise.
13952 * scripts/test-installation.pl: Likewise.
13953 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13954
13955 * All files with FSF copyright notices: Update copyright dates
13956 using scripts/update-copyrights.
13957 * intl/plural.c: Regenerated.
13958 * locale/programs/charmap-kw.h: Likewise.
13959 * locale/programs/locfile-kw.h: Likewise.
13960
13961 2016-01-02 Helge Deller <deller@gmx.de>
13962
13963 [BZ #19285]
13964 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13965 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13966 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13967 (MADV_xxK_PAGES): Remove.
13968
13969 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13970
13971 [BZ #15421]
13972 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13973 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13974 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13975 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13976
13977 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13978
13979 [BZ #19408]
13980 * sysdeps/unix/sysv/linux/personality.c: New file.
13981 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13982 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13983 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13984 (sysdep_routines): Add personality.
13985 (tests): Add tst-personality.
13986 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13988 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13989 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13990 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13991 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13992 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13993 Likewise.
13994 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13995 Likewise.
13996 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13997 Likewise.
13998 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14000 Likewise.
14001
14002 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
14003
14004 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14005 (PATH_ARM_SYSTYPE): Remove.
14006 (PATH_CPUINFO): Likewise.
14007 (IO_BASE_FOOTBRIDGE): Likewise.
14008 (IO_SHIFT_FOOTBRIDGE): Likewise.
14009 (struct platform): Likewise.
14010 (init_iosys): Remove compatibility code for 2.4 kernels.
14011 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14012
14013 2015-12-29 Florian Weimer <fweimer@redhat.com>
14014
14015 * malloc/tst-malloc-thread-fail.c: New file.
14016 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14017 (tst-malloc-thread-fail): Link against libpthread.
14018
14019 2015-12-29 Mike Frysinger <vapier@gentoo.org>
14020
14021 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
14022 (get_parser): New function.
14023 (main): New function.
14024
14025 2015-12-29 Rob Wu <rob@robwu.nl>
14026
14027 [BZ #19369]
14028 * resolv/res_init.c (__res_vinit): Reset defdname before use.
14029
14030 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
14031
14032 [BZ #19270]
14033 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14034
14035 2015-12-28 Mike Frysinger <vapier@gentoo.org>
14036
14037 [BZ #15421]
14038 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14039
14040 2015-12-23 Torvald Riegel <triegel@redhat.com>
14041
14042 [BZ #13690]
14043 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14044 after releasing it.
14045 (__lll_robust_unlock): Likewise.
14046 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14047 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14048 (lll_robust_unlock): Likewise.
14049 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14050 Prevent warnings in callers.
14051
14052 2015-12-23 Florian Weimer <fweimer@redhat.com>
14053
14054 * malloc/arena.c (list_lock): Update comment.
14055
14056 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14057
14058 * sysdeps/powerpc/hwcapinfo.c: Export symbol
14059 __parse_hwcap_and_convert_at_platform to libc.a.
14060
14061 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14062
14063 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14064 platform and feature support for POWER9.
14065 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14066 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14067 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14068 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14069 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14070 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14071 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14072 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14073
14074 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14075
14076 Harmonize generic stdio-lock support with nptl
14077
14078 This fixes build when _IO_funlockfile is a macro, fixes build where
14079 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14080 stack unwind.
14081
14082 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14083 _IO_release_lock ): Use cleanup attribute on new
14084 _IO_acquire_lock_file variable instead of assuming that
14085 _IO_release_lock will be called.
14086 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14087 _IO_acquire_lock_needs_exceptions_enabled.
14088 (_IO_acquire_lock_clear_flags2): New macro.
14089
14090 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14091
14092 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14093
14094 2015-12-21 Florian Weimer <fweimer@redhat.com>
14095
14096 [BZ #19182]
14097 * malloc/arena.c (list_lock): Document lock ordering requirements.
14098 (free_list_lock): New lock.
14099 (ptmalloc_lock_all): Comment on free_list_lock.
14100 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14101 (detach_arena): Update comment. free_list_lock is now needed.
14102 (_int_new_arena): Use free_list_lock around detach_arena call.
14103 Acquire arena lock after list_lock. Add comment, including FIXME
14104 about incorrect synchronization.
14105 (get_free_list): Switch to free_list_lock.
14106 (reused_arena): Acquire free_list_lock around detach_arena call
14107 and attached threads counter update. Add two FIXMEs about
14108 incorrect synchronization.
14109 (arena_thread_freeres): Switch to free_list_lock.
14110 * malloc/malloc.c (struct malloc_state): Update comments to
14111 mention free_list_lock.
14112
14113 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14114
14115 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14116 Remove functions.
14117 (sloww, sloww1): Accept argument to offset quadrant.
14118 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14119 quadrant.
14120 (__sin, __cos): Consolidate common code into new functions.
14121 (reduce_sincos_1, do_sincos_1): New functions.
14122 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14123
14124 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14125 code to new functions.
14126 (reduce_sincos_2, do_sincos_2): New functions.
14127 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14128
14129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14130 common code for sincos.
14131 (__cos) [!IN_SINCOS]: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14133 New function.
14134 (__sincos): Use it.
14135
14136 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14137
14138 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14139 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14140 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14141
14142 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14143
14144 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14145 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14146 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14147 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14148 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14149 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14150 index_Prefer_No_VZEROUPPER): New feature.
14151 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14152 Prefer_No_VZEROUPPER for Knights Landing.
14153
14154 015-12-18 Torvald Riegel <triegel@redhat.com>
14155
14156 * math/atest-exp2.c (mp_exp_m1): Remove.
14157
14158 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14159
14160 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14161 syscalls.
14162 (__SYSCALL0): New macro.
14163 (__SYSCALL1): Likewise.
14164 (__SYSCALL2): Likewise.
14165 (__SYSCALL3): Likewise.
14166 (__SYSCALL4): Likewise.
14167 (__SYSCALL5): Likewise.
14168 (__SYSCALL6): Likewise.
14169 (__SYSCALL_CONCAT_X): Likewise.
14170 (__SYSCALL_CONCAT): Likewise.
14171 (__SYSCALL_DIST): Likewise.
14172 (__SYSCALL_CALL): Likewise.
14173
14174 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14175
14176 [BZ #19363]
14177 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14178
14179 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14180
14181 [BZ #19375]
14182 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14183 negative subnormals.
14184
14185 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14186
14187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14188 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14189 (INTERNAL_SYSCALL_NCS): Use it.
14190 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14191
14192 2015-12-16 Florian Weimer <fweimer@redhat.com>
14193
14194 [BZ #19243]
14195 * malloc/arena.c (get_free_list): Remove assert and adjust
14196 reference count handling. Add comment about reused_arena
14197 interaction.
14198 (reused_arena): Add comments abount get_free_list interaction.
14199 * malloc/tst-malloc-thread-exit.c: New file.
14200 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14201 (tst-malloc-thread-exit): Link against libpthread.
14202
14203 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14204
14205 [BZ #19367]
14206 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14207 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14209 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14210 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14211
14212 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14215 Silvermont optimizations for Knights Landing.
14216
14217 2015-12-15 Andreas Schwab <schwab@suse.de>
14218
14219 [BZ #17197]
14220 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14221 immediately after emitting SI.
14222 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14223 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14224 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14225 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14226 * iconvdata/bug-iconv10.c: New file.
14227 * iconvdata/Makefile (tests): Add bug-iconv10.
14228 ($(objpfx)bug-iconv10.out): New rule.
14229
14230 2015-12-15 Florian Weimer <fweimer@redhat.com>
14231
14232 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14233 aliasing violation.
14234
14235 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14236
14237 [BZ #18472]
14238 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14239 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14240 conditionals for them.
14241 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14242 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14244 sys/kdaemon.h.
14245 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14246 compat-only syscall, obsoleted in glibc 2.23.
14247 (create_module): Likewise.
14248 (get_kernel_syms): Likewise.
14249 (query_module): Likewise.
14250 (uselib): Likewise.
14251 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14252
14253 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14254
14255 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14256 <linux/version.h>.
14257 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14258 conditional code.
14259 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14260 and ioshift_name initialization.
14261
14262 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14263
14264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14265 Fix indentation.
14266
14267 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14268
14269 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14270
14271 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14272
14273 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14274
14275 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14276 Jakub Wilk <jwilk@debian.org>
14277
14278 [BZ #19347]
14279 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14280 to change the group of the device to the tty group.
14281
14282 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14283
14284 Split large string section; add truncation advice
14285 * manual/examples/strncat.c: Remove.
14286 This example was misleading, as the code would have undefined
14287 behavior if "hello" was longer than SIZE. Anyway, the manual
14288 shouldn't encourage strncpy+strncat for this sort of thing.
14289 * manual/string.texi (Copying Strings and Arrays): Split into
14290 three sections Copying Strings and Arrays, Concatenating Strings,
14291 and Truncating Strings, as this section was way too long. All
14292 cross-referenced changed. Add advice about string-truncation
14293 functions. Remove misleading strncat example.
14294
14295 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14296
14297 * manual/nss.texi (NSS Modules Interface): Document
14298 NSS_STATUS_NOTFOUND and SUCCESS.
14299
14300 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14301
14302 [BZ 18568]
14303 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14304 201505L, for Unicode 8.
14305
14306 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14307
14308 * locale/C-translit.h: Regenerate.
14309
14310 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14311
14312 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14313 and U+0153.
14314
14315 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14316
14317 [BZ #19351]
14318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14319 expanding log(1+z), compare z rather than its square with epsilon
14320 to determine when to avoid evaluating the expansion.
14321
14322 [BZ #19350]
14323 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14324 Increase overflow threshold.
14325
14326 [BZ #19349]
14327 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14328 when small.
14329
14330 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14331 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14332 New macro.
14333 [__LINUX_KERNEL_VERSION >= 0x040300]
14334 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14335 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14336 Likewise.
14337 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14338 Likewise.
14339 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14340 Likewise.
14341 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14342 Likewise.
14343 [__LINUX_KERNEL_VERSION >= 0x040300]
14344 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14345 [__LINUX_KERNEL_VERSION >= 0x040300]
14346 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14347 [__LINUX_KERNEL_VERSION >= 0x040300]
14348 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14349 [__LINUX_KERNEL_VERSION >= 0x040300]
14350 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14351 [__LINUX_KERNEL_VERSION >= 0x040300]
14352 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14353 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14354 Likewise.
14355 [__LINUX_KERNEL_VERSION >= 0x040300]
14356 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14357 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14358 Likewise.
14359 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14360 Likewise.
14361 [__LINUX_KERNEL_VERSION >= 0x040300]
14362 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14363 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14364 Likewise.
14365 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14366 Likewise.
14367 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14368 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14369 Likewise.
14370 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14371 Likewise.
14372 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14373 Likewise.
14374 [__LINUX_KERNEL_VERSION >= 0x040300]
14375 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14376 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14377 Likewise.
14378 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14379 Likewise.
14380 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14381 Likewise.
14382 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14383 Likewise.
14384 [__LINUX_KERNEL_VERSION >= 0x040300]
14385 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14386 [__LINUX_KERNEL_VERSION >= 0x040300]
14387 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14388 [__LINUX_KERNEL_VERSION >= 0x040300]
14389 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14390 [__LINUX_KERNEL_VERSION >= 0x040300]
14391 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14392 [__LINUX_KERNEL_VERSION >= 0x040300]
14393 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14394 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14395 Likewise.
14396 [__LINUX_KERNEL_VERSION >= 0x040300]
14397 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14398 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14399 Likewise.
14400 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14401 Likewise.
14402 [__LINUX_KERNEL_VERSION >= 0x040300]
14403 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14404 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14405 Likewise.
14406 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14407 Likewise.
14408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14409 (__ASSUME_SOCKET_SYSCALL): Likewise.
14410 (__ASSUME_BIND_SYSCALL): Likewise.
14411 (__ASSUME_CONNECT_SYSCALL): Likewise.
14412 (__ASSUME_LISTEN_SYSCALL): Likewise.
14413 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14414 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14415 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14416 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14417 (__ASSUME_SEND_SYSCALL): Likewise.
14418 (__ASSUME_SENDTO_SYSCALL): Likewise.
14419 (__ASSUME_RECV_SYSCALL): Likewise.
14420 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14421 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14422 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14423 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14424 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14425 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14426 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14427 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14428 Likewise.
14429 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14430 Likewise.
14431 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14432 Likewise.
14433 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14434 Likewise.
14435 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14436 Likewise.
14437 [__LINUX_KERNEL_VERSION >= 0x020625]
14438 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14439 [__LINUX_KERNEL_VERSION >= 0x020625]
14440 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14441 [__LINUX_KERNEL_VERSION >= 0x020625]
14442 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14443 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14444 Likewise.
14445 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14446 Likewise.
14447 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14448 Likewise.
14449 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14450 Likewise.
14451 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14452 Likewise.
14453 [__LINUX_KERNEL_VERSION >= 0x020625]
14454 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14455 [__LINUX_KERNEL_VERSION >= 0x020625]
14456 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14457 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14458 Likewise.
14459 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14460 Likewise.
14461
14462 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14463
14464 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14465 record the current if the current ABI and CPU support the FP64
14466 extension.
14467 (has-modd-spreg): Define to record the current if the current ABI and
14468 CPU support 32-bit floating point values in odd FPU registers.
14469 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14470 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14471 $(has-modd-spreg) equals yes.
14472 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14473 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14474 $(has-modd-spreg) equal yes.
14475
14476 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14477
14478 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14479 basename.
14480
14481 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14482
14483 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14484 (bench-string): ... here.
14485 (bench): Add bench-string.
14486 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14487 to *-benchset to reflect what they are.
14488 (benchset): Adjust.
14489
14490 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14491 cos-inputs.
14492
14493 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14494
14495 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14496 __attribute__ ((__simd__)) for vector math function declarations.
14497
14498 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14499
14500 Fix typo in strncat, wcsncat manual entries
14501 * manual/string.texi (Copying and Concatenation): Fix typos in
14502 sample implementations of strncat and wcsncat, by having them use
14503 the old value of the destination length, not the new one.
14504
14505 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14506
14507 [BZ #16961]
14508 [BZ #16962]
14509 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14510 string on the stack for strtod.
14511 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14512 a string on the stack for strtof.
14513 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14514 constructing a string on the stack for strtold.
14515 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14516 __strtold_nan to GLIBC_PRIVATE.
14517 * math/test-nan-overflow.c: New file.
14518 * math/test-nan-payload.c: Likewise.
14519 * math/Makefile (tests): Add test-nan-overflow and
14520 test-nan-payload.
14521
14522 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14523
14524 Consistency about byte vs character in string.texi
14525 * manual/string.texi (String and Array Utilities):
14526 Distinguish more carefully among bytes, multibyte characters,
14527 and wide characters. Use "byte" when talking about C 'char',
14528 to distinguish it more clearly from multibyte characters.
14529 Say "wide character" or "multibyte character" instead of
14530 "character", when a wide or multibyte character is intended.
14531 Similarly for "multibyte string" versus "string".
14532 Define these terms more carefully.
14533
14534 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14535
14536 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14537 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14538 Likewise.
14539 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14540 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14541 * sysdeps/sh/math_private.h: New file.
14542 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14543 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14544 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14545 long double function name.
14546 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14552 Remove __finitel, __isinfl, and __isnanl.
14553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14554 Likewise.
14555 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14557 Remove __finitel.
14558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14559 Likewise.
14560 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14561
14562 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14563
14564 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14565 installed libmvec_nonshared.a.
14566
14567 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14568
14569 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14570 (sysdep_routines): Likewise.
14571 (sysdep-rtld-routines): Likewise.
14572 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14573 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14574 * sysdeps/powerpc/Versions: Added new
14575 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14576 * sysdeps/powerpc/hwcapinfo.c: New file.
14577 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14578 and parse hwcap, hwcap2 and platform number information.
14579 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14580 to store HWCAP+HWCAP2 and platform number.
14581 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14582 for HWCAP+HWCAP2 and platform number in the TCB.
14583 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14584 the HWCAP, HWCAP2 and platform number in the TCB.
14585 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14586 (TLS_INIT_TP): Included calls to add the hwcap and
14587 at_platform values in the TCB in TP initialization.
14588 (TLS_DEFINE_INIT_TP): Likewise.
14589 (THREAD_GET_HWCAP): New macro.
14590 (THREAD_SET_HWCAP): Likewise.
14591 (THREAD_GET_AT_PLATFORM): Likewise.
14592 (THREAD_SET_AT_PLATFORM): Likewise.
14593 * sysdeps/powerpc/powerpc32/dl-machine.h:
14594 (dl_platform_init): New function that calls
14595 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14596 powerpc32.
14597 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14598 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14599 this functionality, static linking case.
14600 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14601 linking case.
14602 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14603 __parse_hwcap_and_convert_at_platform for the static linking case.
14604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14605 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14606 ABI list for GLIBC 2.23.
14607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14608 Likewise.
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14610 Likewise.
14611
14612 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14613
14614 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14615 * configure: Regenerate.
14616 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14617 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14618
14619 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14620
14621 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14622 * iconvdata/ibm933.c: Likewise.
14623 * iconvdata/ibm935.c: Likewise.
14624 * iconvdata/ibm937.c: Likewise.
14625 * iconvdata/ibm939.c: Likewise.
14626
14627 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14628
14629 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14630 pthread_join.
14631 * nptl/tst-cancel21.c (tf): Likewise.
14632
14633 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14634
14635 [BZ #19313]
14636 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14637 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14638 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14639 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14640 Likewise.
14641 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14642 Likewise.
14643 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14644 Likewise.
14645 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14646 Likewise.
14647 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14648 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14649 unsigned long int with __CPU_MASK_TYPE.
14650
14651 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14652
14653 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14654
14655 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14656
14657 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14658 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14659 t512.x.
14660 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14661
14662 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14663
14664 [BZ #19214]
14665 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14666 argument to return extended model. Update family and model
14667 with extended family and model when family == 0x0f.
14668 (init_cpu_features): Updated.
14669
14670 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14671
14672 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14673 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14674
14675 * sysdeps/mach/hurd/mmap64.c: New file.
14676
14677 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14678
14679 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14680 rights for its main user thread in NEWTASK.
14681
14682 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14683
14684 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14685 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14686
14687 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14688
14689 [BZ #14259]
14690 * Makeconfig: Rename localedir to complocaledir.
14691 Rename inst_localedir to inst_complocaledir.
14692 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14693 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14694 * configure.ac: Use libc_cv_complocaledir.
14695 * configure: Regenerate.
14696 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14697 -DCOMPLOCALEDIR.
14698 * locale/findlocale.c: Use COMPLOCALEDIR.
14699 * locale/loadarchive.c: Likewise.
14700 * locale/programs/locale.c: Likewise.
14701 * locale/programs/localedef.c: Likewise.
14702 * locale/programs/locarchive.c: Likewise.
14703 * localedata/Makefile: Use inst_complocaledir.
14704 * sysdeps/gnu/configure: Regenerate.
14705 * sysdeps/hppa/configure: Regenerate.
14706 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14707 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14709 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14710 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14711 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14712 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14713
14714 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14715
14716 [BZ #19058]
14717 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14718 AS_NEEDED.
14719 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14720 workaround.
14721 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14722 libmvec-static-only-routines): Added new file.
14723 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14724
14725 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14726
14727 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14728 of interrupted RPC instead of restoring it.
14729
14730 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14731 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14732 libc_hidden_def.
14733 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14734 into initialized data instead of common. Define rtld_hidden_data_def.
14735 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14736 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14737 libc_hidden_def.
14738 (if_freenameindex): Add libc_hidden_weak.
14739 (if_nameindex): Add libc_hidden_weak.
14740 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14741 __open64.
14742 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14743 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14744 * sysdeps/mach/nanosleep.c: Include <time.h>
14745 (__nanosleep): Rename to __libc_nanosleep.
14746 (__nanosleep): Add weak_alias.
14747 (nanosleep): Update alias.
14748
14749 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14750
14751 * stdlib/strtod_nan.c: New file.
14752 * stdlib/strtod_nan_double.h: Likewise.
14753 * stdlib/strtod_nan_float.h: Likewise.
14754 * stdlib/strtod_nan_main.c: Likewise.
14755 * stdlib/strtod_nan_narrow.h: Likewise.
14756 * stdlib/strtod_nan_wide.h: Likewise.
14757 * stdlib/strtof_nan.c: Likewise.
14758 * stdlib/strtold_nan.c: Likewise.
14759 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14760 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14761 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14762 * wcsmbs/wcstod_nan.c: Likewise.
14763 * wcsmbs/wcstof_nan.c: Likewise.
14764 * wcsmbs/wcstold_nan.c: Likewise.
14765 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14766 strtold_nan.
14767 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14768 wcstof_nan.
14769 * include/stdlib.h (__strtof_nan): Declare and use
14770 libc_hidden_proto.
14771 (__strtod_nan): Likewise.
14772 (__strtold_nan): Likewise.
14773 (__wcstof_nan): Likewise.
14774 (__wcstod_nan): Likewise.
14775 (__wcstold_nan): Likewise.
14776 * include/wchar.h (____wcstoull_l_internal): Declare.
14777 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14778 (____strtoull_l_internal): Remove declaration.
14779 (STRTOF_NAN): Define macro.
14780 (SET_MANTISSA): Remove macro.
14781 (STRTOULL): Likewise.
14782 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14783 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14784 (STRTOF_NAN): Define macro.
14785 (SET_MANTISSA): Remove macro.
14786 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14787 (SET_MANTISSA): Remove macro.
14788 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14789 macro.
14790 (SET_MANTISSA): Remove macro.
14791 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14792 macro.
14793 (SET_MANTISSA): Remove macro.
14794 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14795 (SET_MANTISSA): Remove macro.
14796 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14797 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14798 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14799
14800 [BZ #19266]
14801 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14802 upper case and lower case letters inside NAN(), not using TOLOWER.
14803 * stdlib/tst-strtod-nan-locale-main.c: New file.
14804 * stdlib/tst-strtod-nan-locale.c: Likewise.
14805 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14806 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14807 Depend on $(gen-locales).
14808 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14809 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14810 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14811 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14812 Depend on $(gen-locales).
14813 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14814
14815 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14816
14817 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14818
14819 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14821 __finitel, __isinfl, and __isnanl.
14822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14823 Likewise.
14824 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14826 __finitel.
14827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14828 Likewise.
14829 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14830
14831 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14832
14833 * malloc/memusage.c (me): Remove redundant getenv call.
14834
14835 2015-10-24 Florian Weimer <fweimer@redhat.com>
14836
14837 [BZ #19143]
14838 [BZ #19164]
14839 * nptl/check-cpuset.h: Remove.
14840 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14841 Remove CPU set size check.
14842 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14843 Likewise.
14844 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14845 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14846 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14847 (__pthread_setaffinity_new): Remove CPU set size check.
14848 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14849 (__kernel_cpumask_size): Remove.
14850 (__sched_setaffinity_new): Remove CPU set size check.
14851 * manual/threads.texi (Default Thread Attributes): Remove stale
14852 reference to check_cpuset_attr, determine_cpumask_size in comment.
14853 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14854 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14855 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14856 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14857 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14858 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14859 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14860 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14861 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14862 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14863 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14864 skeleton test file.
14865 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14866 tst-affinity-pid.
14867
14868 2015-11-24 Florian Weimer <fweimer@redhat.com>
14869
14870 * scripts/update-abilist.sh: New file.
14871 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14872 * Makerules (update-all-abi-%, update-all-abi)
14873 (subdir_update-all-abi): New targets.
14874 * elf/Makefile (update-all-abi): New target.
14875
14876 2015-11-24 Florian Weimer <fweimer@redhat.com>
14877
14878 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14879 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14880 (__libc_lock_define_initialized): Use it.
14881 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14882 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14883 * malloc/malloc.c (main_arena): Likewise.
14884 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14885 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14886
14887 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14888
14889 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14890 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14891 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14892 (PTRACE_O_MASK): Update value.
14893 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14894 New value in enum __ptrace_setoptions.
14895 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14896 (PTRACE_O_MASK): Update value.
14897 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14898 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14899 (PTRACE_O_MASK): Update value.
14900 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14901 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14902 (PTRACE_O_MASK): Update value.
14903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14904 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14905 (PTRACE_O_MASK): Update value.
14906 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14907 New value in enum __ptrace_setoptions.
14908 (PTRACE_O_MASK): Update value.
14909 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14910 New value in enum __ptrace_setoptions.
14911 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14912 (PTRACE_O_MASK): Update value.
14913
14914 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14915 New macro.
14916 (PACKET_AUXDATA): Likewise.
14917 (PACKET_ORIGDEV): Likewise.
14918 (PACKET_VERSION): Likewise.
14919 (PACKET_HDRLEN): Likewise.
14920 (PACKET_RESERVE): Likewise.
14921 (PACKET_TX_RING): Likewise.
14922 (PACKET_LOSS): Likewise.
14923 (PACKET_VNET_HDR): Likewise.
14924 (PACKET_TX_TIMESTAMP): Likewise.
14925 (PACKET_TIMESTAMP): Likewise.
14926 (PACKET_FANOUT): Likewise.
14927 (PACKET_TX_HAS_OFF): Likewise.
14928 (PACKET_QDISC_BYPASS): Likewise.
14929 (PACKET_ROLLOVER_STATS): Likewise.
14930 (PACKET_FANOUT_DATA): Likewise.
14931 (PACKET_MR_UNICAST): Likewise.
14932
14933 [BZ #19242]
14934 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14935 (TOUPPER): Likewise.
14936 * stdlib/tst-strtol-locale-main.c: New file.
14937 * stdlib/tst-strtol-locale.c: Likewise.
14938 * stdlib/Makefile (tests): Add tst-strtol-locale.
14939 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14940 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14941 Depend on $(gen-locales).
14942 * wcsmbs/tst-wcstol-locale.c: New file.
14943 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14944 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14945 tr_TR.ISO-8859-9.
14946 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14947 Depend on $(gen-locales).
14948
14949 2015-11-20 Roland McGrath <roland@hack.frob.com>
14950
14951 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14952 __glibc_likely instead of __builtin_expect. After falling back to
14953 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14954 system interface to register the code pages as occupied.
14955
14956 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14957
14958 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14959 [!ARM_MATH_PRIVATE_H].
14960 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14961 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14962 [!HPPA_MATH_PRIVATE_H].
14963 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14964 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14965 to [!I386_MATH_PRIVATE_H].
14966 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14967 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14968 Change guard to [!M68K_MATH_PRIVATE_H].
14969 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14970 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14971 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14972 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14973 macro.
14974 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14975 [!MIPS_MATH_PRIVATE_H].
14976 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14977 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14978 [!NIO2_MATH_PRIVATE_H].
14979 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14980 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14981 [!TILE_MATH_PRIVATE_H].
14982 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14983
14984 [BZ #15421]
14985 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14986 initialize with 0 and define as weak alias of __signgam.
14987 * include/math.h [!_ISOMAC] (__signgam): Declare.
14988 * math/Makefile (libm-calls): Add w_lgamma_compat.
14989 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14990 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14991 test-signgam-ullong-init.
14992 (tests-static): Add test-signgam-uchar-static,
14993 test-signgam-uchar-init-static, test-signgam-uint-static,
14994 test-signgam-uint-init-static, test-signgam-ullong-static and
14995 test-signgam-ullong-init-static.
14996 (CFLAGS-test-signgam-uchar.c): New variable.
14997 (CFLAGS-test-signgam-uchar-init.c): Likewise.
14998 (CFLAGS-test-signgam-uchar-static.c): Likewise.
14999 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15000 (CFLAGS-test-signgam-uint.c): Likewise.
15001 (CFLAGS-test-signgam-uint-init.c): Likewise.
15002 (CFLAGS-test-signgam-uint-static.c): Likewise.
15003 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15004 (CFLAGS-test-signgam-ullong.c): Likewise.
15005 (CFLAGS-test-signgam-ullong-init.c): Likewise.
15006 (CFLAGS-test-signgam-ullong-static.c): Likewise.
15007 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15008 * math/Versions (libm): Add GLIBC_2.23.
15009 * math/lgamma-compat.h: New file.
15010 * math/test-signgam-main.c: Likewise.
15011 * math/test-signgam-uchar-init-static.c: Likewise.
15012 * math/test-signgam-uchar-init.c: Likewise.
15013 * math/test-signgam-uchar-static.c: Likewise.
15014 * math/test-signgam-uchar.c: Likewise.
15015 * math/test-signgam-uint-init-static.c: Likewise.
15016 * math/test-signgam-uint-init.c: Likewise.
15017 * math/test-signgam-uint-static.c: Likewise.
15018 * math/test-signgam-uint.c: Likewise.
15019 * math/test-signgam-ullong-init-static.c: Likewise.
15020 * math/test-signgam-ullong-init.c: Likewise.
15021 * math/test-signgam-ullong-static.c: Likewise.
15022 * math/test-signgam-ullong.c: Likewise.
15023 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15024 wrapper of w_lgamma_main.c.
15025 * math/w_lgamma_compat.c: New file.
15026 * math/w_lgamma_compatf.c: Likewise.
15027 * math/w_lgamma_compatl.c: Likewise.
15028 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
15029 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15030 defining compatibility symbols.
15031 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
15032 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15033 wrapper of w_lgammaf_main.c.
15034 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
15035 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15036 defining compatibility symbols.
15037 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
15038 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15039 wrapper of w_lgammal_main.c.
15040 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
15041 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
15042 defining compatibility symbols.
15043 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
15044 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15045 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15046 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
15047 <lgamma-compat.h>.
15048 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
15049 (__ieee754_gamma): Define as alias.
15050 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15051 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
15052 <lgamma-compat.h>.
15053 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
15054 (__ieee754_gammaf): Define as alias.
15055 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15056 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
15057 <lgamma-compat.h>.
15058 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
15059 (__ieee754_gammal): Define as alias.
15060 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15061 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
15062 <math/w_lgamma_compat.c>.
15063 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15064 Define as alias of __lgamma_compat and use in defining lgammal.
15065 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15066 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
15067 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15068 (USE_AS_COMPAT): New macro.
15069 (LGAMMA_OLD_VER): Undefine and redefine.
15070 (lgammal): Do not define here.
15071 (gammal): Only define here if [GAMMA_ALIAS].
15072 * conform/linknamespace.pl (@whitelist): Remove signgam.
15073 * sysdeps/nacl/libm.abilist: Update.
15074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15078 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15079 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15087 Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15089 Likewise.
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15091 Likewise.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15093 Likewise.
15094 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15100 Likewise.
15101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15102 Likewise.
15103 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15106
15107 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15108
15109 [BZ #16364]
15110 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15111 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15112
15113 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15114
15115 * sysdeps/s390/fpu/bits/mathinline.h:
15116 Use __asm__ [__volatile__] instead of asm [volatile].
15117 * sysdeps/s390/abort-instr.h: Likewise.
15118 * sysdeps/s390/atomic-machine.h: Likewise.
15119 * sysdeps/s390/bits/string.h: Likewise.
15120 * sysdeps/s390/dl-tls.h: Likewise.
15121 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15122 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15123 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15124 * sysdeps/s390/fpu/fesetround.c: Likewise.
15125 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15126 * sysdeps/s390/fpu/s_fma.c: Likewise.
15127 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15128 * sysdeps/s390/memusage.h: Likewise.
15129 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15130 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15131 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15132 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15133 * sysdeps/s390/nptl/tls.h: Likewise.
15134 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15135 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15136 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15137 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15138 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15139 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15140 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15141 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15142 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15143 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15144 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15145 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15146 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15147 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15148 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15149 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15150 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15151 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15152 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15154 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15156 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15157
15158 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15159 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15160
15161 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15162 Add lwarx hint, and use macro for acquire instruction.
15163 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15164 Likewise.
15165 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15166 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15167 update to use new atomic macros.
15168
15169 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15170
15171 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15172 (__lll_trylock_elision): Fix setting of adapt_count.
15173 * sysdeps/unix/sysv/linux/powerpc/htm.h
15174 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15175 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15176 (_ABORT_SYSCALL): Renumber, and clarify definition.
15177 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15178
15179 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15180
15181 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15182 after system headers to prevent MIN/MAX redefinition. Define
15183 HAVE_ALLOCA to preserve builtin alloca usage.
15184
15185 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15186
15187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15188 static and don't set or restore rounding.
15189 (__cos)[IN_SINCOS]: Likewise.
15190 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15191 (__sincos): Set and restore rounding mode. Remove check for infinite
15192 or NaN input.
15193
15194 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15195
15196 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15197 as used.
15198
15199 2015-11-16 Florian Weimer <fweimer@redhat.com>
15200
15201 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15202
15203 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15204
15205 * config.make.in (have-glob-dat-reloc): New.
15206 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15207 target supports GLOB_DAT relocaton. AC_SUBST.
15208 * configure: Regenerated.
15209 * elf/Makefile (tests): Add tst-prelink.
15210 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15211 (tst-prelink-ENV): New.
15212 ($(objpfx)tst-prelink-conflict.out): Likewise.
15213 ($(objpfx)tst-prelink-cmp.out): Likewise.
15214 * sysdeps/x86/tst-prelink.c: Moved to ...
15215 * elf/tst-prelink.c: Here.
15216 * sysdeps/x86/tst-prelink.exp: Moved to ...
15217 * elf/tst-prelink.exp: Here.
15218 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15219 (tst-prelink-ENV): Removed.
15220 ($(objpfx)tst-prelink-conflict.out): Likewise.
15221 ($(objpfx)tst-prelink-cmp.out): Likewise.
15222 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15223
15224 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15225
15226 [BZ #14551]
15227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15228 (__mpn_construct_long_double): If high part overflows to infinity,
15229 set errno and recompute overflowed result of the correct sign.
15230 * sysdeps/ieee754/ldbl-128ibm/Makefile
15231 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15232 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15233 $(libm).
15234 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15235
15236 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15237
15238 [BZ #15479]
15239 [BZ #19238]
15240 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15241 floating-point state after first operation on input. Restore full
15242 state rather than just rounding mode.
15243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15244 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15245 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15246
15247 [BZ #19235]
15248 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15249 add 0.5 to integer arguments.
15250 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15251 Likewise.
15252 (.LC2): New object.
15253
15254 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15255
15256 * scripts/pylintrc (reports): Set to no.
15257
15258 2015-11-10 Roland McGrath <roland@hack.frob.com>
15259
15260 * elf/dl-load.c (open_verify): Take new argument FD.
15261 Skip __open call if passed FD is not -1.
15262 (_dl_map_object, open_path): Update callers.
15263 * elf/dl-sysdep-open.h: New file.
15264 * elf/dl-load.c: Include it.
15265 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15266 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15267 * sysdeps/nacl/dl-sysdep-open.h: New file.
15268 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15269 from libc to rtld.
15270
15271 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15272
15273 [BZ #19228]
15274 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15275 and restore full floating-point state.
15276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15277 Likewise.
15278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15279 Likewise.
15280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15281 Likewise.
15282 * math/test-nearbyint-except-2.c: New file.
15283 * math/Makefile (tests): Add test-nearbyint-except-2.
15284
15285 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15286
15287 [BZ #19178]
15288 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15289 (tst-prelink-ENV): New.
15290 ($(objpfx)tst-prelink-conflict.out): Likewise.
15291 ($(objpfx)tst-prelink-cmp.out): Likewise.
15292 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15293 * sysdeps/x86/tst-prelink.c: New file.
15294 * sysdeps/x86/tst-prelink.exp: Likewise.
15295
15296 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15297
15298 * math/auto-libm-test-in: Add another test of pow.
15299 * math/auto-libm-test-out: Regenerated.
15300 * math/libm-test.inc (pow_test_data): Add another test.
15301
15302 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15303
15304 [BZ #19219]
15305 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15306 weak_alias to nearbyintl.
15307
15308 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15309
15310 * sysdeps/aarch64/bits/string.h: New file.
15311 (_STRING_ARCH_unaligned): Define.
15312
15313 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15314
15315 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15316 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15317 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15318 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15320
15321 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15322
15323 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15324 for original name of the DSO. Add it to the name list of the DSO
15325 if it is actually given.
15326 (_dl_map_object): Keep track of whether an audit module rewrote
15327 the file name. If yes, pass the original name to
15328 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15329 debugging is enabled, log the change of the file name.
15330 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15331 _dl_map_object_from_fd.
15332 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15333 * elf/tst-audit11.c: New file
15334 * elf/tst-auditmod11.c: New file.
15335 * elf/tst-audit11mod1.c: New file.
15336 * elf/tst-audit11mod2.c: New file.
15337 * elf/tst-audit11mod2.map: New file.
15338 * elf/tst-audit12.c: New file
15339 * elf/tst-auditmod12.c: New file.
15340 * elf/tst-audit12mod1.c: New file.
15341 * elf/tst-audit12mod2.c: New file.
15342 * elf/tst-audit12mod2.map: New file.
15343 * elf/tst-audit12mod3.c: New file.
15344
15345 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15346
15347 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15348 Don't create weak aliases,
15349 because versioned symbols are created later.
15350 * sysdeps/s390/s390-32/setjmp.S
15351 (setjmp, _setjmp): Remove weak and rename to an unique name
15352 in SHARED case due to existing versioned symbols.
15353 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15354 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15355 (getcontext): Create weak alias only in non SHARED case.
15356 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15357
15358 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15359
15360 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15361 (__ASSUME_*_SYSCALL) Define new macros.
15362 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15363 Remove socketcall syscalls.
15364 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15365 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15366 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15367 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15368 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15369 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15370
15371 2015-11-09 Florian Weimer <fweimer@redhat.com>
15372
15373 [BZ #12926]
15374 Terminate process on invalid netlink response.
15375 * sysdeps/unix/sysv/linux/netlinkaccess.h
15376 (__netlink_assert_response): Declare.
15377 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15378 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15379 (sysdep_routines): Add netlink_assert_response.
15380 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15381 __netlink_assert_response.
15382 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15383 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15384 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15385 __netlink_assert_response.
15386
15387 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15388
15389 [BZ #19178]
15390 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15391 (RTYPE_CLASS_PLT): Likewise.
15392 (RTYPE_CLASS_COPY): Likewise.
15393 (RTYPE_CLASS_TLS): Likewise.
15394 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15395 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15396 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15397 DL_DEBUG_PRELINK.
15398
15399 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15400
15401 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15402 calls with argument -0.5.
15403 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15404
15405 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15406 (libc_cv_z_nodlopen): Likewise.
15407 (libc_cv_z_initfirst): Likewise.
15408 * configure: Regenerated.
15409
15410 2015-11-06 Florian Weimer <fweimer@redhat.com>
15411
15412 Simplify abilist format to be line-based.
15413 * scripts/abilist.awk: Collect descriptors in the descs variable.
15414 (emit): Write descs variable and sort it
15415 externally, with sort.
15416 * sysdeps/**/*.abilist: Convert to new format.
15417
15418 2015-11-06 Mark Wielaard <mjw@redhat.com>
15419
15420 [BZ #11460]
15421 * io/Makefile (routines): Add fts64.
15422 (tests): Add tst-fts and tst-fts-lfs.
15423 (CFLAGS-fts64.c): New.
15424 * io/Versions (GLIBC_2.23): New.
15425 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15426 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15427 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15428 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15429 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15430 (FTSENT64): Likewise.
15431 (fts64_children): Likewise.
15432 (fts64_close): Likewise.
15433 (fts64_open): Likewise.
15434 (fts64_read): Likewise.
15435 (fts64_set): Likewise.
15436 * io/fts64.c: New file.
15437 * io/tst-fts.c: New test.
15438 * io/tst-fts-lfs.c: Likewise.
15439 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15440 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15441 fts64_set.
15442 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15443 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15444 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15445 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15446 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15447 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15448 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15449 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15450 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15451 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15452 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15453 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15454 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15456 Likewise.
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15458 Likewise.
15459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15461 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15462 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15463 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15464 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15468 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15469 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15470 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15471 * sysdeps/wordsize-64/fts.c: New file.
15472 * sysdeps/wordsize-64/fts64.c: Likewise.
15473 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15474 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15475 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15476 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15477
15478 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15479
15480 * math/libm-test.inc (NON_FINITE): New macro.
15481 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15482 * math/gen-libm-test.pl (show_exceptions): Add argument
15483 $non_finite.
15484 (parse_args): Update call to show_exceptions.
15485 * math/test-math-finite.h: New file.
15486 * math/test-math-no-finite.h: Likewise.
15487 * math/test-double-finite.c: Likewise.
15488 * math/test-float-finite.c: Likewise.
15489 * math/test-ldouble-finite.c: Likewise.
15490 * math/test-double.c: Include "test-math-no-finite.h".
15491 * math/test-float.c: Include "test-math-no-finite.h".
15492 * math/test-ldouble.c: Include "test-math-no-finite.h".
15493 * math/test-math-inline.h (TEST_FINITE): New macro.
15494 * math/test-math-vector.h (TEST_FINITE): Likewise.
15495 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15496 (libm-tests): Add test-float-finite and test-double-finite.
15497 ($(objpfx)test-float-finite.o): New dependency on
15498 $(objpfx)libm-test.stmp.
15499 ($(objpfx)test-double-finite.o): Likewise.
15500 ($(objpfx)test-ldouble-finite.o): Likewise.
15501 (libm-test-no-inline-cflags): New variable.
15502 (libm-test-finite-cflags): Likewise.
15503 (CFLAGS-test-float-finite.c): Likewise.
15504 (CFLAGS-test-double-finite.c): Likewise.
15505 (CFLAGS-test-ldouble-finite.c): Likewise.
15506 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15507 (CFLAGS-test-double.c): Likewise.
15508 (CFLAGS-test-ldouble.c): Likewise.
15509
15510 2015-11-05 Roland McGrath <roland@hack.frob.com>
15511
15512 * io/fcntl.c (__fcntl): Add ... to prototype.
15513 * misc/ioctl.c (__ioctl): Likewise.
15514 * misc/syscall.c (syscall): Likewise.
15515
15516 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15517
15518 * scripts/list-fixed-bugs.py: New file.
15519
15520 [BZ #19213]
15521 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15522 returned for argument 1.
15523 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15524 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15525 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15526 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15527 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15528 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15529
15530 [BZ #19211]
15531 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15532 __USE_XOPEN], not if [!__USE_ISOC99].
15533 (lgammaf): Likewise.
15534 (lgammal): Likewise.
15535 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15536 (gammaf): Likewise.
15537 (gammal): Likewise.
15538 * math/test-signgam-finite-c11.c: New file.
15539 * math/test-signgam-finite-c99.c: Likewise.
15540 * math/test-signgam-finite.c: Likewise.
15541 * math/Makefile (tests): Add test-signgam-finite,
15542 test-signgam-finite-c99 and test-signgam-finite-c11.
15543 (CFLAGS-test-signgam-finite.c): New variable.
15544 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15545 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15546
15547 [BZ #19212]
15548 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15549 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15550 500].
15551 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15552 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15553 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15554 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15555 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15556 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15557 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15558 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15559 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15560 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15561
15562 [BZ #19209]
15563 * math/bits/math-finite.h (ldexp): Remove declaration.
15564 (ldexpf): Likewise.
15565 (ldexpl): Likewise.
15566
15567 [BZ #19205]
15568 * math/bits/math-finite.h (acosf): Condition declaration on
15569 [__USE_ISOC99].
15570 (acosl): Likewise.
15571 (acoshf): Likewise.
15572 (acoshl): Likewise.
15573 (asinf): Likewise.
15574 (asinl): Likewise.
15575 (atan2f): Likewise.
15576 (atan2l): Likewise.
15577 (atanhf): Likewise.
15578 (atanhl): Likewise.
15579 (coshf): Likewise.
15580 (coshl): Likewise.
15581 (expf): Likewise.
15582 (expl): Likewise.
15583 (fmodf): Likewise.
15584 (fmodl): Likewise.
15585 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15586 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15587 (j0l): Likewise.
15588 (y0f): Likewise.
15589 (y0l): Likewise.
15590 (j1f): Likewise.
15591 (j1l): Likewise.
15592 (y1f): Likewise.
15593 (y1l): Likewise.
15594 (jnf): Likewise.
15595 (jnl): Likewise.
15596 (ynf): Likewise.
15597 (ynl): Likewise.
15598 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15599 (lgammal_r): Likewise.
15600 (__lgamma_r_finite): New declaration.
15601 (__lgammaf_r_finite): Likewise.
15602 (__lgammal_r_finite): Likewise.
15603 (lgamma): Use __lgamma_r_finite.
15604 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15605 __lgammaf_r_finite.
15606 (lgammal): Condition definition on [__USE_ISOC99]. Use
15607 __lgammal_r_finite.
15608 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15609 __lgamma_r_finite.
15610 (gammaf): Condition definition on [__USE_ISOC99]. Use
15611 __lgammaf_r_finite.
15612 (gammal): Condition definition on [__USE_ISOC99]. Use
15613 __lgammal_r_finite.
15614 (logf): Condition declaration on [__USE_ISOC99].
15615 (logl): Likewise.
15616 (log10f): Likewise.
15617 (log10l): Likewise.
15618 (ldexpf): Likewise.
15619 (ldexpl): Likewise.
15620 (powf): Likewise.
15621 (powl): Likewise.
15622 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15623 __USE_ISOC99].
15624 (remainderf): Condition declaration on [__USE_ISOC99].
15625 (remainderl): Likewise.
15626 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15627 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15628 (scalbl): Likewise.
15629 (sinhf): Condition declaration on [__USE_ISOC99].
15630 (sinhl): Likewise.
15631 (sqrtf): Likewise.
15632 (sqrtl): Likewise.
15633
15634 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15635
15636 * sysdeps/arm/atomic-machine.h
15637 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15638 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15639 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15640 Remove conditional code.
15641 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15642 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15643 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15644 Change conditional to [__ASSEMBLER__].
15645 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15646 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15647 [!__ASSEMBLER__].
15648 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15649 code.
15650 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15651 conditional macro definitions.
15652 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15653 (__arch_compare_and_exchange_val_16_acq): Likewise.
15654 (__arch_compare_and_exchange_val_32_acq): Likewise.
15655 (atomic_exchange_and_add): Likewise.
15656 (atomic_add): Likewise.
15657 (atomic_add_negative): Likewise.
15658 (atomic_add_zero): Likewise.
15659 (atomic_bit_set): Likewise.
15660 (atomic_bit_test_set): Likewise.
15661 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15662 code unconditional.
15663 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15664
15665 * math/test-math-errno.h: New file.
15666 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15667 empty.
15668 (TEST_ERRNO): New macro.
15669 (TEST_EXCEPTIONS): Likewise.
15670 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15671 (TEST_EXCEPTIONS): Likewise.
15672 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15673 * math/test-double.c: Include "test-math-errno.h".
15674 * math/test-float.c: Likewise.
15675 * math/test-ldouble.c: Likewise.
15676 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15677 code unconditional.
15678 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15679 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15680 unconditional.
15681 (test_errno): Only run code if TEST_ERRNO.
15682 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15683
15684 2015-11-04 Florian Weimer <fweimer@redhat.com>
15685
15686 * nptl/tst-once5.cc: Remove attribution.
15687
15688 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15689
15690 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15691 sqrt, tan, tanh, y0, y1 and yn.
15692 * math/auto-libm-test-out: Regenerated.
15693 * math/libm-test.inc (scalb_test_data): Add more tests.
15694 (scalbn_test_data): Likewise.
15695 (scalbln_test_data): Likewise.
15696 (signbit_test_data): Likewise.
15697 (sin_test_data): Likewise.
15698 (sincos_test_data): Likewise.
15699 (sinh_test_data): Likewise.
15700 (sqrt_test_data): Likewise.
15701 (tan_test_data): Likewise.
15702 (tanh_test_data): Likewise.
15703 (tgamma_test_data): Likewise.
15704 (y0_test_data): Likewise.
15705 (y1_test_data): Likewise.
15706 (yn_test_data): Likewise.
15707 (significand_test_data): Likewise.
15708 * sysdeps/i386/fpu/libm-test-ulps: Update.
15709
15710 2015-11-03 David Kastrup <dak@gnu.org>
15711
15712 [BZ #18604]
15713 * assert/assert.h (assert): Don't macro-expand failed assertion
15714 expression in error message.
15715 * malloc/malloc.c (assert): Likewise.
15716
15717 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15718
15719 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15720 test.
15721 * configure: Regenerated.
15722
15723 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15724
15725 * math/libm-test.inc (modf_test_data): Add more tests.
15726 (nearbyint_test_data): Likewise.
15727 (nextafter_test_data): Likewise.
15728 (nexttoward_test_data): Likewise.
15729 (pow_test_data): Likewise.
15730 (remainder_test_data): Likewise.
15731 (remquo_test_data): Likewise.
15732 (rint_test_data): Likewise.
15733
15734 [BZ #19201]
15735 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15736 Check for zero remainder in case of large exponents and ensure
15737 correct sign of result in that case.
15738 * math/libm-test.inc (remainder_test_data): Add more tests.
15739
15740 [BZ #6799]
15741 * math/s_nextafter.c: Include <errno.h>.
15742 (__nextafter): Set errno on overflow and underflow.
15743 * math/s_nexttowardf.c: Include <errno.h>.
15744 (__nexttowardf): Set errno on overflow and underflow.
15745 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15746 (__nextafterl): Set errno on overflow and underflow.
15747 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15748 (__nexttoward): Set errno on overflow and underflow.
15749 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15750 (__nexttowardf): Set errno on overflow and underflow.
15751 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15752 (__nextafterf): Set errno on overflow and underflow.
15753 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15754 (__nextafterl): Set errno on overflow and underflow.
15755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15756 (__nexttoward): Set errno on overflow and underflow.
15757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15758 (__nexttowardf): Set errno on overflow and underflow.
15759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15760 (__nextafterl): Set errno on overflow and underflow.
15761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15762 (__nexttoward): Set errno on overflow and underflow.
15763 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15764 (__nexttowardf): Set errno on overflow and underflow.
15765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15766 (__nexttoward): Set errno on overflow and underflow.
15767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15768 (__nexttowardf): Set errno on overflow and underflow.
15769 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15770 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15771 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15772 (__nextafterl): Set errno on overflow and underflow.
15773 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15774 setting to be missing on overflow. Add more tests.
15775 (nexttoward_test_data): Likewise.
15776
15777 * configure.ac (libc_cv_initfini_array): Remove configure test.
15778 * configure: Regenerated.
15779
15780 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15781
15782 [BZ #19189]
15783 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15784 non-finite argument handle arguments with negative sign.
15785
15786 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15787 result from infinite argument.
15788 (j1_test_data): Likewise.
15789 (jn_test_data): Likewise.
15790 (y0_test_data): Likewise.
15791 (y1_test_data): Likewise.
15792 (yn_test_data): Likewise.
15793
15794 [BZ #16171]
15795 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15796 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15797 * math/w_remainderf.c (dremf): Define as weak alias of
15798 __remainderf.
15799 * math/w_remainderl.c (dreml): Define as weak alias of
15800 __remainderl.
15801 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15802 __remainder.
15803 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15804 __remainderf.
15805 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15806 __remainderl.
15807 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15808 weak alias of remainderl.
15809 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15810 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15811 alias of __remainder.
15812 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15813 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15814 strong alias of __remainderl.
15815 (dreml): Use long_double_symbol.
15816 * math/Makefile (libm-calls): Remove w_drem.
15817 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15818 (CFLAGS-nldbl-drem.c): Remove variable.
15819 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15820 * math/w_drem.c: Remove file.
15821 * math/w_dremf.c: Likewise.
15822 * math/w_dreml.c: Likewise.
15823 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15824 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15825 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15826
15827 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15828 * sysdeps/i386/configure: Regenerated.
15829 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15830 * sysdeps/x86_64/configure: Regenerated.
15831
15832 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15833 test.
15834 (libc_cv_visibility_attribute): Likewise.
15835 (libc_cv_protected_data): Test unconditionally.
15836 (libc_cv_broken_visibility_attribute): Remove configure test.
15837 (libc_cv_have_sdata_section): Test unconditionally.
15838 * configure: Regenerated.
15839
15840 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15841 * include/scratch_buffer.h: Include <stddef.h> instead of
15842 <libc-internal.h>.
15843 (struct scratch_buffer): Use max_align_t instead of
15844 libc_max_align_t.
15845
15846 2015-10-29 Florian Weimer <fweimer@redhat.com>
15847
15848 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15849 instead of extend_alloca. Change control flow to avoid a goto.
15850 Remove assert which is trivially always true.
15851
15852 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15853
15854 [BZ #16068]
15855 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15856 (FE_ALL_EXCEPT_X86): New macro.
15857 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15858 FE_ALL_EXCEPT. Ensure precision control is included in
15859 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15860 handle "denormal operand exception" and clear FZ and DAZ bits.
15861 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15862 (FE_ALL_EXCEPT_X86): New macro.
15863 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15864 FE_ALL_EXCEPT. Ensure precision control is included in
15865 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15866 handle "denormal operand exception" and clear FZ and DAZ bits.
15867 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15868 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15869 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15870 test-fenv-x87 and test-fenv-sse-2.
15871 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15872
15873 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15874 * math/test-double.h (BUILD_COMPLEX): New macro.
15875 * math/test-float.h (BUILD_COMPLEX): Likewise.
15876 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15877
15878 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15879 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15880 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15881 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15882 instead of DBL_DENORM_MIN in comment.
15883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15884 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15886 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15887 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15888 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15889
15890 2015-10-28 Florian Weimer <fweimer@redhat.com>
15891
15892 [BZ# 19048]
15893 * malloc/malloc.c (struct malloc_state): Update comment. Add
15894 attached_threads member.
15895 (main_arena): Initialize attached_threads.
15896 * malloc/arena.c (list_lock): Update comment.
15897 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15898 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15899 (deattach_arena): New function.
15900 (_int_new_arena): Initialize arena reference count and deattach
15901 replaced arena.
15902 (get_free_list, reused_arena): Update reference count and deattach
15903 replaced arena.
15904 (arena_thread_freeres): Update arena reference count and only put
15905 unreferenced arenas on the free list.
15906
15907 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15908
15909 [BZ #19181]
15910 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15911 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15912 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15913 * math/test-fenv-clear-main.c: New file.
15914 * math/test-fenv-clear.c: Likewise.
15915 * math/Makefile (tests): Add test-fenv-clear.
15916 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15917 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15918 test-fenv-clear-sse.
15919 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15920
15921 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15922 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15923 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15924
15925 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15926
15927 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15928 static libc.
15929
15930 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15931
15932 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15933 test.
15934 * sysdeps/i386/configure: Regenerated.
15935 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15936 test.
15937 * sysdeps/x86_64/configure: Regenerated.
15938 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15940 memset-avx2 unconditionally instead of conditionally on
15941 [$(config-cflags-avx2) = yes].
15942 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15943 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15944 unconditional.
15945 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15946 * sysdeps/x86_64/multiarch/memset_chk.S
15947 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15948 to [IS_IN (libc) && SHARED].
15949
15950 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15951
15952 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15953 configure test.
15954 * sysdeps/arm/configure: Regenerated.
15955 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15956 Define variable if not already defined.
15957
15958 [BZ #17404]
15959 * sysdeps/mips/atomic-machine.h
15960 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15961 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15962 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15963
15964 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15965 unconditional.
15966 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15967 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15968 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15969 unconditional.
15970 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15971 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15972 unconditional.
15973 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15974 * stdlib/setenv.c
15975 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15976 code unconditional.
15977 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15978 Remove conditional code.
15979 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15980 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15981 unconditional.
15982 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15983 code.
15984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15985 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15986 unconditional.
15987 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15988 code.
15989 * sysdeps/ieee754/ldbl-128/k_tanl.c
15990 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15991 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15992 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15993 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15994 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15996 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15997 unconditional.
15998 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15999 code.
16000 * sysdeps/ieee754/ldbl-96/k_tanl.c
16001 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16002 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16003
16004 * nptl/tst-initializers1-c11.c: New file.
16005 * nptl/tst-initializers1-gnu11.c: Likewise.
16006 * nptl/Makefile (tests): Add these new tests.
16007 (CFLAGS-tst-initializers1-c11.c): New variable.
16008 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16009
16010 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16011 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16012 instead of -std=gnu99.
16013 * configure.ac (systemtap): Test with -std=gnu11 instead of
16014 -std=gnu99.
16015 * configure: Regenerated.
16016 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16017 in compilation command in comment.
16018
16019 * sysdeps/nptl/configure.ac: Remove file.
16020 * sysdeps/nptl/configure: Remove generated file.
16021 * configure.ac (libc_cv_forced_unwind): Do not substitute.
16022 * configure: Regenerated.
16023 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16024 * config.make.in (have-forced-unwind): Remove variable.
16025 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16026 unconditional.
16027 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16028 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16029 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16030 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16031 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16032 unconditional.
16033
16034 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16035
16036 [BZ #19174]
16037 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16038 .skip_lock_out_of_tbegin_retries.
16039 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16040 (__lll_lock_elision): Likewise, and respect a value of
16041 try_tbegin <= 0.
16042
16043 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16044
16045 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16046 statement.
16047
16048 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16049
16050 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16051 variable.
16052 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16053 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16054
16055 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16056 of -std=c1x -D_ISOC11_SOURCE.
16057
16058 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16059 * configure: Regenerated.
16060 * manual/install.texi (Tools for Compilation): Document
16061 requirement for GCC 4.7 or later.
16062 * INSTALL: Regenerated.
16063
16064 2015-10-27 Ludovic Courtès <ludo@gnu.org>
16065
16066 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16067 on CNT to a conditional jump to 'puntdata'.
16068
16069 2015-10-27 Joseph Myers <joseph@codesourcery.com>
16070
16071 * configure.ac (libc_cv_gcc___thread): Remove configure test.
16072 (libc_cv_gcc_tls_model_attr): Likewise.
16073 * configure: Regenerated.
16074
16075 * configure.ac (libc_cv_need_minus_P): Remove configure test.
16076 * configure: Regenerated.
16077 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16078
16079 2015-10-26 Joseph Myers <joseph@codesourcery.com>
16080
16081 * configure.ac (old_glibc_headers): Remove configure test.
16082 * configure: Regenerated.
16083 * config.make.in (old-glibc-headers): Remove variable.
16084 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16085 (install): Remove dependency on remove-old-headers.
16086 (headers2_0): Remove variable.
16087 (remove-old-headers): Remove rule.
16088
16089 * configure.ac (libc_cv_dot_text): Remove configure test.
16090 (libc_cv_asm_set_directive): Use .text instead of
16091 ${libc_cv_dot_text} in configure test.
16092 * configure: Regenerated.
16093
16094 2015-10-26 Florian Weimer <fweimer@redhat.com>
16095
16096 [BZ #19168]
16097 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16098
16099 2015-10-26 Florian Weimer <fweimer@redhat.com>
16100
16101 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16102 not support static linking.
16103 * configure: Regenerate.
16104
16105 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16106
16107 * math/libm-test.inc (check_float_internal): Do not special-case
16108 errors up to 0.5 ulp.
16109
16110 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16111 log2.
16112 * math/auto-libm-test-out: Regenerated.
16113 * math/libm-test.inc (MAX_EXP): New macro.
16114 (ilogb_test_data): Add more tests.
16115 (isfinite_test_data): Likewise.
16116 (isgreater_test_data): Likewise.
16117 (isgreaterequal_test_data): Likewise.
16118 (isinf_test_data): Likewise.
16119 (isless_test_data): Likewise.
16120 (islessequal_test_data): Likewise.
16121 (islessgreater_test_data): Likewise.
16122 (isnan_test_data): Likewise.
16123 (isnormal_test_data): Likewise.
16124 (issignaling_test_data): Likewise.
16125 (isunordered_test_data): Likewise.
16126 (j0_test_data): Likewise.
16127 (j1_test_data): Likewise.
16128 (jn_test_data): Likewise.
16129 (lgamma_test_data): Likewise.
16130 (log_test_data): Likewise.
16131 (log10_test_data): Likewise.
16132 (log1p_test_data): Likewise.
16133 (log2_test_data): Likewise.
16134 (logb_test_data): Likewise.
16135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16136
16137 [BZ #18611]
16138 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16139 avoid excess range and precision on underflow.
16140 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16141 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16142 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16144 underflow.
16145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16146 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16147 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16148 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16149 * math/auto-libm-test-in: Do not allow missing errno setting for
16150 tests of j1 and jn.
16151 * math/auto-libm-test-out: Regenerated.
16152
16153 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16154
16155 [BZ #15491]
16156 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16157 floating-point environment instead of clearing all exceptions.
16158 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16159 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16160 merging in "invalid" exceptions from frndint.
16161 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16162 * math/test-nearbyint-except.c: New file.
16163 * math/Makefile (tests): Add test-nearbyint-except.
16164
16165 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16166
16167 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16168
16169 * sysdeps/tile/libm-test-ulps: Regenerated.
16170
16171 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16172
16173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16174 (__NR_sync_file_range2): Assume it is always defined.
16175 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16176 (__NR_sync_file_range): Assume it is always defined.
16177
16178 2015-10-22 Andreas Schwab <schwab@suse.de>
16179
16180 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16181 INTERNAL_SYSCALL_ERRNO.
16182 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16183 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16184 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16185 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16186 Likewise.
16187 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16188
16189 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16190
16191 * io/tst-fcntl.c (fd): New static variable.
16192 (do_prepare): Open temporary file here....
16193 (do_test): ...not here.
16194
16195 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16196
16197 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16198
16199 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16200 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16201 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16202 Moved before "#ifdef __ASSEMBLER__".
16203
16204 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16205
16206 [BZ #19156]
16207 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16208 arguments very close to 0.
16209
16210 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16211
16212 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16213 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16214
16215 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16216
16217 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16218 New. Defined for GCC 5 and above when not compiling for
16219 profiling.
16220 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16221
16222 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16223 Renamed to ...
16224 (CFLAGS-epoll_pwait.o): This.
16225 (CFLAGS-mmap.c): Renamed to ...
16226 (CFLAGS-mmap.o): This.
16227 (CFLAGS-mmap64.c): Renamed to ...
16228 (CFLAGS-mmap64.o): This.
16229 (CFLAGS-epoll_pwait.os): New.
16230 (CFLAGS-mmap.os): Likewise.
16231 (CFLAGS-mmap64.os): Likewise.
16232 (CFLAGS-semtimedop.os): Likewise.
16233 (CFLAGS-semtimedop.c): Renamed to ...
16234 (CFLAGS-semtimedop.o): This.
16235
16236 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16237
16238 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16239 warning message.
16240
16241 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16242
16243 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16244 * Makefile ($(objpfx)c++-types-check.out): Filter out
16245 $(+gccwarn-c) instead of -Wstrict-prototypes.
16246
16247 * io/fts.c (fts_open): Convert to prototype-style function
16248 definition.
16249 * malloc/mcheck.c (mcheck): Likewise.
16250 (mcheck_pedantic): Likewise.
16251 * posix/regexec.c (re_search_2_stub): Likewise. Use
16252 internal_function.
16253 (re_search_internal): Likewise.
16254 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16255 prototype-style function definition.
16256 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16257 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16258 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16259 (xdr_utmpptr): Likewise.
16260 (xdr_utmparr): Likewise.
16261 (xdr_utmpidle): Likewise.
16262 (xdr_utmpidleptr): Likewise.
16263 (xdr_utmpidlearr): Likewise.
16264
16265 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16266 log, log10 and log2.
16267 * math/auto-libm-test-out: Regenerated.
16268 * math/libm-test.inc (fmod_test_data): Add more tests.
16269 (fpclassify_test_data): Likewise.
16270 (frexp_test_data): Likewise.
16271 (hypot_test_data): Likewise.
16272 (ilogb_test_data): Likewise.
16273
16274 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16275
16276 * debug/fortify_fail.c (__fortify_fail): Convert to
16277 prototype-style function definition. Use internal_function.
16278 * libio/genops.c (save_for_backup): Convert to prototype-style
16279 function definition.
16280 * libio/wgenops.c (save_for_wbackup): Likewise.
16281 * login/grantpt.c (grantpt): Likewise.
16282 * login/ptsname.c (ptsname): Likewise.
16283 (__ptsname_r): Likewise.
16284 * login/unlockpt.c (unlockpt): Likewise.
16285 * mach/msgserver.c (__mach_msg_server): Likewise.
16286 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16287 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16288 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16289 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16290 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16291 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16292 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16293 Likewise.
16294 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16295 internal_function.
16296 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16297 prototype-style function definition.
16298 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16299 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16300 (__pthread_create_2_0): Likewise.
16301 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16302 * nptl/register-atfork.c (__register_atfork): Likewise.
16303 * posix/glob.c (glob): Likewise.
16304 * posix/regcomp.c (re_comp): Likewise.
16305 * posix/regexec.c (re_exec): Likewise.
16306 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16307 [!__STDC__]: Remove conditional code.
16308 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16309 [!__STDC__]: Remove conditional code.
16310 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16311 [!__STDC__]: Remove conditional code.
16312 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16313 [!__STDC__]: Remove conditional code.
16314 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16315 [!__STDC__]: Remove conditional code.
16316 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16317 [!__STDC__]: Remove conditional code.
16318 * stdlib/mul.c [__STDC__]: Make code unconditional.
16319 [!__STDC__]: Remove conditional code.
16320 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16321 [!__STDC__]: Remove conditional code.
16322 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16323 [!__STDC__]: Remove conditional code.
16324 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16325 function definition.
16326 (STRTOF): Likewise.
16327 * stdlib/strtod_l.c (__STRTOF): Likewise.
16328 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16329 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16330 (__strtol_l): Likewise.
16331 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16332 [!__STDC__]: Remove conditional code.
16333 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16334 definition.
16335 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16336 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16337 type.
16338 (__strcasecmp): Convert to prototype-style function definition.
16339 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16340 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16341 type.
16342 (__strncasecmp): Convert to prototype-style function definition.
16343 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16344 * sunrpc/xdr.c (xdr_union): Likewise.
16345 * sunrpc/xdr_array.c (xdr_array): Likewise.
16346 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16347 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16348 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16349 Likewise.
16350 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16351 Likewise.
16352 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16353 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16354 Likewise.
16355 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16356 (LOCALE_PARAM_PROTO): Likewise.
16357 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16358 argument type.
16359 (ut_argument_spec): Remove macro.
16360 (ut_argument_spec_iso): Rename to ut_argument_spec.
16361 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16362 prototype-style function definition.
16363 (memcpy_uppcase): Likewise.
16364 (__strftime_internal): Likewise.
16365 (my_strftime): Likewise.
16366 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16367 (LOCALE_PARAM_DECL): Likewise.
16368 [_LIBC] (LOCALE_PARAM): Include argument type.
16369 (__strptime_internal): Convert to prototype-style function
16370 definition.
16371 (strptime): Likewise.
16372 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16373 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16374 type.
16375 (__wcscasecmp): Convert to prototype-style function definition.
16376 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16377 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16378 type.
16379 (__wcsncasecmp): Convert to prototype-style function definition.
16380
16381 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16382 function definition.
16383 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16384 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16385 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16386 * elf/dl-minimal.c (_itoa): Likewise.
16387 * hurd/hurdmalloc.c (malloc): Likewise.
16388 (free): Likewise.
16389 (realloc): Likewise.
16390 * inet/inet6_option.c (inet6_option_space): Likewise.
16391 (inet6_option_init): Likewise.
16392 (inet6_option_append): Likewise.
16393 (inet6_option_alloc): Likewise.
16394 (inet6_option_next): Likewise.
16395 (inet6_option_find): Likewise.
16396 * io/ftw.c (FTW_NAME): Likewise.
16397 (NFTW_NAME): Likewise.
16398 (NFTW_NEW_NAME): Likewise.
16399 (NFTW_OLD_NAME): Likewise.
16400 * libio/iofwide.c (_IO_fwide): Likewise.
16401 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16402 (_IO_str_init_static): Likewise.
16403 (_IO_str_init_readonly): Likewise.
16404 (_IO_str_overflow): Likewise.
16405 (_IO_str_underflow): Likewise.
16406 (_IO_str_count): Likewise.
16407 (_IO_str_seekoff): Likewise.
16408 (_IO_str_pbackfail): Likewise.
16409 (_IO_str_finish): Likewise.
16410 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16411 (_IO_wstr_overflow): Likewise.
16412 (_IO_wstr_underflow): Likewise.
16413 (_IO_wstr_count): Likewise.
16414 (_IO_wstr_seekoff): Likewise.
16415 (_IO_wstr_pbackfail): Likewise.
16416 (_IO_wstr_finish): Likewise.
16417 * locale/programs/localedef.c (normalize_codeset): Likewise.
16418 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16419 (add_locales_to_archive): Likewise.
16420 (delete_locales_from_archive): Likewise.
16421 * malloc/malloc.c (__libc_mallinfo): Likewise.
16422 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16423 * misc/tsearch.c (__tfind): Likewise.
16424 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16425 * nptl/pthread_attr_getdetachstate.c
16426 (__pthread_attr_getdetachstate): Likewise.
16427 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16428 Likewise.
16429 * nptl/pthread_attr_getinheritsched.c
16430 (__pthread_attr_getinheritsched): Likewise.
16431 * nptl/pthread_attr_getschedparam.c
16432 (__pthread_attr_getschedparam): Likewise.
16433 * nptl/pthread_attr_getschedpolicy.c
16434 (__pthread_attr_getschedpolicy): Likewise.
16435 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16436 Likewise.
16437 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16438 Likewise.
16439 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16440 Likewise.
16441 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16442 Likewise.
16443 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16444 (__pthread_attr_init_2_0): Likewise.
16445 * nptl/pthread_attr_setdetachstate.c
16446 (__pthread_attr_setdetachstate): Likewise.
16447 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16448 Likewise.
16449 * nptl/pthread_attr_setinheritsched.c
16450 (__pthread_attr_setinheritsched): Likewise.
16451 * nptl/pthread_attr_setschedparam.c
16452 (__pthread_attr_setschedparam): Likewise.
16453 * nptl/pthread_attr_setschedpolicy.c
16454 (__pthread_attr_setschedpolicy): Likewise.
16455 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16456 Likewise.
16457 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16458 Likewise.
16459 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16460 Likewise.
16461 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16462 Likewise.
16463 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16464 Likewise.
16465 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16466 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16467 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16468 use internal_function.
16469 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16470 prototype-style function definition.
16471 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16472 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16473 internal_function.
16474 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16475 Convert to prototype-style function definition.
16476 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16477 Likewise.
16478 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16479 Likewise.
16480 (__pthread_mutex_unlock): Likewise.
16481 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16482 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16483 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16484 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16485 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16486 * nss/makedb.c (process_input): Likewise.
16487 * posix/fnmatch.c (__strchrnul): Likewise.
16488 (__wcschrnul): Likewise.
16489 (fnmatch): Likewise.
16490 * posix/fnmatch_loop.c (FCT): Likewise.
16491 * posix/glob.c (globfree): Likewise.
16492 (__glob_pattern_type): Likewise.
16493 (__glob_pattern_p): Likewise.
16494 * posix/regcomp.c (re_compile_pattern): Likewise.
16495 (re_set_syntax): Likewise.
16496 (re_compile_fastmap): Likewise.
16497 (regcomp): Likewise.
16498 (regerror): Likewise.
16499 (regfree): Likewise.
16500 * posix/regexec.c (regexec): Likewise.
16501 (re_match): Likewise.
16502 (re_search): Likewise.
16503 (re_match_2): Likewise.
16504 (re_search_2): Likewise.
16505 (re_search_stub): Likewise. Use internal_function
16506 (re_copy_regs): Likewise.
16507 (re_set_registers): Convert to prototype-style function
16508 definition.
16509 (prune_impossible_nodes): Likewise. Use internal_function.
16510 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16511 prototype-style function definition.
16512 (inet_net_pton_ipv4): Likewise.
16513 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16514 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16515 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16516 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16517 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16518 Make variadic.
16519 * time/strptime_l.c (localtime_r): Convert to prototype-style
16520 function definition.
16521 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16522 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16523 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16524 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16525
16526 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16527 definition.
16528 (_ufc_doit_r): Likewise.
16529 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16530 (_ufc_output_conversion_r): Likewise.
16531 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16532 * inet/rcmd.c (rcmd_af): Likewise.
16533 (rcmd): Likewise.
16534 (ruserok_af): Likewise.
16535 (ruserok): Likewise.
16536 (ruserok2_sa): Likewise.
16537 (ruserok_sa): Likewise.
16538 (iruserok_af): Likewise.
16539 (iruserok): Likewise.
16540 (__ivaliduser): Likewise.
16541 (__validuser2_sa): Likewise.
16542 * inet/rexec.c (rexec_af): Likewise.
16543 (rexec): Likewise.
16544 * inet/ruserpass.c (ruserpass): Likewise.
16545 * locale/programs/xmalloc.c (xcalloc): Likewise.
16546 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16547 * math/w_drem.c (__drem): Likewise.
16548 * math/w_dremf.c (__dremf): Likewise.
16549 * math/w_dreml.c (__dreml): Likewise.
16550 * misc/daemon.c (daemon): Likewise.
16551 * resolv/res_debug.c (p_fqnname): Likewise.
16552 * stdlib/div.c (div): Likewise.
16553 * string/memcmp.c (memcmp_bytes): Likewise.
16554 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16555 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16556
16557 * crypt/cert.c (main): Convert to prototype-style function
16558 definition.
16559 * io/pipe.c (__pipe): Likewise.
16560 * io/pipe2.c (__pipe2): Likewise.
16561 * misc/futimesat.c (futimesat): Likewise.
16562 * misc/utimes.c (__utimes): Likewise.
16563 * posix/execve.c (__execve): Likewise.
16564 * posix/execvp.c (execvp): Likewise.
16565 * posix/execvpe.c (__execvpe): Likewise.
16566 * posix/fexecve.c (fexecve): Likewise.
16567 * socket/socketpair.c (socketpair): Likewise.
16568 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16569 * stdlib/erand48.c (erand48): Likewise.
16570 * stdlib/erand48_r.c (__erand48_r): Likewise.
16571 * stdlib/jrand48.c (jrand48): Likewise.
16572 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16573 * stdlib/lcong48.c (lcong48): Likewise.
16574 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16575 * stdlib/nrand48.c (nrand48): Likewise.
16576 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16577 * stdlib/seed48.c (seed48): Likewise.
16578 * stdlib/seed48_r.c (__seed48_r): Likewise.
16579 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16580 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16581 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16582
16583 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16584
16585 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16586 * configure: Regenerated.
16587 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16588 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16589 unconditional.
16590 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16591 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16592 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16593 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16594 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16595 unconditional.
16596 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16597
16598 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16599 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16600
16601 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16602 function definition.
16603 * crypt/crypt_util.c (__encrypt_r): Likewise.
16604 * libio/genops.c (_IO_no_init): Likewise.
16605 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16606 (_IO_old_fopencookie): Likewise.
16607 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16608 * libio/iogetline.c (_IO_getline): Likewise.
16609 (_IO_getline_info): Likewise.
16610 * libio/iogetwline.c (_IO_getwline): Likewise.
16611 (_IO_getwline_info): Likewise.
16612 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16613 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16614 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16615 (find_entry): Likewise.
16616 (iterate_table): Likewise.
16617 (lookup): Likewise.
16618 * login/forkpty.c (forkpty): Likewise.
16619 * misc/hsearch_r.c (__hsearch_r): Likewise.
16620 * misc/select.c (__select): Likewise.
16621 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16622 Likewise.
16623 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16624 Likewise.
16625 * nptl/old_pthread_cond_timedwait.c
16626 (__pthread_cond_timedwait_2_0): Likewise.
16627 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16628 * nptl/pthread_barrierattr_getpshared.c
16629 (pthread_barrierattr_getpshared): Likewise.
16630 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16631 Likewise.
16632 * nptl/pthread_mutex_setprioceiling.c
16633 (pthread_mutex_setprioceiling): Likewise.
16634 * nptl/pthread_mutexattr_getprioceiling.c
16635 (pthread_mutexattr_getprioceiling): Likewise.
16636 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16637 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16638 Likewise.
16639 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16640 Likewise.
16641 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16642 Likewise.
16643 * socket/recvfrom.c (__recvfrom): Likewise.
16644 * socket/sendto.c (__sendto): Likewise.
16645 * socket/setsockopt.c (__setsockopt): Likewise.
16646 * stdio-common/_itoa.c (_itoa): Likewise.
16647 * stdio-common/_itowa.c (_itowa): Likewise.
16648 * stdio-common/reg-printf.c (__register_printf_specifier):
16649 Likewise.
16650 (__register_printf_function): Likewise.
16651 * stdio-common/tempname.c (__path_search): Likewise.
16652 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16653 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16654 * stdlib/random_r.c (__initstate_r): Likewise.
16655 * stdlib/setenv.c (__add_to_environ): Likewise.
16656 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16657 * streams/getpmsg.c (getpmsg): Likewise.
16658 * streams/putmsg.c (putmsg): Likewise.
16659 * streams/putpmsg.c (putpmsg): Likewise.
16660 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16661 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16662 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16663 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16664 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16665 * sunrpc/svc_udp.c (cache_get): Likewise.
16666 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16667 * sysdeps/mach/hurd/getcwd.c
16668 (__canonicalize_directory_name_internal): Likewise.
16669 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16670 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16671 * sysdeps/mach/hurd/select.c (__select): Likewise.
16672 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16673 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16674 * sysdeps/sparc/nptl/pthread_barrier_init.c
16675 (__pthread_barrier_init): Likewise.
16676 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16677 (__pthread_cond_timedwait): Likewise.
16678 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16679 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16680 Likewise.
16681 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16682 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16683 Likewise.
16684 * sysvipc/semtimedop.c (semtimedop): Likewise.
16685 * time/setitimer.c (__setitimer): Likewise.
16686 * time/strftime_l.c (emacs_strftime): Likewise.
16687
16688 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16689
16690 * config.make.in (have-ssp): Delete.
16691 (stack-protector): New variable.
16692 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16693 cache test for -fstack-protector-strong. Export stack_protector to
16694 the best ssp flag.
16695 * configure: Regenerated.
16696 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16697 * nscd/Makefile (CFLAGS-nscd): Likewise.
16698 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16699
16700 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16701
16702 [BZ #19122]
16703 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16704 attribute_hidden.
16705
16706 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16707
16708 [BZ #18743]
16709 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16710 code to...
16711 (ELIDE_LOCK): ...here.
16712 (__get_new_count): New function with part of the code from
16713 __elide_lock that updates the value of adapt_count after a
16714 transaction abort.
16715 (__elided_trylock): Moved this code to...
16716 (ELIDE_TRYLOCK): ...here.
16717
16718 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16719
16720 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16721 * configure: Regenerate.
16722 * INSTALL: Regenerate.
16723 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16724 and tweak grammar.
16725
16726 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16727
16728 * login/programs/pt_chown.c: Include signal.h
16729 (main): Clear any signal mask from the parent process.
16730
16731 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16732
16733 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16734 * configure: Regenerated.
16735 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16736 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16737 $(gnu89-inline-CFLAGS).
16738
16739 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16740 test.
16741 (libc_cv_asm_weakext_directive): Likewise.
16742 * configure: Regenerated.
16743 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16744 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16745 * include/libc-symbols.h
16746 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16747 #error.
16748 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16749 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16750
16751 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16752 prototype-style function definition.
16753 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16754 * sysdeps/i386/ffs.c (__ffs): Likewise.
16755 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16756 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16757 Likewise.
16758 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16759 Likewise.
16760 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16762 Likewise.
16763 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16764 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16765 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16766 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16767 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16768 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16769 * sysdeps/mach/hurd/access.c (__access): Likewise.
16770 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16771 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16772 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16773 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16774 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16775 (cthread_getspecific): Likewise.
16776 (cthread_setspecific): Likewise.
16777 (__libc_getspecific): Likewise.
16778 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16779 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16780 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16781 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16782 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16783 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16784 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16785 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16786 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16787 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16788 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16789 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16790 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16791 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16792 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16793 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16794 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16795 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16796 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16797 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16798 * sysdeps/mach/hurd/link.c (__link): Likewise.
16799 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16800 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16801 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16802 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16803 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16804 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16805 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16806 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16807 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16808 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16809 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16810 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16811 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16812 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16813 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16814 * sysdeps/mach/hurd/send.c (__send): Likewise.
16815 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16816 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16817 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16818 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16819 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16820 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16821 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16822 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16823 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16824 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16825 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16826 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16827 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16828 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16829 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16830 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16831 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16832 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16833 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16834 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16835 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16836 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16837 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16838 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16839 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16840 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16841 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16842 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16843 * sysdeps/posix/alarm.c (alarm): Likewise.
16844 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16845 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16846 * sysdeps/posix/dup.c (__dup): Likewise.
16847 * sysdeps/posix/dup2.c (__dup2): Likewise.
16848 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16849 (main): Likewise.
16850 * sysdeps/posix/flock.c (__flock): Likewise.
16851 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16852 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16853 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16854 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16855 * sysdeps/posix/isatty.c (__isatty): Likewise.
16856 * sysdeps/posix/killpg.c (killpg): Likewise.
16857 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16858 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16859 * sysdeps/posix/raise.c (raise): Likewise.
16860 * sysdeps/posix/remove.c (remove): Likewise.
16861 * sysdeps/posix/rename.c (rename): Likewise.
16862 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16863 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16864 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16865 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16866 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16867 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16868 * sysdeps/posix/sigset.c (sigset): Likewise.
16869 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16870 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16871 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16872 * sysdeps/posix/time.c (time): Likewise.
16873 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16874 (ttyname): Likewise.
16875 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16876 * sysdeps/posix/utime.c (utime): Likewise.
16877 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16878 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16879 Likewise.
16880 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16881 (pthread_spin_trylock): Likewise.
16882 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16883 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16884 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16885 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16886 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16887 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16888 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16889 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16890 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16891 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16892 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16893 * sysdeps/s390/ffs.c (__ffs): Likewise.
16894 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16895 Likewise.
16896 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16897 Likewise.
16898 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16899 Likewise.
16900 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16901 (pthread_barrier_destroy): Likewise.
16902 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16903 (__pthread_barrier_wait): Likewise.
16904 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16905 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16906 (__pthread_barrier_wait): Likewise.
16907 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16908 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16909 (memcmp_not_common_alignment): Likewise.
16910 (MEMCMP): Likewise.
16911 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16912 (_wordcopy_fwd_dest_aligned): Likewise.
16913 (_wordcopy_bwd_aligned): Likewise.
16914 (_wordcopy_bwd_dest_aligned): Likewise.
16915 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16916 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16917 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16918 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16919 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16920 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16921 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16922 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16923 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16924 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16925 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16926 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16927 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16928 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16929 * sysdeps/unix/stime.c (stime): Likewise.
16930 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16931 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16932 Likewise. Use internal_function.
16933 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16934 Convert to prototype-style function definition.
16935 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16936 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16938 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16939 Likewise. Use internal_function.
16940 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16941 prototype-style function definition
16942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16943 Likewise.
16944 (__getlogin_r): Likewise.
16945 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16946 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16947 (__pthread_cond_broadcast): Likewise.
16948 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16949 (__pthread_cond_destroy): Likewise.
16950 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16951 (__pthread_cond_init): Likewise.
16952 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16953 (__pthread_cond_signal): Likewise.
16954 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16955 (__pthread_cond_wait): Likewise.
16956 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16957 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16958 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16959 Likewise.
16960 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16961 Likewise.
16962 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16963 Likewise.
16964 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16965 Likewise.
16966 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16968 (__ftruncate64): Likewise.
16969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16970 (truncate64): Likewise.
16971 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16972 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16973 (pthread_getcpuclockid): Likewise.
16974 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16975 Likewise.
16976 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16977 Likewise.
16978 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16979 Likewise.
16980 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16981 Likewise.
16982 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16983 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16984 (__libc_sigaction): Likewise.
16985 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16988 (__sigprocmask): Likewise.
16989 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16990 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16991 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16992 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16993 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16994 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16995 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16998 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16999 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17000 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17001 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17002 Likewise.
17003 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17004 (__sigprocmask): Likewise.
17005 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17006 (cfgetispeed): Likewise.
17007 (cfsetospeed): Likewise.
17008 (cfsetispeed): Likewise.
17009 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17010 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17011 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17012 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17013 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17014 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17015 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17016 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17017 Likewise.
17018 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17019 Likewise.
17020 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17021 Likewise.
17022 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17023 Likewise.
17024 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17025
17026 2015-10-17 Florian Weimer <fweimer@redhat.com>
17027
17028 sunrpc: Rewrite with explicit TLS access using __thread.
17029 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17030 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17031 directly.
17032 (__rpc_thread_variables): Access thread_rpc_vars directly.
17033 Eliminate redundant assignment of the tvp variable.
17034
17035 2015-10-17 Florian Weimer <fweimer@redhat.com>
17036
17037 malloc: Rewrite with explicit TLS access using __thread.
17038 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17039 (tsd_setspecific, tsd_getspecific): Remove.
17040 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17041 (tsd_setspecific, tsd_getspecific): Likewise.
17042 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17043 (tsd_setspecific, tsd_getspecific): Likewise.
17044 * malloc/arena.c (thread_arena): New TLS variable.
17045 (arena_key): Remove variable.
17046 (arena_get): Use thread_arena.
17047 (arena_lookup): Remove macro.
17048 (malloc_atfork, free_atfork, ptmalloc_lock_all)
17049 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17050 (_int_new_arena, get_free_list, reused_arena)
17051 (arena_thread_freeres): Use thread_arena.
17052 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17053 tsd_getspecific, tsd_setspecific from safety annotations.
17054 (Allocating Cleared Space): Remove arena_lookup from safety
17055 annotations.
17056
17057 2015-10-17 Florian Weimer <fweimer@redhat.com>
17058
17059 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17060 struct scratch_buffer instead of extend_alloca.
17061
17062 2015-10-17 Florian Weimer <fweimer@redhat.com>
17063
17064 * sysdeps/unix/sysv/linux/kernel-features.h
17065 (__ASSUME_SOCK_CLOEXEC): Remove.
17066 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17067 (__have_paccept): Remove unused macro.
17068 * include/unistd.h (__have_sock_cloexec): Remove declaration.
17069 * misc/syslog.c (openlog_internal): Remove fallback code for
17070 !__ASSUME_SOCK_CLOEXEC.
17071 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17072 missing SOCK_CLOEXEC.
17073 * nscd/connections.c (have_sock_cloexec): Remove definition.
17074 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17075 * nscd/nscd_helper.c (open_socket): Remove fallback code for
17076 !__ASSUME_SOCK_CLOEXEC.
17077 * resolv/res_send.c (__have_o_nonblock): Remove definition.
17078 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17079 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17080 definition.
17081 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17082 code for !__ASSUME_SOCK_CLOEXEC.
17083
17084 2015-10-17 Florian Weimer <fweimer@redhat.com>
17085
17086 [BZ #18982]
17087 * manual/stdio.texi (Variable Arguments Output): Add portability
17088 note, explaining that vfprintf clobbers the va_list pointer.
17089
17090 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17091
17092 * math/libm-test.inc (fabs_test_data): Add more tests.
17093 (fdim_test_data): Likewise.
17094 (fma_test_data): Likewise.
17095 (fmax_test_data): Likewise.
17096 (fmin_test_data): Likewise.
17097 (fmod_test_data): Likewise.
17098
17099 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17100
17101 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17102 data.
17103
17104 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17105
17106 * math/libm-test.inc (ceil_test_data): Add more tests and more
17107 expectations for "inexact".
17108 (floor_test_data): Add more tests.
17109 (round_test_data): Likewise.
17110 (trunc_test_data): Likewise.
17111
17112 * crypt/cert.c (good_bye): Convert to prototype-style function
17113 definition.
17114 (get8): Likewise.
17115 (put8): Likewise.
17116 * crypt/crypt-entry.c (crypt): Likewise.
17117 (__fcrypt): Likewise.
17118 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17119 (_ufc_set_bits): Likewise.
17120 (_ufc_clearmem): Likewise.
17121 (__init_des_r): Likewise.
17122 (shuffle_sb): Likewise.
17123 (shuffle_sb): Likewise.
17124 (_ufc_setup_salt_r): Likewise.
17125 (_ufc_mk_keytab_r): Likewise.
17126 (_ufc_dofinalperm_r): Likewise.
17127 (encrypt): Likewise.
17128 (__setkey_r): Likewise.
17129 (setkey): Likewise.
17130 * crypt/md5.c (md5_init_ctx): Likewise.
17131 (md5_read_ctx): Likewise.
17132 (md5_finish_ctx): Likewise.
17133 (md5_stream): Likewise.
17134 (md5_buffer): Likewise.
17135 (md5_process_bytes): Likewise.
17136 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17137 (__sha256_finish_ctx): Likewise.
17138 (__sha256_process_bytes): Likewise.
17139 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17140 (__sha512_finish_ctx): Likewise.
17141 (__sha512_process_bytes): Likewise.
17142 * ctype/isctype.c (__isctype): Likewise.
17143 * debug/backtrace.c (__backtrace): Likewise.
17144 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17145 * debug/fgets_chk.c (__fgets_chk): Likewise.
17146 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17147 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17148 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17149 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17150 * debug/memset_chk.c (__memset_chk): Likewise.
17151 * debug/strcat_chk.c (__strcat_chk): Likewise.
17152 * debug/strncat_chk.c (__strncat_chk): Likewise.
17153 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17154 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17155 * dirent/dirfd.c (dirfd): Likewise.
17156 * dirent/getdents.c (__getdirentries): Likewise.
17157 * dirent/getdents64.c (getdirentries64): Likewise.
17158 * dirent/rewinddir.c (__rewinddir): Likewise.
17159 * dirent/seekdir.c (seekdir): Likewise.
17160 * dirent/telldir.c (telldir): Likewise.
17161 * elf/sln.c (makesymlinks): Likewise.
17162 (makesymlink): Likewise.
17163 * gmon/gmon.c (__moncontrol): Likewise.
17164 (__monstartup): Likewise.
17165 (write_hist): Likewise.
17166 (write_call_graph): Likewise.
17167 (write_bb_counts): Likewise.
17168 * grp/setgroups.c (setgroups): Likewise.
17169 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17170 * inet/inet_net.c (inet_network): Likewise.
17171 * inet/inet_netof.c (inet_netof): Likewise.
17172 * inet/rcmd.c (rresvport_af): Likewise.
17173 (rresvport): Likewise.
17174 * io/access.c (__access): Likewise.
17175 * io/chdir.c (__chdir): Likewise.
17176 * io/chmod.c (__chmod): Likewise.
17177 * io/chown.c (__chown): Likewise.
17178 * io/close.c (__close): Likewise.
17179 * io/creat.c (creat): Likewise.
17180 * io/creat64.c (creat64): Likewise.
17181 * io/dup.c (__dup): Likewise.
17182 * io/dup2.c (__dup2): Likewise.
17183 * io/dup3.c (__dup3): Likewise.
17184 * io/euidaccess.c (__euidaccess): Likewise.
17185 * io/faccessat.c (faccessat): Likewise.
17186 * io/fchmod.c (__fchmod): Likewise.
17187 * io/fchmodat.c (fchmodat): Likewise.
17188 * io/fchown.c (__fchown): Likewise.
17189 * io/fchownat.c (fchownat): Likewise.
17190 * io/fcntl.c (__fcntl): Likewise.
17191 * io/flock.c (__flock): Likewise.
17192 * io/fts.c (fts_load): Likewise.
17193 (fts_close): Likewise.
17194 (fts_read): Likewise.
17195 (fts_set): Likewise.
17196 (fts_children): Likewise.
17197 (fts_build): Likewise.
17198 (fts_stat): Likewise.
17199 (fts_sort): Likewise.
17200 (fts_alloc): Likewise.
17201 (fts_lfree): Likewise.
17202 (fts_palloc): Likewise.
17203 (fts_padjust): Likewise.
17204 (fts_maxarglen): Likewise.
17205 (fts_safe_changedir): Likewise.
17206 * io/getwd.c (getwd): Likewise.
17207 * io/isatty.c (__isatty): Likewise.
17208 * io/lchown.c (__lchown): Likewise.
17209 * io/link.c (__link): Likewise.
17210 * io/linkat.c (linkat): Likewise.
17211 * io/lseek.c (__libc_lseek): Likewise.
17212 * io/mkdir.c (__mkdir): Likewise.
17213 * io/mkdirat.c (mkdirat): Likewise.
17214 * io/mkfifo.c (mkfifo): Likewise.
17215 * io/mkfifoat.c (mkfifoat): Likewise.
17216 * io/open.c (__libc_open): Likewise.
17217 * io/open64.c (__libc_open64): Likewise.
17218 * io/readlink.c (__readlink): Likewise.
17219 * io/readlinkat.c (readlinkat): Likewise.
17220 * io/rmdir.c (__rmdir): Likewise.
17221 * io/symlink.c (__symlink): Likewise.
17222 * io/symlinkat.c (symlinkat): Likewise.
17223 * io/ttyname.c (ttyname): Likewise.
17224 * io/ttyname_r.c (__ttyname_r): Likewise.
17225 * io/umask.c (__umask): Likewise.
17226 * io/unlink.c (__unlink): Likewise.
17227 * io/unlinkat.c (unlinkat): Likewise.
17228 * io/utime.c (utime): Likewise.
17229 * libio/clearerr.c (clearerr): Likewise.
17230 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17231 * libio/feof.c (_IO_feof): Likewise.
17232 * libio/feof_u.c (feof_unlocked): Likewise.
17233 * libio/ferror.c (_IO_ferror): Likewise.
17234 * libio/ferror_u.c (ferror_unlocked): Likewise.
17235 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17236 * libio/fileno.c (__fileno): Likewise.
17237 * libio/fputc.c (fputc): Likewise.
17238 * libio/fputc_u.c (fputc_unlocked): Likewise.
17239 * libio/fputwc.c (fputwc): Likewise.
17240 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17241 * libio/freopen.c (freopen): Likewise.
17242 * libio/freopen64.c (freopen64): Likewise.
17243 * libio/fseek.c (fseek): Likewise.
17244 * libio/fseeko.c (fseeko): Likewise.
17245 * libio/fseeko64.c (fseeko64): Likewise.
17246 * libio/ftello.c (__ftello): Likewise.
17247 * libio/ftello64.c (ftello64): Likewise.
17248 * libio/fwide.c (fwide): Likewise.
17249 * libio/genops.c (_IO_un_link): Likewise.
17250 (_IO_link_in): Likewise.
17251 (_IO_least_marker): Likewise.
17252 (_IO_switch_to_main_get_area): Likewise.
17253 (_IO_switch_to_backup_area): Likewise.
17254 (_IO_switch_to_get_mode): Likewise.
17255 (_IO_free_backup_area): Likewise.
17256 (_IO_switch_to_put_mode): Likewise.
17257 (__overflow): Likewise.
17258 (__underflow): Likewise.
17259 (__uflow): Likewise.
17260 (_IO_setb): Likewise.
17261 (_IO_doallocbuf): Likewise.
17262 (_IO_default_underflow): Likewise.
17263 (_IO_default_uflow): Likewise.
17264 (_IO_default_xsputn): Likewise.
17265 (_IO_sgetn): Likewise.
17266 (_IO_default_xsgetn): Likewise.
17267 (_IO_sync): Likewise.
17268 (_IO_default_setbuf): Likewise.
17269 (_IO_default_seekpos): Likewise.
17270 (_IO_default_doallocate): Likewise.
17271 (_IO_init): Likewise.
17272 (_IO_old_init): Likewise.
17273 (_IO_default_sync): Likewise.
17274 (_IO_default_finish): Likewise.
17275 (_IO_default_seekoff): Likewise.
17276 (_IO_sputbackc): Likewise.
17277 (_IO_sungetc): Likewise.
17278 (_IO_set_column): Likewise.
17279 (_IO_set_column): Likewise.
17280 (_IO_adjust_column): Likewise.
17281 (_IO_get_column): Likewise.
17282 (_IO_init_marker): Likewise.
17283 (_IO_remove_marker): Likewise.
17284 (_IO_marker_difference): Likewise.
17285 (_IO_marker_delta): Likewise.
17286 (_IO_seekmark): Likewise.
17287 (_IO_unsave_markers): Likewise.
17288 (_IO_nobackup_pbackfail): Likewise.
17289 (_IO_default_pbackfail): Likewise.
17290 (_IO_default_seek): Likewise.
17291 (_IO_default_stat): Likewise.
17292 (_IO_default_read): Likewise.
17293 (_IO_default_write): Likewise.
17294 (_IO_default_showmanyc): Likewise.
17295 (_IO_default_imbue): Likewise.
17296 (_IO_iter_next): Likewise.
17297 (_IO_iter_file): Likewise.
17298 * libio/getc.c (_IO_getc): Likewise.
17299 * libio/getwc.c (_IO_getwc): Likewise.
17300 * libio/iofclose.c (_IO_new_fclose): Likewise.
17301 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17302 * libio/iofflush.c (_IO_fflush): Likewise.
17303 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17304 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17305 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17306 * libio/iofgets.c (_IO_fgets): Likewise.
17307 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17308 * libio/iofgetws.c (fgetws): Likewise.
17309 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17310 * libio/iofopen64.c (_IO_fopen64): Likewise.
17311 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17312 (_IO_cookie_write): Likewise.
17313 (_IO_cookie_seek): Likewise.
17314 (_IO_cookie_close): Likewise.
17315 (_IO_cookie_seekoff): Likewise.
17316 (_IO_old_cookie_seek): Likewise.
17317 * libio/iofputs.c (_IO_fputs): Likewise.
17318 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17319 * libio/iofputws.c (fputws): Likewise.
17320 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17321 * libio/iofread.c (_IO_fread): Likewise.
17322 * libio/iofread_u.c (__fread_unlocked): Likewise.
17323 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17324 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17325 * libio/ioftell.c (_IO_ftell): Likewise.
17326 * libio/iofwrite.c (_IO_fwrite): Likewise.
17327 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17328 * libio/iogets.c (_IO_gets): Likewise.
17329 * libio/iopadn.c (_IO_padn): Likewise.
17330 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17331 (_IO_new_popen): Likewise.
17332 (_IO_new_proc_close): Likewise.
17333 * libio/ioputs.c (_IO_puts): Likewise.
17334 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17335 (_IO_seekoff): Likewise.
17336 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17337 (_IO_seekpos): Likewise.
17338 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17339 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17340 * libio/ioungetc.c (_IO_ungetc): Likewise.
17341 * libio/ioungetwc.c (ungetwc): Likewise.
17342 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17343 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17344 * libio/iowpadn.c (_IO_wpadn): Likewise.
17345 * libio/libc_fatal.c (__libc_fatal): Likewise.
17346 * libio/memstream.c (__open_memstream): Likewise.
17347 (_IO_mem_sync): Likewise.
17348 (_IO_mem_finish): Likewise.
17349 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17350 (_IO_old_file_close_it): Likewise.
17351 (_IO_old_file_finish): Likewise.
17352 (_IO_old_file_fopen): Likewise.
17353 (_IO_old_file_attach): Likewise.
17354 (_IO_old_file_setbuf): Likewise.
17355 (_IO_old_do_write): Likewise.
17356 (old_do_write): Likewise.
17357 (_IO_old_file_underflow): Likewise.
17358 (_IO_old_file_overflow): Likewise.
17359 (_IO_old_file_sync): Likewise.
17360 (_IO_old_file_seekoff): Likewise.
17361 (_IO_old_file_write): Likewise.
17362 (_IO_old_file_xsputn): Likewise.
17363 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17364 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17365 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17366 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17367 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17368 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17369 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17370 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17371 (_IO_old_popen): Likewise.
17372 (_IO_old_proc_close): Likewise.
17373 * libio/oldpclose.c (__old_pclose): Likewise.
17374 * libio/pclose.c (__new_pclose): Likewise.
17375 * libio/peekc.c (_IO_peekc_locked): Likewise.
17376 * libio/putc.c (_IO_putc): Likewise.
17377 * libio/putc_u.c (putc_unlocked): Likewise.
17378 * libio/putchar.c (putchar): Likewise.
17379 * libio/putchar_u.c (putchar_unlocked): Likewise.
17380 * libio/putwc.c (putwc): Likewise.
17381 * libio/putwc_u.c (putwc_unlocked): Likewise.
17382 * libio/putwchar.c (putwchar): Likewise.
17383 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17384 * libio/rewind.c (rewind): Likewise.
17385 * libio/setbuf.c (setbuf): Likewise.
17386 * libio/setlinebuf.c (setlinebuf): Likewise.
17387 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17388 * libio/vscanf.c (_IO_vscanf): Likewise.
17389 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17390 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17391 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17392 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17393 (_IO_switch_to_main_wget_area): Likewise.
17394 (_IO_switch_to_wbackup_area): Likewise.
17395 (_IO_wsetb): Likewise.
17396 (_IO_wdefault_pbackfail): Likewise.
17397 (_IO_wdefault_finish): Likewise.
17398 (_IO_wdefault_uflow): Likewise.
17399 (__woverflow): Likewise.
17400 (__wuflow): Likewise.
17401 (__wunderflow): Likewise.
17402 (_IO_wdefault_xsputn): Likewise.
17403 (_IO_wdefault_xsgetn): Likewise.
17404 (_IO_wdoallocbuf): Likewise.
17405 (_IO_wdefault_doallocate): Likewise.
17406 (_IO_switch_to_wget_mode): Likewise.
17407 (_IO_free_wbackup_area): Likewise.
17408 (_IO_switch_to_wput_mode): Likewise.
17409 (_IO_sputbackwc): Likewise.
17410 (_IO_sungetwc): Likewise.
17411 (_IO_adjust_wcolumn): Likewise.
17412 (_IO_init_wmarker): Likewise.
17413 (_IO_wmarker_delta): Likewise.
17414 (_IO_seekwmark): Likewise.
17415 (_IO_unsave_wmarkers): Likewise.
17416 * libio/wmemstream.c (open_wmemstream): Likewise.
17417 (_IO_wmem_sync): Likewise.
17418 (_IO_wmem_finish): Likewise.
17419 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17420 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17421 * locale/programs/simple-hash.c (init_hash): Likewise.
17422 (delete_hash): Likewise.
17423 (insert_entry): Likewise.
17424 (set_entry): Likewise.
17425 (next_prime): Likewise.
17426 (is_prime): Likewise.
17427 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17428 (xmalloc): Likewise.
17429 (xrealloc): Likewise.
17430 * locale/programs/xstrdup.c (xstrdup): Likewise.
17431 * localedata/collate-test.c (xstrcoll): Likewise.
17432 * localedata/xfrm-test.c (xstrcmp): Likewise.
17433 * login/getlogin_r.c (__getlogin_r): Likewise.
17434 * login/getpt.c (__posix_openpt): Likewise.
17435 * login/login_tty.c (login_tty): Likewise.
17436 * login/setlogin.c (setlogin): Likewise.
17437 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17438 (mach_msg_destroy_port): Likewise.
17439 (mach_msg_destroy_memory): Likewise.
17440 * malloc/mcheck.c (flood): Likewise.
17441 * misc/acct.c (acct): Likewise.
17442 * misc/brk.c (__brk): Likewise.
17443 * misc/chflags.c (chflags): Likewise.
17444 * misc/chroot.c (chroot): Likewise.
17445 * misc/fchflags.c (fchflags): Likewise.
17446 * misc/fstab.c (getfsspec): Likewise.
17447 (getfsfile): Likewise.
17448 * misc/fsync.c (fsync): Likewise.
17449 * misc/ftruncate.c (__ftruncate): Likewise.
17450 * misc/ftruncate64.c (__ftruncate64): Likewise.
17451 * misc/getdomain.c (getdomainname): Likewise.
17452 (getdomainname): Likewise.
17453 * misc/gethostname.c (__gethostname): Likewise.
17454 * misc/getpass.c (getpass): Likewise.
17455 * misc/getttyent.c (skip): Likewise.
17456 (value): Likewise.
17457 * misc/gtty.c (gtty): Likewise.
17458 * misc/hsearch.c (hsearch): Likewise.
17459 (hcreate): Likewise.
17460 * misc/hsearch_r.c (__hcreate_r): Likewise.
17461 (__hdestroy_r): Likewise.
17462 * misc/ioctl.c (__ioctl): Likewise.
17463 * misc/mkdtemp.c (mkdtemp): Likewise.
17464 * misc/mkostemp.c (mkostemp): Likewise.
17465 * misc/mkostemp64.c (mkostemp64): Likewise.
17466 * misc/mkostemps.c (mkostemps): Likewise.
17467 * misc/mkostemps64.c (mkostemps64): Likewise.
17468 * misc/mkstemp.c (mkstemp): Likewise.
17469 * misc/mkstemp64.c (mkstemp64): Likewise.
17470 * misc/mkstemps.c (mkstemps): Likewise.
17471 * misc/mkstemps64.c (mkstemps64): Likewise.
17472 * misc/mktemp.c (__mktemp): Likewise.
17473 * misc/preadv.c (preadv): Likewise.
17474 * misc/preadv64.c (preadv64): Likewise.
17475 * misc/pwritev.c (pwritev): Likewise.
17476 * misc/pwritev64.c (pwritev64): Likewise.
17477 * misc/readv.c (__readv): Likewise.
17478 * misc/revoke.c (revoke): Likewise.
17479 * misc/setdomain.c (setdomainname): Likewise.
17480 * misc/setegid.c (setegid): Likewise.
17481 * misc/seteuid.c (seteuid): Likewise.
17482 * misc/sethostid.c (sethostid): Likewise.
17483 * misc/sethostname.c (sethostname): Likewise.
17484 * misc/setregid.c (__setregid): Likewise.
17485 * misc/setreuid.c (__setreuid): Likewise.
17486 * misc/sstk.c (sstk): Likewise.
17487 * misc/stty.c (stty): Likewise.
17488 * misc/syscall.c (syscall): Likewise.
17489 * misc/syslog.c (setlogmask): Likewise.
17490 * misc/truncate.c (__truncate): Likewise.
17491 * misc/truncate64.c (truncate64): Likewise.
17492 * misc/ualarm.c (ualarm): Likewise.
17493 * misc/usleep.c (usleep): Likewise.
17494 * misc/ustat.c (ustat): Likewise.
17495 * misc/writev.c (__writev): Likewise.
17496 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17497 * nptl/old_pthread_cond_broadcast.c
17498 (__pthread_cond_broadcast_2_0): Likewise.
17499 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17500 Likewise.
17501 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17502 Likewise.
17503 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17504 Likewise.
17505 * nptl/pt-raise.c (raise): Likewise.
17506 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17507 Likewise.
17508 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17509 * nptl/pthread_barrierattr_destroy.c
17510 (pthread_barrierattr_destroy): Likewise.
17511 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17512 Likewise.
17513 * nptl/pthread_barrierattr_setpshared.c
17514 (pthread_barrierattr_setpshared): Likewise.
17515 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17516 Likewise.
17517 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17518 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17519 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17520 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17521 Likewise.
17522 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17523 Likewise.
17524 * nptl/pthread_condattr_getpshared.c
17525 (pthread_condattr_getpshared): Likewise.
17526 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17527 Likewise.
17528 * nptl/pthread_condattr_setpshared.c
17529 (pthread_condattr_setpshared): Likewise.
17530 * nptl/pthread_detach.c (pthread_detach): Likewise.
17531 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17532 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17533 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17534 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17535 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17536 Likewise.
17537 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17538 Likewise.
17539 * nptl/pthread_mutex_getprioceiling.c
17540 (pthread_mutex_getprioceiling): Likewise.
17541 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17542 Likewise.
17543 * nptl/pthread_mutexattr_getprotocol.c
17544 (pthread_mutexattr_getprotocol): Likewise.
17545 * nptl/pthread_mutexattr_getpshared.c
17546 (pthread_mutexattr_getpshared): Likewise.
17547 * nptl/pthread_mutexattr_getrobust.c
17548 (pthread_mutexattr_getrobust): Likewise.
17549 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17550 Likewise.
17551 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17552 Likewise.
17553 * nptl/pthread_mutexattr_setprioceiling.c
17554 (pthread_mutexattr_setprioceiling): Likewise.
17555 * nptl/pthread_mutexattr_setprotocol.c
17556 (pthread_mutexattr_setprotocol): Likewise.
17557 * nptl/pthread_mutexattr_setpshared.c
17558 (pthread_mutexattr_setpshared): Likewise.
17559 * nptl/pthread_mutexattr_setrobust.c
17560 (pthread_mutexattr_setrobust): Likewise.
17561 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17562 Likewise.
17563 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17564 Likewise.
17565 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17566 Likewise.
17567 * nptl/pthread_rwlockattr_getkind_np.c
17568 (pthread_rwlockattr_getkind_np): Likewise.
17569 * nptl/pthread_rwlockattr_getpshared.c
17570 (pthread_rwlockattr_getpshared): Likewise.
17571 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17572 Likewise.
17573 * nptl/pthread_rwlockattr_setkind_np.c
17574 (pthread_rwlockattr_setkind_np): Likewise.
17575 * nptl/pthread_rwlockattr_setpshared.c
17576 (pthread_rwlockattr_setpshared): Likewise.
17577 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17578 Likewise.
17579 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17580 Likewise.
17581 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17582 Likewise.
17583 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17584 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17585 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17586 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17587 * nptl/sem_close.c (sem_close): Likewise.
17588 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17589 * nptl/sem_init.c (__old_sem_init): Likewise.
17590 * nptl/sigaction.c (__sigaction): Likewise.
17591 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17592 * posix/_exit.c (_exit): Likewise.
17593 * posix/alarm.c (alarm): Likewise.
17594 * posix/confstr.c (confstr): Likewise.
17595 * posix/fpathconf.c (__fpathconf): Likewise.
17596 * posix/getgroups.c (__getgroups): Likewise.
17597 * posix/getpgid.c (__getpgid): Likewise.
17598 * posix/group_member.c (__group_member): Likewise.
17599 * posix/pathconf.c (__pathconf): Likewise.
17600 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17601 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17602 * posix/setgid.c (__setgid): Likewise.
17603 * posix/setpgid.c (__setpgid): Likewise.
17604 * posix/setuid.c (__setuid): Likewise.
17605 * posix/sleep.c (__sleep): Likewise.
17606 * posix/sysconf.c (__sysconf): Likewise.
17607 * posix/times.c (__times): Likewise.
17608 * posix/uname.c (__uname): Likewise.
17609 * posix/waitid.c (__waitid): Likewise.
17610 * pwd/getpw.c (__getpw): Likewise.
17611 * resolv/base64.c (b64_pton): Likewise.
17612 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17613 * resolv/gethnamaddr.c (Dprintf): Likewise.
17614 (gethostbyname): Likewise.
17615 (gethostbyname2): Likewise.
17616 (gethostbyaddr): Likewise.
17617 (_sethtent): Likewise.
17618 (_gethtbyname): Likewise.
17619 (_gethtbyname2): Likewise.
17620 (_gethtbyaddr): Likewise.
17621 (map_v4v6_address): Likewise.
17622 (map_v4v6_hostent): Likewise.
17623 (addrsort): Likewise.
17624 (ht_sethostent): Likewise.
17625 (ht_gethostbyname): Likewise.
17626 (ht_gethostbyaddr): Likewise.
17627 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17628 (inet_net_ntop_ipv4): Likewise.
17629 * resolv/inet_neta.c (inet_neta): Likewise.
17630 * resolv/inet_ntop.c (inet_ntop): Likewise.
17631 (inet_ntop4): Likewise.
17632 (inet_ntop6): Likewise.
17633 * resolv/inet_pton.c (__inet_pton): Likewise.
17634 (inet_pton4): Likewise.
17635 (inet_pton6): Likewise.
17636 * resolv/res_debug.c (loc_aton): Likewise.
17637 (loc_ntoa): Likewise.
17638 * resource/getpriority.c (__getpriority): Likewise.
17639 * resource/getrusage.c (__getrusage): Likewise.
17640 * resource/nice.c (nice): Likewise.
17641 * resource/setpriority.c (__setpriority): Likewise.
17642 * resource/setrlimit64.c (setrlimit64): Likewise.
17643 * resource/vlimit.c (vlimit): Likewise.
17644 * resource/vtimes.c (vtimes): Likewise.
17645 * rt/aio_error.c (aio_error): Likewise.
17646 * rt/aio_return.c (aio_return): Likewise.
17647 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17648 * signal/kill.c (__kill): Likewise.
17649 * signal/killpg.c (killpg): Likewise.
17650 * signal/raise.c (raise): Likewise.
17651 * signal/sigaction.c (__sigaction): Likewise.
17652 * signal/sigaddset.c (sigaddset): Likewise.
17653 * signal/sigaltstack.c (sigaltstack): Likewise.
17654 * signal/sigandset.c (sigandset): Likewise.
17655 * signal/sigblock.c (__sigblock): Likewise.
17656 * signal/sigdelset.c (sigdelset): Likewise.
17657 * signal/sigempty.c (sigemptyset): Likewise.
17658 * signal/sigfillset.c (sigfillset): Likewise.
17659 * signal/sighold.c (sighold): Likewise.
17660 * signal/sigignore.c (sigignore): Likewise.
17661 * signal/sigintr.c (siginterrupt): Likewise.
17662 * signal/sigisempty.c (sigisemptyset): Likewise.
17663 * signal/sigismem.c (sigismember): Likewise.
17664 * signal/signal.c (signal): Likewise.
17665 * signal/sigorset.c (sigorset): Likewise.
17666 * signal/sigpause.c (__sigpause): Likewise.
17667 * signal/sigpending.c (sigpending): Likewise.
17668 * signal/sigprocmask.c (__sigprocmask): Likewise.
17669 * signal/sigrelse.c (sigrelse): Likewise.
17670 * signal/sigreturn.c (__sigreturn): Likewise.
17671 * signal/sigset.c (sigset): Likewise.
17672 * signal/sigsetmask.c (__sigsetmask): Likewise.
17673 * signal/sigstack.c (sigstack): Likewise.
17674 * signal/sigsuspend.c (__sigsuspend): Likewise.
17675 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17676 * signal/sysv_signal.c (__sysv_signal): Likewise.
17677 * socket/accept.c (accept): Likewise.
17678 * socket/accept4.c (__libc_accept4): Likewise.
17679 * socket/bind.c (__bind): Likewise.
17680 * socket/connect.c (__connect): Likewise.
17681 * socket/getpeername.c (getpeername): Likewise.
17682 * socket/getsockname.c (__getsockname): Likewise.
17683 * socket/getsockopt.c (getsockopt): Likewise.
17684 * socket/listen.c (__listen): Likewise.
17685 * socket/recv.c (__recv): Likewise.
17686 * socket/recvmsg.c (__recvmsg): Likewise.
17687 * socket/send.c (__send): Likewise.
17688 * socket/sendmsg.c (__sendmsg): Likewise.
17689 * socket/shutdown.c (shutdown): Likewise.
17690 * socket/sockatmark.c (sockatmark): Likewise.
17691 * socket/socket.c (__socket): Likewise.
17692 * stdio-common/ctermid.c (ctermid): Likewise.
17693 * stdio-common/cuserid.c (cuserid): Likewise.
17694 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17695 * stdio-common/remove.c (remove): Likewise.
17696 * stdio-common/rename.c (rename): Likewise.
17697 * stdio-common/renameat.c (renameat): Likewise.
17698 * stdio-common/tempname.c (__gen_tempname): Likewise.
17699 * stdio-common/xbug.c (InitBuffer): Likewise.
17700 (AppendToBuffer): Likewise.
17701 (ReadFile): Likewise.
17702 * stdlib/a64l.c (a64l): Likewise.
17703 * stdlib/drand48_r.c (drand48_r): Likewise.
17704 * stdlib/getcontext.c (getcontext): Likewise.
17705 * stdlib/getenv.c (getenv): Likewise.
17706 * stdlib/l64a.c (l64a): Likewise.
17707 * stdlib/llabs.c (llabs): Likewise.
17708 * stdlib/lldiv.c (lldiv): Likewise.
17709 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17710 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17711 * stdlib/putenv.c (putenv): Likewise.
17712 * stdlib/random.c (__srandom): Likewise.
17713 (__initstate): Likewise.
17714 (__setstate): Likewise.
17715 * stdlib/random_r.c (__srandom_r): Likewise.
17716 (__setstate_r): Likewise.
17717 (__random_r): Likewise.
17718 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17719 * stdlib/setcontext.c (setcontext): Likewise.
17720 * stdlib/setenv.c (setenv): Likewise.
17721 (unsetenv): Likewise.
17722 * stdlib/srand48.c (srand48): Likewise.
17723 * stdlib/srand48_r.c (__srand48_r): Likewise.
17724 * stdlib/swapcontext.c (swapcontext): Likewise.
17725 * stdlib/system.c (__libc_system): Likewise.
17726 * stdlib/tst-strtod.c (expand): Likewise.
17727 * stdlib/tst-strtol.c (expand): Likewise.
17728 * stdlib/tst-strtoll.c (expand): Likewise.
17729 * streams/fattach.c (fattach): Likewise.
17730 * streams/fdetach.c (fdetach): Likewise.
17731 * streams/getmsg.c (getmsg): Likewise.
17732 * streams/isastream.c (isastream): Likewise.
17733 * string/ffs.c (__ffs): Likewise.
17734 * string/ffsll.c (ffsll): Likewise.
17735 * string/memcmp.c (memcmp_common_alignment): Likewise.
17736 (memcmp_not_common_alignment): Likewise.
17737 (MEMCMP): Likewise.
17738 * string/memcpy.c (memcpy): Likewise.
17739 * string/memmove.c (MEMMOVE): Likewise.
17740 * string/memset.c (memset): Likewise.
17741 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17742 * string/strchrnul.c (STRCHRNUL): Likewise.
17743 * string/strerror.c (strerror): Likewise.
17744 * string/strndup.c (__strndup): Likewise.
17745 * string/strverscmp.c (__strverscmp): Likewise.
17746 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17747 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17748 (clnttcp_freeres): Likewise.
17749 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17750 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17751 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17752 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17753 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17754 (xdr_callhdr): Likewise.
17755 * sunrpc/rpcinfo.c (udpping): Likewise.
17756 (tcpping): Likewise.
17757 (pstatus): Likewise.
17758 (pmapdump): Likewise.
17759 (brdcst): Likewise.
17760 (deletereg): Likewise.
17761 (getprognum): Likewise.
17762 (getvers): Likewise.
17763 (get_inet_address): Likewise.
17764 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17765 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17766 (svcudp_stat): Likewise.
17767 (svcudp_recv): Likewise.
17768 (svcudp_reply): Likewise.
17769 (svcudp_getargs): Likewise.
17770 (svcudp_freeargs): Likewise.
17771 (svcudp_destroy): Likewise.
17772 * sunrpc/xdr.c (xdr_bytes): Likewise.
17773 (xdr_netobj): Likewise.
17774 (xdr_string): Likewise.
17775 (xdr_wrapstring): Likewise.
17776 * sunrpc/xdr_float.c (xdr_float): Likewise.
17777 (xdr_double): Likewise.
17778 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17779 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17780 * sysvipc/ftok.c (ftok): Likewise.
17781 * sysvipc/msgctl.c (msgctl): Likewise.
17782 * sysvipc/msgget.c (msgget): Likewise.
17783 * sysvipc/msgrcv.c (msgrcv): Likewise.
17784 * sysvipc/msgsnd.c (msgsnd): Likewise.
17785 * sysvipc/semget.c (semget): Likewise.
17786 * sysvipc/semop.c (semop): Likewise.
17787 * sysvipc/shmat.c (shmat): Likewise.
17788 * sysvipc/shmctl.c (shmctl): Likewise.
17789 * sysvipc/shmdt.c (shmdt): Likewise.
17790 * sysvipc/shmget.c (shmget): Likewise.
17791 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17792 * termios/speed.c (cfgetospeed): Likewise.
17793 (cfgetispeed): Likewise.
17794 (cfsetospeed): Likewise.
17795 (cfsetispeed): Likewise.
17796 * termios/tcflow.c (tcflow): Likewise.
17797 * termios/tcflush.c (tcflush): Likewise.
17798 * termios/tcgetattr.c (__tcgetattr): Likewise.
17799 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17800 * termios/tcgetsid.c (tcgetsid): Likewise.
17801 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17802 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17803 * time/adjtime.c (__adjtime): Likewise.
17804 * time/dysize.c (dysize): Likewise.
17805 * time/ftime.c (ftime): Likewise.
17806 * time/getitimer.c (__getitimer): Likewise.
17807 * time/gettimeofday.c (__gettimeofday): Likewise.
17808 * time/gmtime.c (__gmtime_r): Likewise.
17809 (gmtime): Likewise.
17810 * time/localtime.c (__localtime_r): Likewise.
17811 (localtime): Likewise.
17812 * time/offtime.c (__offtime): Likewise.
17813 * time/settimeofday.c (__settimeofday): Likewise.
17814 * time/stime.c (stime): Likewise.
17815 * time/strftime_l.c (tm_diff): Likewise.
17816 (iso_week_days): Likewise.
17817 * time/strptime.c (strptime): Likewise.
17818 * time/time.c (time): Likewise.
17819 * time/timespec_get.c (timespec_get): Likewise.
17820 * time/tzset.c (tzset_internal): Likewise.
17821 (compute_change): Likewise.
17822 (__tz_compute): Likewise.
17823 * wcsmbs/btowc.c (__btowc): Likewise.
17824 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17825 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17826 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17827 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17828 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17829 * wcsmbs/wcscat.c (__wcscat): Likewise.
17830 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17831 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17832 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17833 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17834 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17835 * wcsmbs/wcslen.c (__wcslen): Likewise.
17836 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17837 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17838 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17839 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17840 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17841 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17842 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17843 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17844 * wcsmbs/wcstok.c (wcstok): Likewise.
17845 * wcsmbs/wctob.c (wctob): Likewise.
17846 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17847 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17848 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17849 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17850 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17851 * wcsmbs/wmemset.c (__wmemset): Likewise.
17852 * wctype/wcfuncs.c (__towlower): Likewise.
17853 (__towupper): Likewise.
17854
17855 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17856 (lll_unlock_elision): Add adapt_count parameter.
17857
17858 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17859
17860 * sysdeps/nptl/configure.ac: Do not give errors based on the
17861 results of top-level configure tests.
17862 * sysdeps/nptl/configure: Regenerated.
17863
17864 * configure.ac (libc_cv_Bgroup): Remove configure test.
17865 * configure: Regenerated.
17866 * config.make.in (have-Bgroup): Remove variable.
17867
17868 * configure.ac (sizeof_long_double): Remove configure test.
17869 * configure: Regenerated.
17870 * config.make.in (sizeof-long-double): Remove variable.
17871
17872 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17873 * configure: Regenerated.
17874 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17875 variable.
17876 (exceptions): Likewise.
17877 * sysdeps/arm/configure: Regenerated.
17878 * config.make.in (exceptions): Remove variable.
17879 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17880 $(exceptions).
17881 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17882 (CFLAGS-vdprintf_chk.c): Likewise.
17883 (CFLAGS-printf_chk.c): Likewise.
17884 (CFLAGS-fprintf_chk.c): Likewise.
17885 (CFLAGS-vprintf_chk.c): Likewise.
17886 (CFLAGS-vfprintf_chk.c): Likewise.
17887 (CFLAGS-gets_chk.c): Likewise.
17888 (CFLAGS-fgets_chk.c): Likewise.
17889 (CFLAGS-fgets_u_chk.c): Likewise.
17890 (CFLAGS-fread_chk.c): Likewise.
17891 (CFLAGS-fread_u_chk.c): Likewise.
17892 (CFLAGS-wprintf_chk.c): Likewise.
17893 (CFLAGS-fwprintf_chk.c): Likewise.
17894 (CFLAGS-vwprintf_chk.c): Likewise.
17895 (CFLAGS-vfwprintf_chk.c): Likewise.
17896 (CFLAGS-fgetws_chk.c): Likewise.
17897 (CFLAGS-fgetws_u_chk.c): Likewise.
17898 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17899 (CFLAGS-fputc.c): Likewise.
17900 (CFLAGS-fputwc.c): Likewise.
17901 (CFLAGS-freopen64.c): Likewise.
17902 (CFLAGS-freopen.c): Likewise.
17903 (CFLAGS-fseek.c): Likewise.
17904 (CFLAGS-fseeko64.c): Likewise.
17905 (CFLAGS-fseeko.c): Likewise.
17906 (CFLAGS-ftello64.c): Likewise.
17907 (CFLAGS-ftello.c): Likewise.
17908 (CFLAGS-fwide.c): Likewise.
17909 (CFLAGS-genops.c): Likewise.
17910 (CFLAGS-getc.c): Likewise.
17911 (CFLAGS-getchar.c): Likewise.
17912 (CFLAGS-getwc.c): Likewise.
17913 (CFLAGS-getwchar.c): Likewise.
17914 (CFLAGS-iofclose.c): Likewise.
17915 (CFLAGS-iofflush.c): Likewise.
17916 (CFLAGS-iofgetpos64.c): Likewise.
17917 (CFLAGS-iofgetpos.c): Likewise.
17918 (CFLAGS-iofgets.c): Likewise.
17919 (CFLAGS-iofgetws.c): Likewise.
17920 (CFLAGS-iofputs.c): Likewise.
17921 (CFLAGS-iofputws.c): Likewise.
17922 (CFLAGS-iofread.c): Likewise.
17923 (CFLAGS-iofsetpos64.c): Likewise.
17924 (CFLAGS-iofsetpos.c): Likewise.
17925 (CFLAGS-ioftell.c): Likewise.
17926 (CFLAGS-iofwrite.c): Likewise.
17927 (CFLAGS-iogetdelim.c): Likewise.
17928 (CFLAGS-iogetline.c): Likewise.
17929 (CFLAGS-iogets.c): Likewise.
17930 (CFLAGS-iogetwline.c): Likewise.
17931 (CFLAGS-ioputs.c): Likewise.
17932 (CFLAGS-ioseekoff.c): Likewise.
17933 (CFLAGS-ioseekpos.c): Likewise.
17934 (CFLAGS-iosetbuffer.c): Likewise.
17935 (CFLAGS-iosetvbuf.c): Likewise.
17936 (CFLAGS-ioungetc.c): Likewise.
17937 (CFLAGS-ioungetwc.c): Likewise.
17938 (CFLAGS-oldfileops.c): Likewise.
17939 (CFLAGS-oldiofclose.c): Likewise.
17940 (CFLAGS-oldiofgetpos64.c): Likewise.
17941 (CFLAGS-oldiofgetpos.c): Likewise.
17942 (CFLAGS-oldiofsetpos64.c): Likewise.
17943 (CFLAGS-oldiofsetpos.c): Likewise.
17944 (CFLAGS-peekc.c): Likewise.
17945 (CFLAGS-putc.c): Likewise.
17946 (CFLAGS-putchar.c): Likewise.
17947 (CFLAGS-putwc.c): Likewise.
17948 (CFLAGS-putwchar.c): Likewise.
17949 (CFLAGS-rewind.c): Likewise.
17950 (CFLAGS-wfileops.c): Likewise.
17951 (CFLAGS-wgenops.c): Likewise.
17952 (CFLAGS-oldiofopen.c): Likewise.
17953 (CFLAGS-iofopen.c): Likewise.
17954 (CFLAGS-iofopen64.c): Likewise.
17955 (CFLAGS-oldtmpfile.c): Likewise.
17956 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17957 (CFLAGS-fprintf.c): Likewise.
17958 (CFLAGS-printf.c): Likewise.
17959 (CFLAGS-vfwprintf.c): Likewise.
17960 (CFLAGS-vfscanf.c): Likewise.
17961 (CFLAGS-vfwscanf.c): Likewise.
17962 (CFLAGS-fscanf.c): Likewise.
17963 (CFLAGS-scanf.c): Likewise.
17964 (CFLAGS-isoc99_vfscanf.c): Likewise.
17965 (CFLAGS-isoc99_vscanf.c): Likewise.
17966 (CFLAGS-isoc99_fscanf.c): Likewise.
17967 (CFLAGS-isoc99_scanf.c): Likewise.
17968 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17969 (CFLAGS-isoc99_fwscanf.c): Likewise.
17970 (CFLAGS-isoc99_vwscanf.c): Likewise.
17971 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17972
17973 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17974 after mkstemp64.
17975 * login/tst-utmp.c (do_prepare): Likewise.
17976 * rt/tst-aio.c (do_prepare): Likewise.
17977 * rt/tst-aio64.c (do_prepare): Likewise.
17978
17979 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17980
17981 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17982 (__lll_lock_elision): Remove adapt_count decrement...
17983 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17984 (__lll_trylock_elision): Likewise.
17985 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17986 (__lll_unlock_elision): ... to here. And utilize
17987 new adapt_count parameter.
17988 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17989 (__lll_unlock_elision): Update to include adapt_count
17990 parameter.
17991 (lll_unlock_elision): Pass pointer to adapt_count
17992 variable.
17993
17994 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17995
17996 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17997 Add elision adapt_count parameter to list of arguments.
17998 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17999 (lll_unlock_elision): Update with new parameter list
18000 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18001 (lll_unlock_elision): Likewise.
18002 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18003 (lll_unlock_elision): Likewise.
18004
18005 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18006
18007 [BZ #19122]
18008 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18009 attribute_hidden.
18010
18011 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18012 attribute_hidden.
18013 [IS_IN (rtld)] (__strdup): Likewise.
18014 [IS_IN (rtld)] (__strerror_r): Likewise.
18015 [IS_IN (rtld)] (__strsep_g): Likewise.
18016 [IS_IN (rtld)] (memchr): Likewise.
18017 [IS_IN (rtld)] (memcmp): Likewise.
18018 [IS_IN (rtld)] (memcpy): Likewise.
18019 [IS_IN (rtld)] (memmove): Likewise.
18020 [IS_IN (rtld)] (memset): Likewise.
18021 [IS_IN (rtld)] (rawmemchr): Likewise.
18022 [IS_IN (rtld)] (stpcpy): Likewise.
18023 [IS_IN (rtld)] (strchr): Likewise.
18024 [IS_IN (rtld)] (strcmp): Likewise.
18025 [IS_IN (rtld)] (strlen): Likewise.
18026 [IS_IN (rtld)] (strnlen): Likewise.
18027 [IS_IN (rtld)] (strsep): Likewise.
18028
18029 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18030 attribute_hidden.
18031 [IS_IN (rtld)] (__strtoul_internal): Likewise.
18032
18033 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18034 attribute_hidden.
18035 [IS_IN (rtld)] (__libc_sigaction): Likewise.
18036
18037 * include/setjmp.h (__longjmp): Add attribute_hidden.
18038 [IS_IN (rtld)] (__sigsetjmp): Likewise.
18039
18040 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18041 Add attribute_hidden.
18042
18043 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18044 [IS_IN (rtld)] (__open): Likewise.
18045 [IS_IN (rtld)] (__fcntl): Likewise.
18046
18047 * include/dirent.h (__opendirat): Add attribute_hidden.
18048 (__getdents): Likewise.
18049 (__getdents64): Likewise.
18050 (__alloc_dir): Likewise.
18051 [IS_IN (rtld)] (__closedir): Likewise.
18052 [IS_IN (rtld)] (__fdopendir): Likewise.
18053 [IS_IN (rtld)] (__readdir): Likewise.
18054 [IS_IN (rtld)] (__readdir64): Likewise.
18055 [IS_IN (rtld)] (__rewinddir): Likewise.
18056
18057 * include/dlfcn.h (_dl_catch_error): Moved to ...
18058 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18059 attribute_hidden.
18060
18061 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18062 (_itoa_word): Likewise.
18063
18064 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18065 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18066 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18067 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18068 (_dl_higher_prime_number): Likewise.
18069 (_dl_debug_printf_c): Likewise.
18070 (_dl_signal_cerror): Likewise.
18071 (_dl_receive_error): Likewise.
18072 (_dl_reloc_bad_type): Likewise.
18073 (_dl_resolve_conflicts): Likewise.
18074 (_dl_check_all_versions): Likewise.
18075 (_dl_check_map_versions): Likewise.
18076 (_dl_sort_fini): Likewise.
18077 (_dl_debug_initialize): Likewise.
18078 (_dl_init_paths): Likewise.
18079 (_dl_show_auxv): Likewise.
18080 (_dl_next_ld_env_entry): Likewise.
18081 (_dl_important_hwcaps): Likewise.
18082 (_dl_load_cache_lookup): Likewise.
18083 (_dl_update_slotinfo): Likewise.
18084 (_dl_show_scope): Likewise.
18085
18086 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18087 attribute_hidden.
18088 (_wordcopy_fwd_dest_aligned): Likewise.
18089 (_wordcopy_bwd_aligned): Likewise.
18090 (_wordcopy_bwd_dest_aligned): Likewise.
18091
18092 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18093 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18094 Likewise.
18095 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18096 Likewise.
18097 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18098
18099 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18100
18101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18102 GCC 5 requirement.
18103
18104 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18105
18106 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18107 test.
18108 * sysdeps/i386/configure: Regenerated.
18109 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18110 code unconditional.
18111
18112 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18113 test.
18114 (libc_cv_asm_popsection_directive): Likewise.
18115 * configure: Regenerated.
18116 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18117 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18118 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18119 (__make_section_unallocated): Make definition unconditional.
18120 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18121 Remove conditional definition.
18122 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18123 (__make_section_unallocated): Likewise.
18124
18125 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18126 * configure: Regenerated.
18127 * config.make.in (static-libgcc): Remove variable.
18128 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18129 $(static-libgcc).
18130 (build-module-helper): Likewise.
18131
18132 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18133 * configure: Regenerated.
18134
18135 2015-10-15 Florian Weimer <fweimer@redhat.com>
18136
18137 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18138 (struct char_buffer): New type.
18139 (char_buffer_start, char_buffer_size, char_buffer_error)
18140 (char_buffer_rewind, char_buffer_add): New functions.
18141 (ADDW): Remove macro, replaced by the char_buffer_add function.
18142 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18143 of extend_alloca. Make control flow more explicit.
18144
18145 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 [BZ #19137]
18148 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18149 Add -fomit-frame-pointer.
18150 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18151
18152 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18153
18154 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18155 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18156 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18157 only if !__GNUC_PREREQ (5,0).
18158 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18159 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18160 (INTERNAL_SYSCALL_NCS): Likewise.
18161 (LOADREGS_0): New macro for GCC 5.
18162 (ASMARGS_0): Likewise.
18163 (LOADREGS_1): Likewise.
18164 (ASMARGS_1): Likewise.
18165 (LOADREGS_2): Likewise.
18166 (ASMARGS_2): Likewise.
18167 (LOADREGS_3): Likewise.
18168 (ASMARGS_3): Likewise.
18169 (LOADREGS_4): Likewise.
18170 (ASMARGS_4): Likewise.
18171 (LOADREGS_5): Likewise.
18172 (ASMARGS_5): Likewise.
18173 (LOADREGS_6): Likewise.
18174 (ASMARGS_6): Likewise.
18175
18176 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18177
18178 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18179 -fomit-frame-pointer.
18180 (CFLAGS-mmap64.c): Likewise.
18181 (CFLAGS-semtimedop.c): Likewise.
18182 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18183 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18184 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18185 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18186
18187 2015-10-15 Florian Weimer <fweimer@redhat.com>
18188
18189 [BZ #18928]
18190 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18191 _dl_pointer_guard member.
18192 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18193 initializer.
18194 (security_init): Always set up pointer guard.
18195 (process_envvars): Do not process LD_POINTER_GUARD.
18196
18197 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18198
18199 [BZ #19134]
18200 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18201 (.LC2): Likewise.
18202 (.LC3): Likewise.
18203 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18204
18205 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18206
18207 [BZ #19129]
18208 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18209 r0 and r1.
18210
18211 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18212
18213 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18214
18215 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18216
18217 * include/stap-probe.h: Fix macro definition formatting.
18218
18219 2015-10-14 Florian Weimer <fweimer@redhat.com>
18220
18221 [BZ #19074]
18222 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18223 load and store num_ifs.
18224
18225 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 [BZ #18822]
18228 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18229 (__sched_getaffinity_new): Add libc_hidden_proto and
18230 libc_hidden_def.
18231
18232 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18233
18234 [BZ #19007]
18235 * scripts/localplt.awk: Also allow GOT references.
18236 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18237 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18238 with "+ REL R_386_GLOB_DAT".
18239 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18240 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18241
18242 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18243
18244 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18245 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18246 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18247 Likewise.
18248 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18249 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18250 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18251 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18252 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18253 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18254 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18255 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18256 Likewise.
18257 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18258
18259 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18260
18261 [BZ #19125]
18262 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18263 <math_private.h> and <stdint.h>.
18264 (__llround): Avoid conversions to and from long long int, and
18265 subtractions, where those might raise spurious exceptions.
18266 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18267 <math_private.h> and <stdint.h>.
18268 (__llroundf): Avoid conversions to and from long long int, and
18269 subtractions, where those might raise spurious exceptions.
18270
18271 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18272
18273 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18274 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18275 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18276 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18277 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18278 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18279 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18280 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18281 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18282 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18284 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18285 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18286 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18287 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18288 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18289 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18290 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18291 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18292 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18294 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18295 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18296 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18297 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18298 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18299 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18300 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18301 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18302 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18303 (__xstat64_conv): Likewise.
18304 (__xstat32_conv): Likewise.
18305
18306 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18309 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18310 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18311 <sysdeps/unix/sysv/linux/sysdep.h>.
18312 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18313 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18314 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18315 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18316 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18317 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18318 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18319 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18320 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18323 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18325 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18326 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18328 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18329 (sysdep-dl-routines): Add sysdep.
18330 [$(subdir) == nptl] (libpthread-routines): Likewise.
18331 [$(subdir) == rt] (librt-routines): Likewise.
18332 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18333 PIC when branching to SYSCALL_ERROR_LABEL.
18334 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18336 <sysdeps/unix/sysv/linux/sysdep.h>.
18337 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18338 (SYSCALL_ERROR_ERRNO): Removed.
18339 (SYSCALL_ERROR_HANDLER): Changed to empty.
18340 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18341 (__syscall_error): New prototype.
18342 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18343 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18344
18345 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18346
18347 [BZ #19124]
18348 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18349 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18350 _dl_runtime_resolve_avx.
18351 (_dl_runtime_profile_avx512): Make it a hidden alias of
18352 _dl_runtime_profile_avx.
18353
18354 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18355
18356 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18357 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18358 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18359 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18360
18361 [BZ #16422]
18362 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18363 New configure test.
18364 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18365 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18366 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18367 <math_private.h> and <stdint.h>.
18368 (__llrint): Avoid conversions to long long int where those might
18369 raise spurious exceptions.
18370 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18371 <math_private.h> and <stdint.h>.
18372 (__llrintf): Avoid conversions to long long int where those might
18373 raise spurious exceptions.
18374
18375 2015-10-12 Andreas Schwab <schwab@suse.de>
18376
18377 [BZ #18969]
18378 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18379 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18380 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18381 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18382 $(gen-locales).
18383 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18384 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18385 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18386 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18387 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18388 $(gen-locales).
18389 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18390 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18391 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18392 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18393 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18394 ($(objpfx)tst-ftell-active-handler.out)
18395 ($(objpfx)tst-ftell-append.out)
18396 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18397 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18398 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18399 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18400 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18401 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18402 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18403 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18404 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18405 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18406 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18407 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18408 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18409 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18410 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18411 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18412 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18413 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18414 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18415 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18416 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18417 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18418 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18419 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18420 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18421 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18422 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18423 $(gen-locales).
18424 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18425 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18426 $(gen-locales).
18427 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18428 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18429 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18430 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18431 $(gen-locales).
18432 * libio/tst_wprintf2.c (main): Use explicit locale.
18433 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18434
18435 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18436
18437 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18438 __msg_sig_post.
18439 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18440
18441 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18442
18443 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18444 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18445
18446 * sysdeps/arm/libm-test-ulps: Regenerated.
18447
18448 [BZ #15470]
18449 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18450
18451 [BZ #16399]
18452 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18453 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18454 and <fix-fp-int-convert-overflow.h>.
18455 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18456 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18457 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18458 and <fix-fp-int-convert-overflow.h>.
18459 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18460 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18461 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18462 <fix-fp-int-convert-overflow.h>.
18463 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18464 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18465 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18466 <fix-fp-int-convert-overflow.h>.
18467 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18468 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18469 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18470 and <fix-fp-int-convert-overflow.h>.
18471 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18472 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18473 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18474 <limits.h> and <fix-fp-int-convert-overflow.h>.
18475 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18476 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18477 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18478 and <fix-fp-int-convert-overflow.h>.
18479 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18480 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18481 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18482 and <fix-fp-int-convert-overflow.h>.
18483 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18484 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18485 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18486
18487 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18488
18489 [BZ #18589]
18490 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18491 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18492 $(gen-locales).
18493
18494 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18495 Phil Blundell <pb@pbcl.net>
18496
18497 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18498 * nptl/tst-cancel26.c: New file.
18499 * nptl/tst-cancel27.c: Likewise.
18500
18501 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18502
18503 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18504 __ILP32__ isn't defined.
18505 (lrint): Likewise.
18506 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18507 (lrintf): Likewise.
18508 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18509 (lrintl): Likewise.
18510 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18511 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18512 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18513
18514 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18515
18516 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18517 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18518
18519 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18520 file.
18521 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18522 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18523
18524 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18525
18526 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18527 configure test.
18528 * sysdeps/i386/configure: Regenerated.
18529 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18530 configure test.
18531 * sysdeps/x86_64/configure: Regenerated.
18532 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18533 Make code unconditional.
18534
18535 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18536 test.
18537 * sysdeps/i386/configure: Regenerated.
18538 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18539 test.
18540 * sysdeps/x86_64/configure: Regenerated.
18541 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18542 Make code unconditional.
18543 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18544 Likewise.
18545 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18546 Likewise.
18547 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18548 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18549 code unconditional.
18550 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18551 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18552 code unconditional.
18553 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18554 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18555 code unconditional.
18556 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18557 code unconditional.
18558 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18559 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18560 code unconditional.
18561 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18563 code unconditional.
18564 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18565 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18566 code unconditional.
18567 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18568 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18569 code unconditional.
18570 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18571 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18572
18573 [BZ #19095]
18574 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18575 mantissa to long int before shifting left.
18576
18577 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18578
18579 [BZ #19094]
18580 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18581 <limits.h>.
18582 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18583 when result overflows but exception would not result from cast.
18584 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18585 <limits.h>.
18586 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18587 when result overflows but exception would not result from cast.
18588 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18589 <limits.h>.
18590 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18591 when result overflows but exception would not result from cast.
18592 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18593 <limits.h>.
18594 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18595 when result overflows but exception would not result from cast.
18596 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18597 <limits.h>.
18598 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18599 when result overflows but exception would not result from cast.
18600 * math/libm-test.inc (lrint_test_data): Add more tests.
18601 (llrint_test_data): Likewise.
18602
18603 2015-10-08 Roland McGrath <roland@hack.frob.com>
18604
18605 [BZ #18872]
18606 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18607 Move out from under [$(run-built-tests) = yes] conditional.
18608 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18609 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18610
18611 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18612
18613 [BZ #18589]
18614 * string/Makefile (tests): Add bug-strcoll2.
18615 (LOCALES): Add cs_CZ.UTF-8.
18616 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18617
18618 [BZ #18589]
18619 * string/bug-strcoll2.c: New file.
18620 * locale/categories.def: Revert commit
18621 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18622 * locale/langinfo.h: Likewise.
18623 * locale/localeinfo.h: Likewise.
18624 * locale/C-collate.c: Likewise.
18625 * locale/programs/ld-collate.c (collate_output): Likewise.
18626 * string/strcoll_l.c (STRDIFF): Likewise.
18627 (STRCOLL): Likewise.
18628 * wcsmbs/wcscoll_l.c: Likewise.
18629
18630 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18631
18632 * math/libm-test.inc (lround_test_data): Do not expect the absence
18633 of "inexact" for some tests with non-integer arguments.
18634 (llround_test_data): Likewise.
18635
18636 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18637 test.
18638 (libc_cv_cc_sse2avx): Likewise.
18639 * sysdeps/i386/configure: Regenerated.
18640 * sysdeps/i386/i686/multiarch/Makefile
18641 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18642 [$(subdir) = math].
18643 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18644 code unconditional.
18645 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18646 Likewise.
18647 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18648 Likewise.
18649 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18650 Likewise.
18651 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18652 test.
18653 (libc_cv_cc_sse2avx): Likewise.
18654 * sysdeps/x86_64/configure: Regenerated.
18655 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18656 unconditional.
18657 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18658 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18659 unconditional.
18660 (_dl_runtime_profile)
18661 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18662 conditional code.
18663 * sysdeps/x86_64/fpu/multiarch/Makefile
18664 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18665 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18666 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18667 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18668 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18669 * sysdeps/x86_64/fpu/multiarch/e_log.c
18670 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18671 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18672 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18673 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18674 Likewise.
18675 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18676 Likewise.
18677 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18678 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18679 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18680 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18681 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18682 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18683 (HAVE_SSE2AVX_SUPPORT): Likewise.
18684
18685 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18686
18687 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18688 instead of #pragma optimize.
18689
18690 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18691
18692 [BZ #17195]
18693 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18694 as is similarly done in systrim and _int_free already.
18695
18696 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18697
18698 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18699
18700 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18701
18702 [BZ #19088]
18703 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18704 <limits.h>.
18705 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18706 overflows but exception would not result from cast.
18707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18708 and <limits.h>.
18709 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18710 overflows but exception would not result from cast.
18711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18712 <limits.h>.
18713 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18714 overflows but exception would not result from cast.
18715 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18716 <limits.h>.
18717 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18718 overflows but exception would not result from cast.
18719 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18720 <limits.h>.
18721 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18722 overflows but exception would not result from cast.
18723 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18724 <limits.h>.
18725 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18726 overflows but exception would not result from cast.
18727 * math/libm-test.inc (lround_test_data): Add more tests.
18728 (llround_test_data): Likewise.
18729
18730 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18731
18732 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18733 (CFLAGS-ialloc.c): Ditto.
18734 (CFLAGS-scheck.c): Ditto.
18735
18736 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18737
18738 [BZ #19086]
18739 * manual/filesys.texi (Storage Allocation): Fix argument order for
18740 posix_fallocate64.
18741
18742 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18743
18744 [BZ #19085]
18745 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18746 exponent below 48 inside case for non-overflowing exponent.
18747 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18748
18749 2015-10-07 Florian Weimer <fweimer@redhat.com>
18750
18751 * iconvdata/cp737.h (from_idx): Add const.
18752 * iconvdata/cp775.h (from_idx): Likewise.
18753
18754 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18755
18756 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18757 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18758 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18759
18760 [BZ #19079]
18761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18762 file, conditioned on [!_LP64].
18763 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18764 [!_LP64] (__lround): Do not define as function or alias.
18765 [!_LP64] (lround): Likewise.
18766 [!_LP64] (__lroundl): Likewise.
18767 [!_LP64] (lroundl): Likewise.
18768 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18769 macro.
18770 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18771 Likewise.
18772
18773 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18774
18775 * math/libm-test.inc (lrint_test_data): Add more tests.
18776 (llrint_test_data): Likewise.
18777 (lround_test_data): Likewise.
18778 (llround_test_data): Likewise.
18779
18780 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18781 (llrint_test_data): Add tests used for lrint.
18782
18783 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18784 test.
18785 * sysdeps/i386/configure: Regenerated.
18786 * sysdeps/i386/i686/multiarch/Makefile
18787 [$(config-cflags-sse4) = yes]: Make code unconditional.
18788 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18789 Likewise.
18790 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18791 Likewise.
18792 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18793 test.
18794 * sysdeps/x86_64/configure: Regenerated.
18795 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18796 Make code unconditional.
18797 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18798 Likewise.
18799 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18800 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18801
18802 * scripts/rpm2dynsym.sh: Remove file.
18803
18804 2015-10-06 Florian Weimer <fweimer@redhat.com>
18805
18806 * configure.ac (libc_cv_cxx_thread_local): Define.
18807 * configure: Regenerate.
18808 * config.make.in (have-cxx-thread_local): Define.
18809 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18810 (LDLIBS-tst-thread_local1): Define.
18811 (tests): Add tst-thread_local1.
18812 [have-cxx-thread_local != yes] (tests-unsupported): Add
18813 tst-thread_local1.
18814 * nptl/tst-thread_local1.cc: New file.
18815
18816 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18817
18818 [BZ #19078]
18819 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18820 (u_thres): Likewise.
18821 (__expl): Determine whether to call __kernel_standard_l based on
18822 value of result, not argument.
18823
18824 * math/libm-test.inc (scalb_test_data): Add more expectations for
18825 the "inexact" exception.
18826
18827 [BZ #19077]
18828 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18829 0.0L for argument 1.0L.
18830
18831 [BZ #19076]
18832 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18833 constant 0.0L when computing infinite result.
18834
18835 2015-10-06 Florian Weimer <fweimer@redhat.com>
18836
18837 [BZ #10432]
18838 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18839 malloc_usable_size.
18840
18841 2015-10-06 Florian Weimer <fweimer@redhat.com>
18842
18843 [BZ #19018]
18844 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18845 Mangle function pointer before storing it.
18846 (__call_tls_dtors): Demangle function pointer before calling it.
18847
18848 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18849
18850 [BZ #19012]
18851 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18852 Clean up on failure.
18853
18854 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18855
18856 [BZ #19071]
18857 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18858 long int variable to store possibly incremented high part of
18859 mantissa.
18860 * math/libm-test.inc (lround_test_data): Add tests used for
18861 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18862 for tests requiring 64-bit long. Do not condition tests on
18863 [TEST_FLOAT] unnecessarily.
18864 (llround_test_data): Add tests used for lround. Add another
18865 expectation for the "inexact" exception. Do not condition tests
18866 on [TEST_FLOAT] unnecessarily.
18867
18868 [BZ #887]
18869 [BZ #19049]
18870 [BZ #19050]
18871 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18872 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18873 <fix-int-fp-convert-zero.h>.
18874 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18875 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18876 <fix-int-fp-convert-zero.h>.
18877 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18878 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18879 <fix-int-fp-convert-zero.h>.
18880 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18881 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18882 <fix-int-fp-convert-zero.h>.
18883 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18884 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18885 <fix-int-fp-convert-zero.h>.
18886 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18887 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18888 <fix-int-fp-convert-zero.h>.
18889 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18890 * sysdeps/ieee754/flt-32/s_erff.c: Include
18891 <fix-int-fp-convert-zero.h>.
18892 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18893 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18894 <fix-int-fp-convert-zero.h>.
18895 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18896 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18897 <fix-int-fp-convert-zero.h>.
18898 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18899 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18900 <fix-int-fp-convert-zero.h>.
18901 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18902 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18903 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18904 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18905 file.
18906 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18907
18908 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18909
18910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18911
18912 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18913
18914 [BZ #19059]
18915 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18916 overflowing computation.
18917 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18918 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18919 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18920 Likewise.
18921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18922 Likewise.
18923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18924 Likewise.
18925 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18926 Likewise.
18927 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18928 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18929 Likewise.
18930 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18931 Likewise.
18932 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18933
18934 * nss/rewrite_field.c (__nss_rewrite_field): Use
18935 internal_function.
18936 * nss/valid_field.c (__nss_valid_field): Likewise.
18937 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18938
18939 2015-10-02 Florian Weimer <fweimer@redhat.com>
18940
18941 [BZ #18724]
18942 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18943 (__nss_invalid_field_characters, __nss_valid_field)
18944 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18945 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18946 tst-field.c: New file.
18947 * nss/Makefile (routines): Add valid_field, rewrite_field.
18948 (tests-static): Define unconditionally.
18949 (tests): Include tests-static.
18950 [build-static-nss] (tests-static): Use append.
18951 [build-static-nss] (tests): Remove modification.
18952 * nss/getent.c (print_group): Call putgrent. Report error.
18953 (print_gshadow): Call putsgent. Report error.
18954 (print_passwd): Call putpwent. Report error.
18955 (print_shadow): Call putspent. Report error.
18956 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18957 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18958 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18959 name, password, directory, shell fields for valid syntax. Rewrite
18960 GECOS field to match syntax.
18961 * pwd/Makefile (tests): Add tst-putpwent.
18962 * pwd/tst-putpwent.c: New file.
18963 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18964 Check grName, grpasswd, gr_mem fields for valid syntax.
18965 Change loop variable i to size_t.
18966 * grp/Makefile (tests): Add tst-putgrent.
18967 * grp/tst-putgrent.c: New file.
18968 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18969 valid syntax.
18970 * shadow/Makefile (tests): Add tst-putspent.
18971 * shadow/tst-putspent.c: New file.
18972 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18973 sg_mem fields for valid syntax.
18974 * gshadow/Makefile (tests): Add tst-putsgent.
18975 * gshadow/tst-putsgent.c: New file.
18976
18977 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18978
18979 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18980 assembly instructions.
18981
18982 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18983
18984 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18985 prefix from operands.
18986
18987 2015-10-01 Joseph Myers <joseph@codesourcery.com>
18988
18989 [BZ #16347]
18990 [BZ #19046]
18991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18992 <libc-internal.h>.
18993 (MAXLGM): Do not use diagnostic control macros.
18994 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18995 threshold for ldbl-128ibm.
18996 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18997 instead of multiplying by log then subtracting.
18998 * math/auto-libm-test-in: Add more tests of lgamma.
18999 * math/auto-libm-test-out: Regenerated.
19000
19001 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19002 (TYPE_HEX_DIG): Likewise.
19003 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19004 precisions when printing floating-point numbers.
19005 (check_float_internal): Likewise.
19006
19007 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19008
19009 [BZ #16620]
19010 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19011 of log (10) rounded downward to 48 bits.
19012 (log10_low): Use corresponding low part of log (10).
19013
19014 [BZ #19032]
19015 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19016 compute result as (x - x) / (x - x) not as 0 / 0.
19017 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19018 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19019
19020 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19021 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19022 and expm1.
19023 * math/auto-libm-test-out: Regenerated.
19024 * math/libm-test.inc (acos_test_data): Add more tests.
19025 (asin_test_data): Likewise.
19026 (asinh_test_data): Likewise.
19027 (atan_test_data): Likewise.
19028 (atanh_test_data): Likewise.
19029 (atan2_test_data): Likewise.
19030 (cbrt_test_data): Likewise.
19031 (ceil_test_data): Likewise.
19032 (copysign_test_data): Likewise.
19033 (cos_test_data): Likewise.
19034 (cosh_test_data): Likewise.
19035 (erf_test_data): Likewise.
19036 (erfc_test_data): Likewise.
19037 (exp_test_data): Likewise.
19038 (exp10_test_data): Likewise.
19039 (exp2_test_data): Likewise.
19040 (expm1_test_data): Likewise.
19041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19042
19043 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
19044
19045 [BZ #19006]
19046 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19047 to ...
19048 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19049 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19050 to ...
19051 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19052 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19053 to ...
19054 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19055 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19056 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19057 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19058 to ...
19059 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19060 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19061 Moved to ...
19062 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19063 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19064 Moved to ...
19065 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19066 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19067 to ...
19068 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19069 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19070 Moved to ...
19071 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19072 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19073 to ...
19074 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19075 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19076 Removed.
19077 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19078 Likewise.
19079 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19080 Likewise.
19081 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19082 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19083 Likewise.
19084 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19085 Likewise.
19086 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19087 Likewise.
19088 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19089 Likewise.
19090 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19091 Likewise.
19092 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19093 Likewise.
19094 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19095 Likewise.
19096 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19097 Likewise.
19098 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19099 Likewise.
19100 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19101 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19102 Likewise.
19103 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19104 Likewise.
19105 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19106 Likewise.
19107 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19108 Likewise.
19109 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19110 Likewise.
19111 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19112 Replace ../i486/pthread_cond_timedwait.S with
19113 ../pthread_cond_timedwait.S.
19114
19115 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19116
19117 * math/libm-test.inc (acos_test_data): Refine expectations for
19118 errno and "inexact" exceptions.
19119 (acosh_test_data): Likewise.
19120 (asin_test_data): Likewise.
19121 (asinh_test_data): Likewise.
19122 (atan_test_data): Likewise.
19123 (atanh_test_data): Likewise.
19124 (atan2_test_data): Likewise.
19125 (cbrt_test_data): Likewise.
19126 (ceil_test_data): Likewise.
19127 (copysign_test_data): Likewise.
19128 (cosh_test_data): Likewise.
19129 (erf_test_data): Likewise.
19130 (erfc_test_data): Likewise.
19131 (exp_test_data): Likewise.
19132 (exp10_test_data): Likewise.
19133 (exp2_test_data): Likewise.
19134 (expm1_test_data): Likewise.
19135 (fabs_test_data): Likewise.
19136 (floor_test_data): Likewise.
19137 (fma_test_data): Likewise.
19138 (fmax_test_data): Likewise.
19139 (fmin_test_data): Likewise.
19140 (fmod_test_data): Likewise.
19141 (fpclassify_test_data): Likewise.
19142 (frexp_test_data): Likewise.
19143 (hypot_test_data): Likewise.
19144 (ilogb_test_data): Likewise.
19145 (isgreater_test_data): Likewise.
19146 (isgreaterequal_test_data): Likewise.
19147 (isinf_test_data): Likewise.
19148 (isless_test_data): Likewise.
19149 (islessequal_test_data): Likewise.
19150 (islessgreater_test_data): Likewise.
19151 (isnan_test_data): Likewise.
19152 (isnormal_test_data): Likewise.
19153 (issignaling_test_data): Likewise.
19154 (isunordered_test_data): Likewise.
19155 (j0_test_data): Likewise.
19156 (j1_test_data): Likewise.
19157 (jn_test_data): Likewise.
19158 (lgamma_test_data): Likewise.
19159 (lrint_test_data): Likewise.
19160 (llrint_test_data): Likewise.
19161 (log_test_data): Likewise.
19162 (log10_test_data): Likewise.
19163 (log1p_test_data): Likewise.
19164 (log2_test_data): Likewise.
19165 (logb_test_data): Likewise.
19166 (lround_test_data): Likewise.
19167 (llround_test_data): Likewise.
19168 (modf_test_data): Likewise.
19169 (nearbyint_test_data): Likewise.
19170 (nextafter_test_data): Likewise.
19171 (nexttoward_test_data): Likewise.
19172 (pow_test_data): Likewise.
19173 (remainder_test_data): Likewise.
19174 (remquo_test_data): Likewise.
19175 (rint_test_data): Likewise.
19176 (round_test_data): Likewise.
19177 (signbit_test_data): Likewise.
19178 (sinh_test_data): Likewise.
19179 (sqrt_test_data): Likewise.
19180 (tanh_test_data): Likewise.
19181 (tgamma_test_data): Likewise.
19182 (trunc_test_data): Likewise.
19183 (y0_test_data): Likewise.
19184 (y1_test_data): Likewise.
19185 (yn_test_data): Likewise.
19186 (significand_test_data): Likewise.
19187
19188 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19189
19190 * manual/filesys.texi (Storage Allocation): Document that
19191 posix_fallocate emulation fails when fd is open with O_WRONLY.
19192
19193 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19194
19195 [BZ #19016]
19196 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19197 allow more cases with X^2 + Y^2 >= 0.5.
19198 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19199 normal element in sum instead of special-casing based on values of
19200 arguments.
19201 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19202 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19203 -1 as normal element in sum instead of special-casing based on
19204 values of arguments.
19205 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19206 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19207 (__x2y2m1): Update comment.
19208 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19209 as normal element in sum instead of special-casing based on values
19210 of arguments.
19211 * math/s_clog.c (__clog): Handle more cases using log1p without
19212 hypot.
19213 * math/s_clog10.c (__clog10): Likewise.
19214 * math/s_clog10f.c (__clog10f): Likewise.
19215 * math/s_clog10l.c (__clog10l): Likewise.
19216 * math/s_clogf.c (__clogf): Likewise.
19217 * math/s_clogl.c (__clogl): Likewise.
19218 * math/auto-libm-test-in: Add more tests of clog and clog10.
19219 * math/auto-libm-test-out: Regenerated.
19220 * sysdeps/i386/fpu/libm-test-ulps: Update.
19221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19222
19223 2015-09-28 Martin Sebor <msebor@redhat.com>
19224
19225 [BZ #18969]
19226 * string/Makefile (LOCALES): Define.
19227 (gen-locales.mk): Include.
19228 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19229 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19230 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19231 on setlocale failure.
19232
19233 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19234
19235 [BZ #18985]
19236 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19237 (__strftime_internal): Likewise.
19238 * time/tst-strftime.c (do_bz18985): New test.
19239 (do_test): Call it.
19240
19241 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19242
19243 [BZ #18956]
19244 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19245 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19246 extracting high part.
19247 * math/auto-libm-test-in: Add another test of pow.
19248 * math/auto-libm-test-out: Regenerated.
19249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19250
19251 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19252
19253 [BZ #18825]
19254 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19255 New macro.
19256 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19257 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19258 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19259 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19260 DBL_NARROW_EVAL, reloading the PIC register as needed.
19261 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19262 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19263 FLT_NARROW_EVAL. Use separate return path for case when first
19264 argument is NaN.
19265 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19266 DEFINE_LDBL_MIN.
19267 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19268 PIC register.
19269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19270 math_check_force_underflow_nonneg.
19271 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19272 underflow for subnormal result.
19273 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19275 math_check_force_underflow_nonneg.
19276 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19277 math_check_force_underflow.
19278 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19279 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19280 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19281 DEFINE_LDBL_MIN.
19282 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19283 * math/auto-libm-test-in: Add more tests of pow.
19284 * math/auto-libm-test-out: Regenerated.
19285
19286 2015-09-25 Florian Weimer <fweimer@redhat.com>
19287
19288 * nss/bug17079.c (init_test_items): Add diagnostic for
19289 inconsistent entries.
19290 (test_buffer_size): Skip inconsistent entries.
19291
19292 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19293
19294 [BZ #13304]
19295 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19296 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19297 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19298
19299 [BZ #13304]
19300 * sysdeps/microblaze/s_fma.c: New file.
19301 * sysdeps/microblaze/s_fmaf.c: Likewise.
19302 * sysdeps/microblaze/sfp-machine.h: Likewise.
19303
19304 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19305
19306 [BZ #17250]
19307 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19308 member.
19309
19310 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19311
19312 [BZ #18803]
19313 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19314 (MO): New macro.
19315 (__ieee754_hypot) [PIC]: Load PIC register.
19316 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19317 DBL_NARROW_EVAL.
19318 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19319 math_check_force_underflow_nonneg in case where result might be
19320 tiny.
19321 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19322 Likewise.
19323 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19324 Likewise.
19325 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19326 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19327 * math/auto-libm-test-in: Add more tests of hypot.
19328 * math/auto-libm-test-out: Regenerated.
19329
19330 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19331
19332 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19333
19334 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19335
19336 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19337 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19338 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19339 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19340 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19341 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19342 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19343
19344 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19345 LOAD_PIC_REG.
19346
19347 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19348 (FLT_CHECK_FORCE_UFLOW): Likewise.
19349 (DBL_CHECK_FORCE_UFLOW): Likewise.
19350 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19351 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19352 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19353 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19354 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19355 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19356 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19357 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19358 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19359 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19360 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19361 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19362 (flt_min): Replace with use of DEFINE_FLT_MIN.
19363 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19364 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19365 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19366 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19367 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19368 (flt_min): Replace with use of DEFINE_FLT_MIN.
19369 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19370 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19371 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19372 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19373 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19374 (flt_min): Replace with use of DEFINE_FLT_MIN.
19375 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19376 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19377 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19378 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19379 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19380 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19381 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19382 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19383 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19384 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19385 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19386 (flt_min): Replace with use of DEFINE_FLT_MIN.
19387 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19388 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19389 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19390 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19391 main computation.
19392 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19393 (flt_min): Replace with use of DEFINE_FLT_MIN.
19394 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19395 main computation.
19396 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19397 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19398 (MO): New macro.
19399 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19400 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19401 (flt_min): Replace with use of DEFINE_FLT_MIN.
19402 (MO): New macro.
19403 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19404 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19405 (__log1pl): Use MO.
19406
19407 [BZ #19003]
19408 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19409 $(config-cflags-nofma).
19410
19411 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19412
19413 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19414
19415 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19416
19417 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19418 (TWO127): Likewise.
19419
19420 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19421 (min_of_type): Likewise.
19422 (math_check_force_underflow): Likewise.
19423 (math_check_force_underflow_nonneg): Likewise.
19424 (math_check_force_underflow_complex): Likewise.
19425 * math/e_exp2l.c (__ieee754_exp2l): Use
19426 math_check_force_underflow_nonneg.
19427 * math/k_casinh.c (__kernel_casinh): Likewise.
19428 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19429 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19430 * math/s_catan.c (__catan): Use
19431 math_check_force_underflow_complex.
19432 * math/s_catanf.c (__catanf): Likewise.
19433 * math/s_catanh.c (__catanh): Likewise.
19434 * math/s_catanhf.c (__catanhf): Likewise.
19435 * math/s_catanhl.c (__catanhl): Likewise.
19436 * math/s_catanl.c (__catanl): Likewise.
19437 * math/s_ccosh.c (__ccosh): Likewise.
19438 * math/s_ccoshf.c (__ccoshf): Likewise.
19439 * math/s_ccoshl.c (__ccoshl): Likewise.
19440 * math/s_cexp.c (__cexp): Likewise.
19441 * math/s_cexpf.c (__cexpf): Likewise.
19442 * math/s_cexpl.c (__cexpl): Likewise.
19443 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19444 * math/s_clog10.c (__clog10): Likewise.
19445 * math/s_clog10f.c (__clog10f): Likewise.
19446 * math/s_clog10l.c (__clog10l): Likewise.
19447 * math/s_clogf.c (__clogf): Likewise.
19448 * math/s_clogl.c (__clogl): Likewise.
19449 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19450 * math/s_csinf.c (__csinf): Likewise.
19451 * math/s_csinh.c (__csinh): Likewise.
19452 * math/s_csinhf.c (__csinhf): Likewise.
19453 * math/s_csinhl.c (__csinhl): Likewise.
19454 * math/s_csinl.c (__csinl): Likewise.
19455 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19456 * math/s_csqrtf.c (__csqrtf): Likewise.
19457 * math/s_csqrtl.c (__csqrtl): Likewise.
19458 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19459 * math/s_ctanf.c (__ctanf): Likewise.
19460 * math/s_ctanh.c (__ctanh): Likewise.
19461 * math/s_ctanhf.c (__ctanhf): Likewise.
19462 * math/s_ctanhl.c (__ctanhl): Likewise.
19463 * math/s_ctanl.c (__ctanl): Likewise.
19464 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19465 instead of volatile.
19466 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19467 math_check_force_underflow.
19468 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19470 volatile when forcing underflow.
19471 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19472 math_check_force_underflow_nonneg.
19473 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19474 Likewise.
19475 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19476 math_check_force_underflow.
19477 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19478 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19479 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19480 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19481 math_check_force_underflow_nonneg.
19482 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19483 math_check_force_underflow.
19484 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19486 instead of volatile.
19487 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19488 math_check_force_underflow.
19489 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19490 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19491 math_check_force_underflow_nonneg.
19492 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19493 math_check_force_underflow.
19494 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19495 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19496 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19497 math_check_force_underflow_nonneg.
19498 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19499 Likewise.
19500 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19501 math_check_force_underflow.
19502 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19503 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19504 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19505 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19506 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19507 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19508 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19509 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19510 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19511 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19512 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19513 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19514 Likewise.
19515 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19516 math_check_force_underflow_nonneg.
19517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19518 Likewise.
19519 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19520 math_check_force_underflow.
19521 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19523 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19524 Likewise.
19525 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19526 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19529 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19530 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19532 instead of volatile.
19533 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19534 math_check_force_underflow.
19535 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19537 math_check_force_underflow.
19538 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19539 Likewise.
19540 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19541 Use math_check_force_underflow_nonneg.
19542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19543 math_check_force_underflow.
19544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19545 Likewise.
19546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19547 Likewise.
19548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19554 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19555 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19556 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19557 math_check_force_underflow_nonneg.
19558 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19559 math_check_force_underflow.
19560 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19561 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19562 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19563 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19564 math_check_force_underflow_nonneg.
19565 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19566 math_check_force_underflow.
19567 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19569 instead of volatile.
19570 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19571 math_check_force_underflow.
19572
19573 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19574 * stdlib/strtod_l.c: Include <math_private.h>.
19575 (overflow_value): Use math_narrow_eval.
19576 (underflow_value): Likewise.
19577 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19578 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19579 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19580 (__ieee754_gamma_r): Likewise.
19581 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19582 Likewise.
19583 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19584 Likewise.
19585 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19586 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19587 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19588 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19589 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19590 (__ieee754_gammaf_r): Likewise.
19591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19592 Likewise.
19593 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19594 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19595 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19596 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19597 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19598 volatile.
19599 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19600 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19601 math_narrow_eval.
19602 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19603 Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19605 Likewise.
19606 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19607 Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19609 volatile.
19610 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19612 math_narrow_eval.
19613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19614 Likewise.
19615 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19616 Likewise.
19617
19618 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19619
19620 * nptl/Versions: Remove ignored symbols.
19621
19622 2015-09-22 Florian Weimer <fweimer@redhat.com>
19623
19624 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19625 * nss/Makefile (tests): Update.
19626
19627 2015-09-22 Florian Weimer <fweimer@redhat.com>
19628
19629 * nss/bug18287.c: New file.
19630 * nss/Makefile (tests): Add bug18287.
19631
19632 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19633
19634 * mach/Versions (__mach_host_self_): Add symbol.
19635
19636 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19637
19638 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19639 vm_page_size.
19640
19641 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19642
19643 Really fix sysdeps/i386/fpu/s_scalbn.S build
19644
19645 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19646 (libc: GLIBC_2_22): Remove unused version set.
19647
19648 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19649
19650 * config.make.in (enable-timezone-tools): New variable.
19651 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19652 (enable_timezone_tools): Export to generated files.
19653 * configure: Regenerate.
19654 * INSTALL: Regenerate.
19655 * manual/install.texi (--disable-timezone-tools): Document new flag.
19656 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19657 ifeq ($(enable-timezone-tools),yes) check.
19658
19659 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19660
19661 * timezone/Makefile: Revert previous change.
19662
19663 [BZ #18980]
19664 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19665 (DEFINE_DBL_MIN): Likewise.
19666 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19667 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19668 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19669 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19670 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19671 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19672 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19673 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19674 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19675 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19676 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19677 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19678 (flt_min): Replace with use of DEFINE_FLT_MIN.
19679 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19680 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19681 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19682 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19683 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19684 (flt_min): Replace with use of DEFINE_FLT_MIN.
19685 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19686 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19687 (flt_min): Replace with use of DEFINE_FLT_MIN.
19688 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19689 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19690 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19691 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19692 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19693 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19694 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19695 (__ieee754_pow): Use DBL_NARROW_EVAL.
19696 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19697 (__ieee754_powf): Use FLT_NARROW_EVAL.
19698 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19699 (__ieee754_expf_sse2): Convert double-precision result to single
19700 precision.
19701 * sysdeps/i386/fpu/libm-test-ulps: Update.
19702
19703 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19704
19705 * timezone/Makefile: Ignore unused variable errors due to private.h
19706 (time_t_min) and (time_t_max).
19707 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19708 Likewise.
19709
19710 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19711
19712 [BZ #18981]
19713 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19714 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19715 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19716 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19717 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19718 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19719 (__scalbn): Use DBL_NARROW_EVAL.
19720 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19721 (__scalbnf): Use FLT_NARROW_EVAL.
19722
19723 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19724
19725 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19726 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19727 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19728 * stdio-common/printf_fp.c (___printf_fp):
19729 Use signbit to get the sign. Use isinf macro to allow inlining.
19730 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19731 * stdio-common/printf_size.c (__printf_size): Likewise.
19732
19733 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19734
19735 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19736
19737 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19738
19739 [BZ #18980]
19740 * sysdeps/generic/math_private.h: Include <float.h>.
19741 (math_narrow_eval): New macro.
19742 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19743 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19744 math_narrow_eval on overflowing return value.
19745 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19746 Likewise.
19747 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19748 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19749 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19750 Likewise.
19751 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19752
19753 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19754
19755 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19756 * math/Makefile: Remove isinf_ns.c.
19757 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19758 * math/multc3.c (__multc3): Likewise.
19759 * math/s_casin.c (__casin): Likewise.
19760 * math/s_casinf.c (__casinf): Likewise.
19761 * math/s_casinl.c (__casinl): Likewise.
19762 * math/s_cproj.c (__cproj): Likewise.
19763 * math/s_cprojf.c (__cprojf): Likewise.
19764 * math/s_cprojl.c (__cprofl): Likewise.
19765 * math/s_ctan.c (__ctan): Likewise.
19766 * math/s_ctanf.c (__ctanf): Likewise.
19767 * math/s_ctanh.c (__ctanh): Likewise.
19768 * math/s_ctanhf.c (__ctanhf): Likewise.
19769 * math/s_ctanhl.c (__ctanhl): Likewise.
19770 * math/s_ctanl.c (__ctanl): Likewise.
19771 * math/w_fmod.c (__fmod): Likewise.
19772 * math/w_fmodf.c (__fmodf): Likewise.
19773 * math/w_fmodl.c (_fmodl): Likewise.
19774 * math/w_remainder.c (__remainder): Likewise.
19775 * math/w_remainderf.c (__remainderf): Likewise.
19776 * math/w_remainderl.c (__remainderl): Likewise.
19777 * math/w_scalb.c (__scalb): Likewise.
19778 * math/w_scalbf.c (__scalbf): Likewise.
19779 * math/w_scalbl.c (__scalbl): Likewise.
19780 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19781 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19782 with isinf.
19783 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19785 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19786 __isinf_nsf with isinf.
19787 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19788 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19789 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19790 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19791 with isinf.
19792 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19793 __isinf_nsl with isinf.
19794 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19795 with isinf.
19796 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19797 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19798 __isinf_nsl with isinf.
19799 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19800 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19801 with isinf.
19802
19803 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19804
19805 * resolv/base64.c (rcsid): Remove unused static.
19806 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19807 static. (tqpi1): Likewise.
19808 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19809 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19810 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19811 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19812 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19813 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19814 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19815 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19816 Likewise.
19817
19818 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19819
19820 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19821 <nptl/pthreadP.h>.
19822 (_longjmp_unwind): Use __libc_ptf_call.
19823 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19824
19825 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19826
19827 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19828 * sysdeps/arm/__longjmp.S: Likewise.
19829
19830 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19831
19832 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19833 Use __builtin_signbit.
19834 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19835 Use __builtin_signbitf.
19836 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19837 Use __builtin_signbitl.
19838 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19839 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19840
19841 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19842
19843 [BZ #15367]
19844 [BZ #17441]
19845
19846 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19847 * math/math.h (fpclassify): Use __builtin_fpclassify when
19848 available. (signbit): Use __builtin_signbit(f/l).
19849 (isfinite): Use__builtin_isfinite. (isnormal): Use
19850 __builtin_isnormal. (isnan): Use __builtin_isnan.
19851 (isinf): Use __builtin_isinf_sign.
19852
19853 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19854
19855 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19856 * benchtests/bench-math-inlines.c: New benchmark.
19857 * benchtests/bench-util.h: New file.
19858 * benchtests/bench-util.c: New file.
19859 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19860
19861 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19862
19863 * elf/tst-dlmopen1.c: Define TEST_SO.
19864 (do_test): Use TEST_SO.
19865
19866 * elf/dl-load.c: Include libc-internal.h.
19867 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19868
19869 2015-09-18 Vincent Bernat <vincent@bernat.im>
19870
19871 [BZ #17887]
19872 * time/strptime_l.c (__strptime_internal): Make %z accept
19873 [+-]HH:MM time zones.
19874
19875 2015-09-18 Vincent Bernat <vincent@bernat.im>
19876
19877 [BZ #17886]
19878 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19879 valid time zone.
19880
19881 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19882
19883 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19884 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19885 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19886 (__ASSUME_FDATASYNC): Delete.
19887
19888 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19889
19890 * conform/linknamespace.pl: Require weak undefined symbols to be
19891 in the standard namespace.
19892 (%strong_syms): Rename to %seen_syms.
19893 (%strong_seen): Rename to %seen_where.
19894
19895 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19896
19897 [BZ #18970]
19898 * misc/error.c (error): Replace pthread_setcancelstate with
19899 __pthread_setcancelstate.
19900 (error_at_line): Likewise.
19901 * posix/wordexp.c (parse_comm): Likewise.
19902 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19903 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19904 (__pthread_setcancelstate): This.
19905 (pthread_setcancelstate): Add an alias.
19906 * nptl/nptl-init.c (pthread_functions): Replace
19907 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19908 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19909 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19910 hidden_proto.
19911 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19912 it with hidden_def.
19913 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19914 (pthread_setcancelstate): Renamed to ...
19915 (__pthread_setcancelstate): This.
19916 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19917 __libc_ptf_call with __pthread_setcancelstate.
19918
19919 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19920 Andreas Schwab <schwab@suse.de>
19921
19922 [BZ #17118]
19923 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19924 result when imaginary part of argument is infinite using sine and
19925 cosine.
19926 * math/s_ctanf.c (__ctanf): Likewise.
19927 * math/s_ctanl.c (__ctanl): Likewise.
19928 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19929 of result when real part of argument is infinite using sine and
19930 cosine.
19931 * math/s_ctanhf.c (__ctanhf): Likewise.
19932 * math/s_ctanhl.c (__ctanhl): Likewise.
19933 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19934 (ctanh_test_data): Add more tests of ctanh.
19935
19936 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19937
19938 [BZ #15384]
19939 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19940 bit-mask as in subtraction.
19941 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19942 Likewise.
19943 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19944 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19946
19947 [BZ #18951]
19948 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19949 underflow exception for small results.
19950 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19951 Likewise.
19952 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19953 Likewise.
19954 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19955 Likewise.
19956 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19957 Likewise.
19958 * math/auto-libm-test-in: Add more tests of tgamma.
19959 * math/auto-libm-test-out: Regenerated.
19960
19961 2015-09-17 Andreas Schwab <schwab@suse.de>
19962
19963 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19964
19965 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19966
19967 [BZ #18977]
19968 * math/bits/mathcalls.h
19969 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19970 not declare.
19971 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19972 Likewise.
19973 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19974 Likewise.
19975 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19976 Likewise.
19977 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19978 Likewise.
19979 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19980 Likewise.
19981 * conform/data/math.h-data
19982 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19983 function.
19984 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19985 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19986 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19987 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19988 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19989 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19990 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19991 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19992 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19993 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19994 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19995
19996 [BZ #6803]
19997 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19998 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19999 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20000 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20001 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20002 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20003 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20004 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20005 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20007 Likewise.
20008 [NO_LONG_DOUBLE] (scalbnl): Likewise.
20009 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20012 long_double_symbol calls.
20013 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20014 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20015 strong alias of __ldexpl.
20016 (scalbnl): Define using long_double_symbol.
20017 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20018 Remove alias.
20019 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20020 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20021 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20022 (scalbln_test_data): Add more errno expectations.
20023
20024 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
20025
20026 Cache the host port like we cache the task port. This way we do not
20027 need to call the kernel just to get the port. Furthermore, we no
20028 longer increase the reference count on every invocation of
20029 `mach_host_self'.
20030
20031 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20032 Protect declarations against the macro expansion.
20033 * mach/mach_init.c (__mach_host_self_): New variable.
20034 (mach_init): Initialize `__mach_host_self_'.
20035 * mach/mach_init.h (__mach_host_self_): New declaration.
20036 (__mach_host_self, mach_host_self): New macros.
20037 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20038 Release reference.
20039
20040 2015-09-16 Joseph Myers <joseph@codesourcery.com>
20041
20042 [BZ #4404]
20043 * po/de.po: Update from Translation Project.
20044
20045 [BZ #16415]
20046 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20047 (__expm1l): Remove code to handle positive infinity and overflow.
20048 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20049 variable.
20050 (__expm1l): Remove code to handle positive infinity and overflow.
20051
20052 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
20053 Paul Pluzhnikov <ppluzhnikov@google.com>
20054
20055 [BZ #18872]
20056 * stdio-common/Makefile (tst-printf-bz18872): New test.
20057 (tst-printf-bz18872-mem.out): Likewise.
20058 * stdio-common/tst-printf-bz18872.sh: Generate new test.
20059 * stdio-common/vfprintf.c: Fix memory leaks.
20060
20061 2015-09-16 Andreas Schwab <schwab@suse.de>
20062
20063 [BZ #17244]
20064 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20065 Remove extra va_start/va_end calls.
20066
20067 [BZ #17243]
20068 * posix/execl.c (execl): Add missing va_end.
20069 * posix/execle.c (execle): Likewise.
20070 * posix/execlp.c (execlp): Likewise.
20071
20072 2015-09-15 Roland McGrath <roland@hack.frob.com>
20073
20074 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20075 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20076
20077 2015-09-15 Joseph Myers <joseph@codesourcery.com>
20078
20079 [BZ #18967]
20080 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
20081 undefine around includes of <bits/mathcalls.h>.
20082 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20083 not declare function.
20084 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20085 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20086 (scalb): Likewise.
20087 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20088 not define macro.
20089 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20090 variable.
20091 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20092 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20093 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20094
20095 [BZ #18857]
20096 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20097 return non-finite argument without doing ordered comparisons on
20098 it.
20099
20100 [BZ #16296]
20101 * math/fenv.h (fegetround): Use __attribute_pure__.
20102 * include/fenv.h (__fegetround): Likewise.
20103
20104 [BZ #18595]
20105 * math/s_ctan.c (__ctan): Force underflow exception for results
20106 whose real or imaginary part has small absolute value.
20107 * math/s_ctanf.c (__ctanf): Likewise.
20108 * math/s_ctanh.c (__ctanh): Likewise.
20109 * math/s_ctanhf.c (__ctanhf): Likewise.
20110 * math/s_ctanhl.c (__ctanhl): Likewise.
20111 * math/s_ctanl.c (__ctanl): Likewise.
20112 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20113 and ctanh. Add more tests of ctan and ctanh.
20114
20115 [BZ #15918]
20116 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20117 handling of cases where one argument is an infinity.
20118
20119 [BZ #18875]
20120 [BZ #18966]
20121 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20122 (MO): New macro.
20123 (__ieee754_exp10): For small results, force underflow exception
20124 and remove excess range and precision from return value.
20125 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20126 (MO): New macro.
20127 (__ieee754_exp10f): For small results, force underflow exception
20128 and remove excess range and precision from return value.
20129 * math/auto-libm-test-in: Add more tests of exp10.
20130 * math/auto-libm-test-out: Regenerated.
20131
20132 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20133
20134 [BZ #18875]
20135 [BZ #18961]
20136 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20137 (MO): New macro.
20138 (__ieee754_exp): For small results, force underflow exception and
20139 remove excess range and precision from return value.
20140 (__exp_finite): Likewise.
20141 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20142 (MO): New macro.
20143 (__ieee754_expf): For small results, force underflow exception and
20144 remove excess range and precision from return value.
20145 (__expf_finite): Likewise.
20146 * math/auto-libm-test-in: Add more tests of exp.
20147 * math/auto-libm-test-out: Regenerated.
20148
20149 [BZ #16521]
20150 [BZ #18875]
20151 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20152 small results.
20153 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20154 (MO): New macro.
20155 (__ieee754_exp2): For small results, force underflow exception and
20156 remove excess range and precision from return value.
20157 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20158 (MO): New macro.
20159 (__ieee754_exp2f): For small results, force underflow exception
20160 and remove excess range and precision from return value.
20161 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20162 (MO): New macro.
20163 (__ieee754_exp2l): Force underflow exception for small results.
20164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20165 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20166 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20167 (MO): New macro.
20168 (__ieee754_exp2l): Force underflow exception for small results.
20169 * math/auto-libm-test-in: Add more tests or exp2.
20170 * math/auto-libm-test-out: Regenerated.
20171
20172 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20173
20174 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20175
20176 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20177 /dev/null.
20178
20179 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20180
20181 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20182 io fs process)): Drop spurious backslash.
20183
20184 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20185
20186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20187 Use sysinfo system call instead of parsing /proc/meminfo.
20188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20189 Likewise.
20190
20191 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20192
20193 [BZ #16985]
20194 * programs/localedef.c (main): Display argv[remaining] when
20195 output_path is NULL.
20196
20197 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20198
20199 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20200 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20201 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20202 tanh.
20203 * math/auto-libm-test-out: Regenerated.
20204 * sysdeps/i386/fpu/libm-test-ulps: Update.
20205 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20206 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20208
20209 2015-09-11 Roland McGrath <roland@hack.frob.com>
20210
20211 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20212 Use 'override' keyword to freeze the value here, preventing
20213 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20214
20215 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20216
20217 [BZ #14912]
20218 * sysdeps/aarch64/bits/atomic.h: Move to ...
20219 * sysdeps/aarch64/atomic-machine.h: ...here.
20220 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20221 _AARCH64_ATOMIC_MACHINE_H.
20222 * sysdeps/alpha/bits/atomic.h: Move to ...
20223 * sysdeps/alpha/atomic-machine.h: ...here.
20224 * sysdeps/arm/bits/atomic.h: Move to ...
20225 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20226 * bits/atomic.h: Move to ...
20227 * sysdeps/generic/atomic-machine.h: ...here.
20228 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20229 * sysdeps/i386/bits/atomic.h: Move to ...
20230 * sysdeps/i386/atomic-machine.h: ...here.
20231 * sysdeps/ia64/bits/atomic.h: Move to ...
20232 * sysdeps/ia64/atomic-machine.h: ...here.
20233 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20234 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20235 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20236 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20237 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20238 * sysdeps/microblaze/bits/atomic.h: Move to ...
20239 * sysdeps/microblaze/atomic-machine.h: ...here.
20240 * sysdeps/mips/bits/atomic.h: Move to ...
20241 * sysdeps/mips/atomic-machine.h: ...here.
20242 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20243 * sysdeps/powerpc/bits/atomic.h: Move to ...
20244 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20245 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20246 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20247 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20248 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20249 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20250 <atomic-machine.h> instead of <bits/atomic.h>.
20251 * sysdeps/s390/bits/atomic.h: Move to ...
20252 * sysdeps/s390/atomic-machine.h: ...here.
20253 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20254 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20255 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20256 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20257 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20258 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20259 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20260 * sysdeps/tile/bits/atomic.h: Move to ...
20261 * sysdeps/tile/atomic-machine.h: ...here.
20262 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20263 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20264 <sysdeps/tile/atomic-machine.h> instead of
20265 <sysdeps/tile/bits/atomic.h>.
20266 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20267 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20268 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20269 <sysdeps/tile/atomic-machine.h> instead of
20270 <sysdeps/tile/bits/atomic.h>.
20271 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20272 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20273 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20274 <sysdeps/arm/atomic-machine.h> instead of
20275 <sysdeps/arm/bits/atomic.h>.
20276 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20277 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20278 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20279 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20280 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20281 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20282 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20283 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20284 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20285 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20286 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20287 * sysdeps/x86_64/bits/atomic.h: Move to ...
20288 * sysdeps/x86_64/atomic-machine.h: ...here.
20289 * include/atomic.h: Include <atomic-machine.h> instead of
20290 <bits/atomic.h>.
20291
20292 * sysdeps/mips/mips32/libm-test-ulps: Update.
20293 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20294
20295 [BZ #18952]
20296 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20297 not convert non-integer negative arguments to int to determine the
20298 value of signgam.
20299 * math/auto-libm-test-in: Add more tests of lgamma.
20300 * math/auto-libm-test-out: Regenerated.
20301
20302 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20303 cosh, csqrt, erfc, expm1 and lgamma.
20304 * math/auto-libm-test-out: Regenerated.
20305 * sysdeps/i386/fpu/libm-test-ulps: Update.
20306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20307
20308 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20309
20310 [BZ #2542]
20311 [BZ #2543]
20312 [BZ #2558]
20313 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20314 __lgamma_neg for arguments from -28.0 to -2.0.
20315 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20316 __lgamma_negf for arguments from -15.0 to -2.0.
20317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20318 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20319 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20320 Call __lgamma_negl for arguments from -33.0 to -2.0.
20321 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20322 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20323 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20324 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20325 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20326 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20331 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20332 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20333 (__lgamma_neg): Likewise.
20334 (__lgamma_negl): Likewise.
20335 (__lgamma_product): Likewise.
20336 (__lgamma_productl): Likewise.
20337 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20338 * math/auto-libm-test-in: Add more tests of lgamma.
20339 * math/auto-libm-test-out: Regenerated.
20340 * sysdeps/i386/fpu/libm-test-ulps: Update.
20341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342
20343 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20344
20345 [BZ #18675]
20346 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20347
20348 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20349
20350 [BZ #14912]
20351 * bits/libc-lock.h: Move to ...
20352 * sysdeps/generic/libc-lock.h: ...here.
20353 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20354 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20355 * sysdeps/mach/hurd/libc-lock.h: ...here.
20356 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20357 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20358 * sysdeps/mach/bits/libc-lock.h: Move to ...
20359 * sysdeps/mach/libc-lock.h: ...here.
20360 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20361 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20362 * sysdeps/nptl/libc-lock.h: ...here.
20363 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20364 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20365 * sysdeps/nptl/libc-lockP.h: ...here.
20366 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20367 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20368 <bits/libc-lock.h>.
20369 * dirent/scandir-tail.c: Likewise.
20370 * dlfcn/dlerror.c: Likewise.
20371 * elf/dl-close.c: Likewise.
20372 * elf/dl-iteratephdr.c: Likewise.
20373 * elf/dl-lookup.c: Likewise.
20374 * elf/dl-open.c: Likewise.
20375 * elf/dl-support.c: Likewise.
20376 * elf/dl-writev.h: Likewise.
20377 * elf/rtld.c: Likewise.
20378 * grp/fgetgrent.c: Likewise.
20379 * gshadow/fgetsgent.c: Likewise.
20380 * gshadow/sgetsgent.c: Likewise.
20381 * iconv/gconv_conf.c: Likewise.
20382 * iconv/gconv_db.c: Likewise.
20383 * iconv/gconv_dl.c: Likewise.
20384 * iconv/gconv_int.h: Likewise.
20385 * iconv/gconv_trans.c: Likewise.
20386 * include/link.h: Likewise.
20387 * inet/getnameinfo.c: Likewise.
20388 * inet/getnetgrent.c: Likewise.
20389 * inet/getnetgrent_r.c: Likewise.
20390 * intl/bindtextdom.c: Likewise.
20391 * intl/dcigettext.c: Likewise.
20392 * intl/finddomain.c: Likewise.
20393 * intl/gettextP.h: Likewise.
20394 * intl/loadmsgcat.c: Likewise.
20395 * intl/localealias.c: Likewise.
20396 * intl/textdomain.c: Likewise.
20397 * libidn/idn-stub.c: Likewise.
20398 * libio/libioP.h: Likewise.
20399 * locale/duplocale.c: Likewise.
20400 * locale/freelocale.c: Likewise.
20401 * locale/newlocale.c: Likewise.
20402 * locale/setlocale.c: Likewise.
20403 * login/getutent_r.c: Likewise.
20404 * login/getutid_r.c: Likewise.
20405 * login/getutline_r.c: Likewise.
20406 * login/utmp-private.h: Likewise.
20407 * login/utmpname.c: Likewise.
20408 * malloc/mtrace.c: Likewise.
20409 * misc/efgcvt.c: Likewise.
20410 * misc/error.c: Likewise.
20411 * misc/fstab.c: Likewise.
20412 * misc/getpass.c: Likewise.
20413 * misc/mntent.c: Likewise.
20414 * misc/syslog.c: Likewise.
20415 * nis/nis_call.c: Likewise.
20416 * nis/nis_callback.c: Likewise.
20417 * nis/nss-default.c: Likewise.
20418 * nis/nss_compat/compat-grp.c: Likewise.
20419 * nis/nss_compat/compat-initgroups.c: Likewise.
20420 * nis/nss_compat/compat-pwd.c: Likewise.
20421 * nis/nss_compat/compat-spwd.c: Likewise.
20422 * nis/nss_nis/nis-alias.c: Likewise.
20423 * nis/nss_nis/nis-ethers.c: Likewise.
20424 * nis/nss_nis/nis-grp.c: Likewise.
20425 * nis/nss_nis/nis-hosts.c: Likewise.
20426 * nis/nss_nis/nis-network.c: Likewise.
20427 * nis/nss_nis/nis-proto.c: Likewise.
20428 * nis/nss_nis/nis-pwd.c: Likewise.
20429 * nis/nss_nis/nis-rpc.c: Likewise.
20430 * nis/nss_nis/nis-service.c: Likewise.
20431 * nis/nss_nis/nis-spwd.c: Likewise.
20432 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20433 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20434 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20435 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20436 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20437 * nis/nss_nisplus/nisplus-network.c: Likewise.
20438 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20439 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20440 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20441 * nis/nss_nisplus/nisplus-service.c: Likewise.
20442 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20443 * nis/ypclnt.c: Likewise.
20444 * nptl/libc_pthread_init.c: Likewise.
20445 * nss/getXXbyYY.c: Likewise.
20446 * nss/getXXent.c: Likewise.
20447 * nss/getXXent_r.c: Likewise.
20448 * nss/nss_db/db-XXX.c: Likewise.
20449 * nss/nss_db/db-netgrp.c: Likewise.
20450 * nss/nss_db/nss_db.h: Likewise.
20451 * nss/nss_files/files-XXX.c: Likewise.
20452 * nss/nss_files/files-alias.c: Likewise.
20453 * nss/nsswitch.c: Likewise.
20454 * posix/regex_internal.h: Likewise.
20455 * posix/wordexp.c: Likewise.
20456 * pwd/fgetpwent.c: Likewise.
20457 * resolv/res_hconf.c: Likewise.
20458 * resolv/res_libc.c: Likewise.
20459 * shadow/fgetspent.c: Likewise.
20460 * shadow/lckpwdf.c: Likewise.
20461 * shadow/sgetspent.c: Likewise.
20462 * socket/opensock.c: Likewise.
20463 * stdio-common/reg-modifier.c: Likewise.
20464 * stdio-common/reg-printf.c: Likewise.
20465 * stdio-common/reg-type.c: Likewise.
20466 * stdio-common/vfprintf.c: Likewise.
20467 * stdio-common/vfscanf.c: Likewise.
20468 * stdlib/abort.c: Likewise.
20469 * stdlib/cxa_atexit.c: Likewise.
20470 * stdlib/fmtmsg.c: Likewise.
20471 * stdlib/random.c: Likewise.
20472 * stdlib/setenv.c: Likewise.
20473 * string/strsignal.c: Likewise.
20474 * sunrpc/auth_none.c: Likewise.
20475 * sunrpc/bindrsvprt.c: Likewise.
20476 * sunrpc/create_xid.c: Likewise.
20477 * sunrpc/key_call.c: Likewise.
20478 * sunrpc/rpc_thread.c: Likewise.
20479 * sysdeps/arm/backtrace.c: Likewise.
20480 * sysdeps/generic/ldsodefs.h: Likewise.
20481 * sysdeps/generic/stdio-lock.h: Likewise.
20482 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20483 * sysdeps/i386/backtrace.c: Likewise.
20484 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20485 * sysdeps/m68k/backtrace.c: Likewise.
20486 * sysdeps/mach/hurd/cthreads.c: Likewise.
20487 * sysdeps/mach/hurd/dirstream.h: Likewise.
20488 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20489 * sysdeps/nptl/malloc-machine.h: Likewise.
20490 * sysdeps/nptl/stdio-lock.h: Likewise.
20491 * sysdeps/posix/dirstream.h: Likewise.
20492 * sysdeps/posix/getaddrinfo.c: Likewise.
20493 * sysdeps/posix/system.c: Likewise.
20494 * sysdeps/pthread/aio_suspend.c: Likewise.
20495 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20496 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20497 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20498 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20499 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20500 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20501 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20502 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20503 * sysdeps/unix/sysv/linux/system.c: Likewise.
20504 * sysdeps/x86_64/backtrace.c: Likewise.
20505 * time/alt_digit.c: Likewise.
20506 * time/era.c: Likewise.
20507 * time/tzset.c: Likewise.
20508 * wcsmbs/wcsmbsload.c: Likewise.
20509 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20510 instead of <bits/libc-lock.h> in comment.
20511
20512 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20513
20514 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20515 Only use .set mips2 if the current ISA is below mips2.
20516 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20517 Likewise.
20518 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20519 mips32r2 if the current ISA is below mips32r2.
20520 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20521 (TLS_IE): Updated to use the TLD_RDHWR macro.
20522 (TLS_LE): Likewise.
20523 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20524 __ASSEMBLER__ condition.
20525
20526 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20527
20528 Fix parallel build of before-compile targets.
20529
20530 * sysdeps/mach/Makefile ($(patsubst
20531 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20532 mach-before-compile target.
20533 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20534 io fs process)): Move rule to dedicated hurd-before-compile target.
20535
20536 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20537
20538 Fix rules generating headers in hurd/ and mach/ when initial make call
20539 has subdir= explicitly set.
20540
20541 * sysdeps/mach/Makefile ($(patsubst
20542 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20543 calling $(MAKE).
20544 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20545 io fs process)): Force subdir to hurd when calling $(MAKE).
20546 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20547 subdir to mach when calling $(MAKE).
20548
20549 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20550
20551 Check sysheaders when looking for Mach and Hurd headers
20552
20553 * sysdeps/mach/configure.ac: Add sysheaders check.
20554 * sysdeps/mach/configure: Regenerate.
20555 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20556 * sysdeps/mach/hurd/configure: Regenerate.
20557
20558 2015-09-04 Roland McGrath <roland@hack.frob.com>
20559
20560 [BZ #18921]
20561 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20562 Fix inverted sense of test of 'o_directory_works' value.
20563 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20564 Bernhard Voelker <mail@bernhard-voelker.de>.
20565
20566 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20567
20568 [BZ #14912]
20569 * bits/linkmap.h: Move to ...
20570 * sysdeps/generic/linkmap.h: ...here.
20571 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20572 * sysdeps/aarch64/linkmap.h: ...here.
20573 * sysdeps/arm/bits/linkmap.h: Move to ...
20574 * sysdeps/arm/linkmap.h: ...here.
20575 * sysdeps/hppa/bits/linkmap.h: Move to ...
20576 * sysdeps/hppa/linkmap.h: ...here.
20577 * sysdeps/ia64/bits/linkmap.h: Move to ...
20578 * sysdeps/ia64/linkmap.h: ...here.
20579 * sysdeps/mips/bits/linkmap.h: Move to ...
20580 * sysdeps/mips/linkmap.h: ...here.
20581 * sysdeps/s390/bits/linkmap.h: Move to ...
20582 * sysdeps/s390/linkmap.h: ...here.
20583 * sysdeps/sh/bits/linkmap.h: Move to ...
20584 * sysdeps/sh/linkmap.h: ...here.
20585 * sysdeps/x86/bits/linkmap.h: Move to ...
20586 * sysdeps/x86/linkmap.h: ...here.
20587 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20588
20589 2015-09-04 Andreas Schwab <schwab@suse.de>
20590
20591 [BZ #18635]
20592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20593 (__makecontext): Terminate FDE before return label.
20594 (__novec_makecontext): Likewise.
20595
20596 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20597
20598 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20599 first member of struct sv in syscall macro.
20600
20601 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20602
20603 [BZ #14912]
20604 * bits/stdio-lock.h: Move to ...
20605 * sysdeps/generic/stdio-lock.h: ...here.
20606 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20607 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20608 * sysdeps/nptl/stdio-lock.h: ...here.
20609 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20610 * include/libio.h: Include <stdio-lock.h> instead of
20611 <bits/stdio-lock.h>.
20612 * sysdeps/nptl/fork.c: Likewise.
20613 * sysdeps/pthread/flockfile.c: Likewise.
20614 * sysdeps/pthread/ftrylockfile.c: Likewise.
20615 * sysdeps/pthread/funlockfile.c: Likewise.
20616
20617 [BZ #14912]
20618 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20619 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20620 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20621 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20622 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20623 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20624 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20625
20626 2015-09-03 Roland McGrath <roland@hack.frob.com>
20627
20628 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20629 (test-xfail-tst-protected1b): New variable.
20630
20631 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20632
20633 [BZ #14912]
20634 * bits/libc-tsd.h: Move to ...
20635 * sysdeps/generic/libc-tsd.h: ...here.
20636 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20637 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20638 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20639 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20640 * include/ctype.h: Include <libc-tsd.h> instead of
20641 <bits/libc-tsd.h>.
20642 * include/rpc/rpc.h: Likewise.
20643 * locale/localeinfo.h: Likewise.
20644 * sunrpc/rpc_thread.c: Likewise.
20645 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20646 * sysdeps/nptl/malloc-machine.h: Likewise.
20647
20648 * Makefile (headers): Remove bits/libc-lock.h.
20649 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20650
20651 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20652 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20653 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20654 <bits/stdio-lock.h>.
20655 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20656 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20657
20658 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20659
20660 [BZ #18757]
20661 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20662 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20663 BZ #18757.
20664
20665 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20666
20667 * malloc/mtrace.pl: Filter out NULL entries.
20668
20669 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20670
20671 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20672 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20673 macro.
20674
20675 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20676 (TCP_CC_INFO): Likewise.
20677 (TCP_SAVE_SYN): Likewise.
20678 (TCP_SAVED_SYN): Likewise.
20679
20680 2015-08-31 Brett Neumeier <brett@neumeier.us>
20681
20682 [BZ #18870]
20683 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20684
20685 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20686
20687 [BZ #18873]
20688 Fix broken overflow check in posix_fallocate
20689 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20690 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20691 Fix parenthesization typo.
20692
20693 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20694
20695 [BZ #18887]
20696 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20697 tst-mntent-blank-passno.
20698 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20699 * misc/tst-mntent-blank-corrupt.c: New test.
20700 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20701 * misc/tst-mntent.c (do_test): ... here.
20702
20703 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20704
20705 [BZ #4404]
20706 * po/de.po: Fix SIGALRM typo.
20707
20708 2015-08-28 James Perkins <james@loowit.net>
20709
20710 * time/tst-strptime2.c (tests): Replace short list of test
20711 strings for strptime %z specifier with code which exhaustively
20712 tests every combination of sign and 0 to 5 digits. Tests for
20713 rejection of invalid strings.
20714
20715 2015-08-28 James Perkins <james@loowit.net>
20716
20717 [BZ #16141]
20718 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20719 calculation, removing incorrect decimal time rounding, so that
20720 all minute values result in a valid seconds value.
20721 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20722 offset range limits to UTC-99:59 through UTC+99:59 to parse
20723 current and historical use cases.
20724 * time/tst-strptime2.c (tests): Modify and add tests for the
20725 strptime %z input field descriptor, specifically conversion of
20726 minutes to seconds and validating an offset range of -9959 to
20727 +9959.
20728
20729 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20730 Dmitry V. Levin <ldv@altlinux.org>
20731
20732 [BZ #18877]
20733 * posix/Makefile (tests): Add tst-mmap-offset.
20734 * posix/tst-mmap.c: New file.
20735 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20736 offset calculation for negative values.
20737
20738 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20739
20740 * sysdeps/i386/init-arch.h: New file.
20741 * sysdeps/i386/i586/init-arch.h: Likewise.
20742 * sysdeps/i386/i686/init-arch.h: Likewise.
20743 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20744 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20745 * sysdeps/x86/cpu-features.h (bit_I586): New.
20746 (bit_I686): Likewise.
20747 (bit_CX8): Likewise.
20748 (bit_CMOV): Likewise.
20749 (index_CX8): Likewise.
20750 (index_CMOV): Likewise.
20751 (index_I586): Likewise.
20752 (index_I686): Likewise.
20753 (reg_CX8): Likewise.
20754 (reg_CMOV): Likewise.
20755 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20756 available at compile-time.
20757 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20758 available at compile-time.
20759 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20760 (USE_I686): Likewise.
20761
20762 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * sysdeps/i386/bcopy.S: New file.
20765 * sysdeps/i386/bzero.S: Likewise.
20766 * sysdeps/i386/memcpy.S: Likewise.
20767 * sysdeps/i386/memmove.S: Likewise.
20768 * sysdeps/i386/mempcpy.S: Likewise.
20769 * sysdeps/i386/memset.S: Likewise.
20770 * sysdeps/i386/bzero.c: Removed.
20771 * sysdeps/i386/memset.c: Likewise.
20772 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20773 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20774 * sysdeps/i386/i586/memset_chk.S: Likewise.
20775 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20776 * sysdeps/i386/memcpy_chk.S: Here.
20777 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20778 * sysdeps/i386/memmove_chk.S: Here.
20779 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20780 * sysdeps/i386/mempcpy_chk.S: Likewise.
20781 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20782 * sysdeps/i386/memset_chk.S: Likewise.
20783
20784 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20785
20786 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20787 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20788 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20789 * soft-fp/fmadf4.c: Ditto.
20790 * soft-fp/fmatf4.c: Ditto.
20791
20792 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20793
20794 * sysdeps/i386/i586/Implies: Removed.
20795 * sysdeps/i386/i686/Implies: Likewise.
20796
20797 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20798
20799 * sysdeps/i386/i486/strlen.S: Moved to ...
20800 * sysdeps/i386/strlen.S: Here.
20801
20802 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20803
20804 * sysdeps/i386/i486/strcat.S: Moved to ...
20805 * sysdeps/i386/strcat.S: Here.
20806
20807 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20808
20809 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20810 * sysdeps/i386/pthread_spin_trylock.S: Here.
20811 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20812 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20813
20814 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20815
20816 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20817 * sysdeps/i386/string-inlines.c: Here.
20818
20819 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * sysdeps/i386/i486/htonl.S: Moved ...
20822 * sysdeps/i386/htonl.S: here.
20823
20824 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20825
20826 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20827 * sysdeps/i386/bits/atomic.h: Here.
20828
20829 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * sysdeps/i386/i486/Versions: Removed.
20832
20833 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20834
20835 [BZ #2898]
20836 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20837 Based on patch by Aurelien Jarno.
20838
20839 2015-08-26 Stan Shebs <stanshebs@google.com>
20840
20841 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20842 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20843
20844 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20845
20846 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20847 * sysdeps/powerpc/dl-procinfo.c:
20848 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20849 feature so it shows when LD_SHOW_AUXV=1.
20850
20851 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20852
20853 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20854 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20855 definition. ISA 2.07B no longer requires full sync.
20856
20857 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20858
20859 [BZ #18863]
20860 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20861 (si_call_addr): Define.
20862 (si_syscall): Define.
20863 (si_arch): Define.
20864
20865 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20866
20867 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20868 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20869 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20870 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20871 (__memset_zero_constant_len_parameter): New.
20872 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20873 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20874 (__memset_zero_constant_len_parameter): Don't define if
20875 __memset_chk or USE_AS_BZERO are defined.
20876
20877 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20878 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20879 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20880
20881 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20882 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20883 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20884 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20885 comments.
20886 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20887 -mno-mmx for $(all-rtld-routines).
20888 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20889 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20890 i386.
20891
20892 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20893
20894 * sysdeps/generic/unwind.h
20895 (_Unwind_Word): Use __mode__(__unwind_word__)
20896 instead of __mode__(__word__).
20897 (_Unwind_Sword): Likewise.
20898
20899 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20900 (MAX_NEEDED_INPUT): New define.
20901 (MAX_NEEDED_OUTPUT): New define.
20902
20903 * NEWS: New item for IBM z13 string optimizations.
20904
20905 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20906 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20907 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20908 * sysdeps/s390/multiarch/Makefile
20909 (sysdep_routines): Add memrchr functions.
20910 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20911 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20912
20913 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20914 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20915 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20916 * sysdeps/s390/multiarch/Makefile
20917 (sysdep_routines): Add wmemcmp functions.
20918 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20919 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20920 * benchtests/bench-wmemcmp.c: New File.
20921 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20922
20923 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20924 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20925 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20926 * sysdeps/s390/multiarch/Makefile
20927 (sysdep_routines): Add wmemset functions.
20928 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20929 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20930 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20931 * string/test-memset.c: Add wmemset support.
20932 * wcsmbs/test-wmemset.c: New File.
20933 * wcsmbs/Makefile (strop-tests): Add wmemset.
20934 * benchtests/bench-memset.c: Add wmemset support.
20935 * benchtests/bench-wmemset.c: New File.
20936 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20937
20938 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20939 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20940 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20941 * sysdeps/s390/multiarch/Makefile
20942 (sysdep_routines): Add memccpy functions.
20943 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20944 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20945 * string/memccpy.c: Use MEMCCPY if defined.
20946
20947 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20948 * sysdeps/s390/multiarch/memchr.c: Likewise.
20949 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20950 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20951 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20952 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20953 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20954 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20955 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20956 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20957 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20958 and rawmemchr functions.
20959 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20960 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20961 and wmemchr.
20962 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20963 * string/test-memchr.c: Add wmemchr support.
20964 * wcsmbs/test-wmemchr.c: New File.
20965 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20966 * benchtests/bench-memchr.c: Add wmemchr support.
20967 * benchtests/bench-wmemchr.c: New File.
20968 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20969
20970 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20971 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20972 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20973 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20974 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20975 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20976 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20977 wcscspn functions.
20978 * sysdeps/s390/multiarch/ifunc-impl-list.c
20979 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20980 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20981 * string/test-strcspn.c: Add wcscspn support.
20982 * wcsmbs/test-wcscspn.c: New File.
20983 * wcsmbs/Makefile (strop-tests): Add wcscspn.
20984 * benchtests/bench-strcspn.c: Add wcscspn support.
20985 * benchtests/bench-wcscspn.c: New File.
20986 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20987
20988 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20989 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20990 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20991 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20992 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20993 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20994 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20995 wcspbrk functions.
20996 * sysdeps/s390/multiarch/ifunc-impl-list.c
20997 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20998 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20999 * string/test-strpbrk.c: Add wcspbrk support.
21000 * wcsmbs/test-wcspbrk.c: New File.
21001 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21002 * benchtests/bench-strpbrk.c: Add wcspbrk support.
21003 * benchtests/bench-wcspbrk.c: New File.
21004 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21005
21006 * sysdeps/s390/multiarch/strspn-c.c: New File.
21007 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21008 * sysdeps/s390/multiarch/strspn.c: Likewise.
21009 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21010 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21011 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21012 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21013 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21014 wcsspn functions.
21015 * sysdeps/s390/multiarch/ifunc-impl-list.c
21016 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21017 * string/test-strspn.c: Add wcsspn support.
21018 * wcsmbs/test-wcsspn.c: New File.
21019 * wcsmbs/Makefile (strop-tests): Add wcsspn.
21020 * benchtests/bench-strspn.c: Add wcsspn support.
21021 * benchtests/bench-wcsspn.c: New File.
21022 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21023
21024 * sysdeps/s390/multiarch/strrchr-c.c: New File.
21025 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21026 * sysdeps/s390/multiarch/strrchr.c: Likewise.
21027 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21028 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21029 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21030 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21031 wcsrchr functions.
21032 * sysdeps/s390/multiarch/ifunc-impl-list.c
21033 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21034 * benchtests/bench-wcsrchr.c: New File.
21035 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21036
21037 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21038 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21039 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21040 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21041 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21042 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21043 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21044 wcschrnul functions.
21045 * sysdeps/s390/multiarch/ifunc-impl-list.c
21046 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21047 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21048 * string/test-strchr.c: Add wcschrnul support.
21049 * wcsmbs/test-wcschrnul.c: New File.
21050 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21051 * benchtests/bench-strchr.c: Add wcschrnul support.
21052 * benchtests/bench-wcschrnul.c: New File.
21053 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21054
21055 * sysdeps/s390/multiarch/strchr-c.c: New File.
21056 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21057 * sysdeps/s390/multiarch/strchr.c: Likewise.
21058 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21059 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21060 * sysdeps/s390/multiarch/wcschr.c: Likewise.
21061 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21062 wcschr functions.
21063 * sysdeps/s390/multiarch/ifunc-impl-list.c
21064 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21065 * string/strchr.c (STRCHR): Define and use macro.
21066 * benchtests/bench-wcschr.c: New File.
21067 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21068
21069 * sysdeps/s390/multiarch/strncmp-c.c: New File.
21070 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21071 * sysdeps/s390/multiarch/strncmp.c: Likewise.
21072 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21073 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21074 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21075 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21076 wcsncmp functions.
21077 * sysdeps/s390/multiarch/ifunc-impl-list.c
21078 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21079 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21080 * benchtests/bench-strncmp.c: Add wcsncmp support.
21081 * benchtests/bench-wcsncmp.c: New File.
21082 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21083
21084 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21085 * sysdeps/s390/multiarch/strcmp.c: Likewise.
21086 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21087 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21088 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21089 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21090 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21091 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21092 wcscmp functions.
21093 * sysdeps/s390/multiarch/ifunc-impl-list.c
21094 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21095 * string/strcmp.c (STRCMP): Define and use macro.
21096 * benchtests/bench-wcscmp.c: New File.
21097 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21098 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21099 instead of _HAVE_STRING_ARCH_memchr.
21100
21101 * sysdeps/s390/multiarch/strncat-c.c: New File.
21102 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21103 * sysdeps/s390/multiarch/strncat.c: Likewise.
21104 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21105 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21106 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21107 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21108 wcsncat functions.
21109 * sysdeps/s390/multiarch/ifunc-impl-list.c
21110 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21111 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21112 * string/test-strncat.c: Add wcsncat support.
21113 * wcsmbs/test-wcsncat.c: New File.
21114 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21115 * benchtests/bench-strncat.c: Add wcsncat support.
21116 * benchtests/bench-wcsncat.c: New File.
21117 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21118
21119 * sysdeps/s390/multiarch/strcat-c.c: New File.
21120 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21121 * sysdeps/s390/multiarch/strcat.c: Likewise.
21122 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21123 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21124 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21125 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21126 wcscat functions.
21127 * sysdeps/s390/multiarch/ifunc-impl-list.c
21128 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21129 * string/strcat.c (STRCAT): Define and use macro.
21130 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21131 * string/test-strcat.c: Add wcscat support.
21132 * wcsmbs/test-wcscat.c: New File.
21133 * wcsmbs/Makefile (strop-tests): Add wcscat.
21134 * benchtests/bench-strcat.c: Add wcscat support.
21135 * benchtests/bench-wcscat.c: New File.
21136 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21137
21138 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21139 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21140 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21141 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21142 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21143 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21144 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21145 wcpncpy functions.
21146 * sysdeps/s390/multiarch/ifunc-impl-list.c
21147 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21148 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21149 * string/test-stpncpy.c: Add wcpncpy support.
21150 * wcsmbs/test-wcpncpy.c: New File.
21151 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21152 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21153 * benchtests/bench-wcpncpy.c: New File.
21154 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21155
21156 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21157 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21158 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21159 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21160 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21161 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21162 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21163 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21164 wcsncpy functions.
21165 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21166 * sysdeps/s390/multiarch/ifunc-impl-list.c
21167 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21168 * string/test-strncpy.c: Add wcsncpy support.
21169 * wcsmbs/test-wcsncpy.c: New File.
21170 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21171 * benchtests/bench-strncpy.c: Add wcsncpy support.
21172 * benchtests/bench-wcsncpy.c: New File.
21173 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21174
21175 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21176 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21177 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21178 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21179 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21180 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21181 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21182 wcpcpy functions.
21183 * string/stpcpy.c: Use STPCPY if defined.
21184 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21185 * sysdeps/s390/multiarch/ifunc-impl-list.c
21186 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21187 * string/test-stpcpy.c: Add wcpcpy support.
21188 * wcsmbs/test-wcpcpy.c: New File.
21189 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21190 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21191 * benchtests/bench-wcpcpy.c: New File.
21192 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21193
21194 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21195 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21196 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21197 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21198 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21199 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21200 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21201 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21202 wcscpy functions.
21203 * sysdeps/s390/multiarch/ifunc-impl-list.c
21204 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21205 * benchtests/bench-wcscpy.c: New File.
21206 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21207
21208 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21209 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21210 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21211 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21212 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21213 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21214 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21215 wcsnlen functions.
21216 * sysdeps/s390/multiarch/ifunc-impl-list.c
21217 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21218 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21219 * string/test-strnlen.c: Add wcsnlen support.
21220 * wcsmbs/test-wcsnlen.c: New File.
21221 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21222 * benchtests/bench-strnlen.c: Add wcsnlen support.
21223 * benchtests/bench-wcsnlen.c: New File.
21224 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21225
21226 * sysdeps/s390/multiarch/Makefile: New File.
21227 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21228 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21229 * sysdeps/s390/multiarch/strlen.c: Likewise.
21230 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21231 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21232 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21233 * string/strlen.c (STRLEN): Define and use macro.
21234 * sysdeps/s390/multiarch/ifunc-impl-list.c
21235 (IFUNC_VX_IMPL): New macro function.
21236 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21237 * benchtests/Makefile (wcsmbs-bench): New variable.
21238 (string-bench-all): Added wcsmbs-bench.
21239 * benchtests/bench-wcslen.c: New File.
21240
21241 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21242 s390_vx_libc_ifunc2): New macro function.
21243
21244 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21245 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21246 assembler support.
21247 * sysdeps/s390/configure: Regenerated.
21248
21249 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21250 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21251
21252 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21253 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21254 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21255
21256 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21257 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21258 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21259 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21260 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21261 (memcmp, bcmp): Use __memcmp_default as alias source.
21262 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21263 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21264 Rename to __memcmp_default.
21265 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21266 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21267 (memcpy): Use __memcpy_default as alias source.
21268 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21269 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21270 Rename to __memcpy_default.
21271 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21272 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21273 (memset): Use __memset_default as alias source.
21274 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21275 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21276 Rename to __memset_default.
21277 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21278 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21279 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21280 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21281 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21282 (memcmp, bcmp): Use __memcmp_default as alias source.
21283 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21284 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21285 Rename to __memcmp_default.
21286 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21287 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21288 (memcpy): Use __memcpy_default as alias source.
21289 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21290 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21291 Rename to __memcpy_default.
21292 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21293 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21294 (memset): Use __memset_default as alias source.
21295 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21296 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21297 Rename to __memset_default.
21298 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21299 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21300
21301 [BZ #18610]
21302 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21303 __ieee_instruction_pointer to __unused.
21304 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21305 __ieee_instruction_pointer.
21306 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21307 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21308 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21309 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21310 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21311 Mark dxc-field as reserved.
21312
21313 2015-08-25 Roland McGrath <roland@hack.frob.com>
21314
21315 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21316 if the weak reference is not null.
21317
21318 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21319
21320 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21321
21322 [BZ #11214]
21323 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21324
21325 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21326
21327 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21328 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21329 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21330 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21331 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21332 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21333 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21334 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21335 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21336 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21337 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21338 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21339 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21340 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21341 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21342 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21343 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21344 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21345
21346 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21347
21348 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21349 register other than r0 for tabort, it has special meaning.
21350 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21351 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21352 transaction before starting syscall.
21353
21354 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21355
21356 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21357
21358 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21359
21360 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21361
21362 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21363 * sysdeps/x86_64/rtld-memset.S: Likewise.
21364 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21365 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21366 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21367 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21368
21369 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21370
21371 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21372
21373 * debug/strcpy_chk.c: Improve performance.
21374 * debug/stpcpy_chk.c: Likewise.
21375 * sysdeps/x86_64/strcpy_chk.S: Remove.
21376 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21377
21378 [BZ #18240]
21379 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21380
21381 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21382
21383 [BZ #15128]
21384 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21385 ifuncmain8.
21386 (modules-names): Add ifuncmod8.
21387 ($(objpfx)ifuncmain8): New rule.
21388 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21389 <cpuid.h>.
21390 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21391 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21392 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21393 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21394 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21395 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21396 * sysdeps/x86_64/ifuncmain8.c: New file.
21397 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21398 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21399 Removed.
21400 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21401 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21402 Change rtld_savespace_sse to __glibc_unused2.
21403 (RTLD_CHECK_FOREIGN_CALL): Removed.
21404 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21405 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21406 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21407
21408 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21409
21410 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21411
21412 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21413
21414 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21415 Unconditionally set __fpcr to avoid uninialized warning.
21416 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21417
21418 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21419
21420 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21421 is corrupt.
21422
21423 * malloc/arena.c (arena_get2): Drop unused argument.
21424 (arena_lock): Adjust.
21425 (arena_get_retry): Likewise.
21426
21427 2015-08-24 Andreas Schwab <schwab@suse.de>
21428
21429 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21430 Don't define.
21431 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21432 (__ASSUME_IPC64): Don't undef.
21433 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21434 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21435 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21436 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21437 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21438 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21439 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21440 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21441 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21442 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21443 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21444 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21445 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21446 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21447 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21448 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21449 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21450 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21451 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21452 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21453 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21454
21455 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21456
21457 * manual/Makefile (install): Only build manual when perl is available.
21458
21459 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21460
21461 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21462 '#undef memcpy' by '#undef memchr'.
21463
21464 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21465
21466 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21467 memchr not point to the internal __GI_memchr implementation.
21468
21469 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21470
21471 * timezone/Makefile (CFLAGS-zdump.c): Remove
21472 -Wno-strict-prototypes.
21473 (CFLAGS-zic.c): Likewise.
21474 (CFLAGS-ialloc.c): Likewise.
21475 (CFLAGS-scheck.c): Likewise.
21476
21477 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21478 -Wno-error=undef.
21479
21480 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21481
21482 * i386/i686/multiarch/strcasestr-c.c: Removed.
21483 * x86_64/multiarch/strcasestr.c: Likewise.
21484 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21485 Remove strcasestr.
21486
21487 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21488
21489 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21490
21491 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21492 variables for high and low parts before possibly modifying them.
21493
21494 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21495
21496 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21497 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21498 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21499 of "multiarch/init-arch.h".
21500 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21501 * sysdeps/x86/init-arch.h: This.
21502
21503 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21506 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21507
21508 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21509
21510 [BZ #17787]
21511 * manual/macros.texi: Add twoexp macro.
21512 * manual/filesys.texi: Fix exponents.
21513 * manual/llio.texi: Likewise.
21514 * manual/stdio.texi: Likewise.
21515
21516 2015-08-20 Florian Weimer <fweimer@redhat.com>
21517
21518 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21519 incorrect use.
21520
21521 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21522
21523 [BZ #18370]
21524 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21525 whose real or imaginary part has small absolute value.
21526 * math/s_csqrtf.c (__csqrtf): Likewise.
21527 * math/s_csqrtl.c (__csqrtl): Likewise.
21528 * math/auto-libm-test-in: Add more tests of csqrt.
21529 * math/auto-libm-test-out: Regenerated.
21530 * sysdeps/i386/fpu/libm-test-ulps: Update.
21531
21532 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21533
21534 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21535 __ppc_set_ppr_very_low): New functions.
21536 * manual/platform.texi: Add documentation about
21537 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21538
21539 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21540
21541 * string/stpncpy.c (stpncpy): Improve performance using
21542 __strnlen/memcpy/memset.
21543
21544 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21545
21546 [BZ #18796]
21547 * scripts/test-installation.pl: Don't add -lmvec to build options if
21548 libmvec wasn't built.
21549
21550 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21551
21552 [BZ #14341]
21553 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21554 case when there is a gap between DT_REL and DT_JMPREL sections.
21555 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21556 (LDFLAGS-tst-split-dynreloc): New.
21557 (tst-split-dynreloc-ENV): Likewise.
21558 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21559 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21560
21561 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21562
21563 [BZ #18822]
21564 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21565 attribute_hidden.
21566 (__xstat64_conv): Likewise.
21567 (__xstat32_conv): Likewise.
21568
21569 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21570
21571 [BZ #18822]
21572 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21573 Don't load %ebx when calling __setcontext. Call __setcontext
21574 with HIDDEN_JUMPTARGET.
21575 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21576 libc_hidden_def.
21577
21578 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/i386/i686/Makefile
21581 [$(subdir) == string] (sysdep_routines): Moved to ...
21582 * sysdeps/i386/Makefile: Here.
21583 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21584 * sysdeps/i386/cacheinfo.c: Here.
21585 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21586 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21587 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21588 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21589
21590 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21593 __i586__ is defined.
21594 (HAS_I686): Defined to 1 if __i686__ is defined.
21595
21596 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21597
21598 * elf/Makefile [$(have-z-execstack) = yes]
21599 (CPPFLAGS-tst-execstack.c): New variable.
21600
21601 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21602 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21603 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21604 UTMPX || _HAVE_UT_TV].
21605 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21606 UTMPX || _HAVE_UT_TV - 0].
21607
21608 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21609
21610 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21611 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21612 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21613
21614 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21615
21616 * sysdeps/powerpc/dl-procinfo.c:
21617 (_dl_powerpc_cap_flags): Added missing strings for some
21618 hwcap features.
21619 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21620
21621 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21622
21623 Port the 0x7efe...feff pattern to GCC 6.
21624 See Steve Ellcey's bug report in:
21625 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21626 * string/memrchr.c (MEMRCHR):
21627 * string/rawmemchr.c (RAWMEMCHR):
21628 * string/strchr.c (strchr):
21629 * string/strchrnul.c (STRCHRNUL):
21630 Rewrite code to avoid issues with signed shift overflow.
21631
21632 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21635 whether cpuid is available only if HAS_CPUID is 0.
21636 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21637 (HAS_I586): Likewise.
21638 (HAS_I686): Likewise.
21639
21640 2015-08-18 Zack Weinberg <zackw@panix.com>
21641
21642 * misc/Versions (libc): Add GLIBC_2.23.
21643
21644 2015-08-18 Alan Modra <amodra@gmail.com>
21645
21646 [BZ #18421]
21647 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21648 .Lp__global.
21649 (_start): Load %dp via .Lp__global.
21650 [!SHARED]: Use .section .rodata.
21651
21652 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21653
21654 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21655 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21656
21657 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21658
21659 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21660 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21661
21662 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21663
21664 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21665 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21666
21667 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21668
21669 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21670 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21671
21672 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21673
21674 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21675 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21676
21677 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21678
21679 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21680 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21681
21682 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21683
21684 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21685
21686 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21687
21688 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21689 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21690 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21691 (__ASSUME_LWS_CAS): Delete.
21692
21693 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21694
21695 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21696 * sysdeps/hppa/configure: Regenerated.
21697 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21698 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21699 * sysdeps/hppa/nptl/tls.h: Likewise.
21700
21701 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21702
21703 [BZ #18823]
21704 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21705 for scaling up small arguments.
21706 * math/s_csqrtf.c (__csqrtf): Likewise.
21707 * math/s_csqrtl.c (__csqrtl): Likewise.
21708 * math/auto-libm-test-in: Add more tests of csqrt.
21709 * math/auto-libm-test-out: Regenerated.
21710
21711 2015-08-17 Andreas Schwab <schwab@suse.de>
21712
21713 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21714 version set GLIBC_2.19.
21715
21716 2015-08-16 Zack Weinberg <zackw@panix.com>
21717
21718 [BZ #18681]
21719 * misc/regexp.h: This interface is no longer supported.
21720 Remove all contents, leaving only an #error directive.
21721 * misc/regexp.c (loc1, loc2, locs, step, advance):
21722 Demote to compatibility symbols.
21723
21724 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21725
21726 [BZ #18084]
21727 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21728 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21729 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21730 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21731 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21732 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21733 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21734 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21735 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21736
21737 2015-08-15 Zack Weinberg <zackw@panix.com>
21738
21739 [BZ #18795]
21740 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21741 buffer length is known to be too large, not if it's known to be
21742 small enough.
21743 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21744 overflow at runtime, involving a length parameter, twice: once
21745 with a compile-time constant length parameter, once without.
21746
21747 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21748
21749 [BZ #18824]
21750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21751 scaling x * y up instead of down.
21752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21753 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21754 * math/auto-libm-test-in: Add more tests of fma.
21755 * math/auto-libm-test-out: Regenerated.
21756
21757 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21758
21759 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21760
21761 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21762
21763 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21764 unnecessary movq.
21765 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21766 Likewise.
21767
21768 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21769
21770 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21771 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21772 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21773 and tgamma.
21774 * math/auto-libm-test-out: Regenerated.
21775 * sysdeps/i386/fpu/libm-test-ulps: Update.
21776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21777
21778 [BZ #16520]
21779 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21780 (__tanh): Force underflow exception for arguments with small
21781 absolute value.
21782 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21783 (__tanhf): Force underflow exception for arguments with small
21784 absolute value.
21785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21786 (__tanhl): Force underflow exception for arguments with small
21787 absolute value.
21788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21789 (__tanhl): Force underflow exception for arguments with small
21790 absolute value.
21791 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21792 (__tanhl): Force underflow exception for arguments with small
21793 absolute value.
21794 * math/auto-libm-test-in: Add more tests of tanh.
21795 * math/auto-libm-test-out: Regenerated.
21796 * sysdeps/i386/fpu/libm-test-ulps: Update.
21797
21798 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21799
21800 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21801 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21802
21803 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21804
21805 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21806 <cpuid.h>.
21807
21808 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21809
21810 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21811 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21812
21813 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21814
21815 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21816 Remove $(objpfx)init-arch.o.
21817 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21818 init-arch.
21819 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21820 (INIT_ARCH_EXT): Defined as empty.
21821 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21822 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21823 __init_cpu_features call. Replace HAS_XXX with
21824 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21825 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21826 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21827 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21831 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21834 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21835 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21856 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21860
21861 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21864 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21865 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21866 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21867 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21868 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21869 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21870 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21871 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21872 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21873 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21874 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21875 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21876 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21877 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21878 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21879 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21880 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21881 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21882 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21883 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21884 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21885 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21886 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21887 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21888 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21890 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21891 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21893 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21898 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21906
21907 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21910 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21911 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21912 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21913 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21914 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21915 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21916 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21917 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21920 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21921 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21922 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21923 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21924 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21925 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21926 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21927 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21928 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21929 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21930 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21931 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21932 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21933 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21934 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21935 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21936 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21937 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21938 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21939 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21940 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21941 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21942 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21943 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21944 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21945 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21947 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21948 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21949 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21950 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21951 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21952
21953 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21954
21955 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21956 (dl_platform_init): Call init_cpu_features.
21957 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21958 * sysdeps/i386/i686/cacheinfo.c
21959 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21960 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21961 * sysdeps/i386/i686/multiarch/Versions: Removed.
21962 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21963 Removed.
21964 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21965 * sysdeps/unix/sysv/linux/x86/Makefile
21966 (libpthread-sysdep_routines): Remove init-arch.
21967 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21968 <sysdeps/x86_64/dl-procinfo.c> instead of
21969 sysdeps/generic/dl-procinfo.c>.
21970 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21971 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21972 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21973 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21974 [$(subdir) == elf] (tests-static): Add
21975 tst-get-cpu-features-static.
21976 * sysdeps/x86/Versions: New file.
21977 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21978 * sysdeps/x86/cpu-features.c: Likewise.
21979 * sysdeps/x86/cpu-features.h: Likewise.
21980 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21981 * sysdeps/x86/libc-start.c: Likewise.
21982 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21983 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21984 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21985 * sysdeps/x86_64/dl-procinfo.c: Likewise.
21986 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21987 Assume USE_MULTIARCH is defined and don't check it.
21988 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21989 (is_amd): Likewise.
21990 (max_cpuid): Likewise.
21991 (intel_check_word): Likewise.
21992 (__cache_sysconf): Don't call __init_cpu_features.
21993 (__x86_preferred_memory_instruction): Removed.
21994 (init_cacheinfo): Don't call __init_cpu_features. Replace
21995 __cpu_features with GLRO(dl_x86_cpu_features).
21996 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21997 (dl_platform_init): Call init_cpu_features.
21998 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21999 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22000 * sysdeps/x86_64/multiarch/Versions: Removed.
22001 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22002 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22003 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22004 Removed.
22005 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22006
22007 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22008
22009 [BZ #18820]
22010 * libio/Makefile (test-fmemopen-mem): New test.
22011 * libio/test-fmemopen.c (do_bz18820): New test.
22012 * libio/fmemopen.c (__fmemopen): Fix memory leak.
22013 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22014
22015 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
22016
22017 [BZ #16734]
22018 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22019 (FREE_BUF): Delete.
22020 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22021 * libio/genops.c (_IO_setb): Use malloc and free directly.
22022 (_IO_default_doallocate, _IO_default_finish): Likewise.
22023 ( _IO_unbuffer_all): Likewise.
22024 ( libc_freeres_fn): Likewise.
22025 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22026 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22027 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22028 (_IO_wdefault_doallocate): Likewise.
22029
22030 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22031
22032 [BZ #18086]
22033 * sysdeps/posix/nice.c (nice): Restore old errno.
22034 * posix/tst-nice.c (do_test): Add test for BZ #18086.
22035
22036 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
22037
22038 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22039
22040 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22041
22042 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22043 __bcopy and add a weak_alias to bcopy.
22044 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22045 for static build.
22046
22047 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22048 cleanup macro usage.
22049 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22050 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22051 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22052 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22053 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22054 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22055 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22056 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22057 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22058 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22060 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22061 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22062 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22063 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22064 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22065 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22066 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22067 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22068
22069 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22070 libc_hidden_def.
22071 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22072
22073 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22074 (sysdep_routines): Add strstr-ppc64.
22075 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22076
22077 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
22078
22079 [BZ #18778]
22080 * elf/Makefile (tests): Add Add tst-nodelete2.
22081 (modules-names): Add tst-nodelete2mod.
22082 (tst-nodelete2mod.so-no-z-defs): New.
22083 ($(objpfx)tst-nodelete2): Likewise.
22084 ($(objpfx)tst-nodelete2.out): Likewise.
22085 (LDFLAGS-tst-nodelete2): Likewise.
22086 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22087 out of loop through all loaded libraries.
22088 * elf/tst-nodelete2.c: New file.
22089 * elf/tst-nodelete2mod.c: Likewise.
22090 * elf/tst-znodelete-zlib.cc: Delete.
22091
22092 2015-08-11 Andreas Schwab <schwab@suse.de>
22093
22094 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22095 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22096 (__openat64_nocancel): Likewise.
22097
22098 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22099
22100 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22101 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22102 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22103 * math/auto-libm-test-out: Regenerated.
22104 * sysdeps/i386/fpu/libm-test-ulps: Update.
22105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22106
22107 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22108
22109 [BZ #18790]
22110 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22111 threshold for returning +/- 1.
22112 * math/auto-libm-test-in: Add more tests of tanh.
22113 * math/auto-libm-test-out: Regenerated.
22114 * sysdeps/i386/fpu/libm-test-ulps: Update.
22115
22116 2015-08-10 Andreas Schwab <schwab@suse.de>
22117
22118 [BZ #18781]
22119 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22120 MORE_OFLAGS to oflag.
22121 * io/test-lfs.c (do_test): Test openat64.
22122
22123 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22124
22125 [BZ #18789]
22126 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22127 smaller threshold for returning the argument.
22128 * math/auto-libm-test-in: Add more tests of sinh.
22129 * math/auto-libm-test-out: Regenerated.
22130 * sysdeps/i386/fpu/libm-test-ulps: Update.
22131
22132 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22133
22134 [BZ #18674]
22135 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22136 break.
22137
22138 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22139
22140 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22141 (generated): Don't add $(addprefix z.,$(tzfiles)).
22142
22143 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22144
22145 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22146 * scripts/sysd-rules.awk: Likewise.
22147
22148 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22149
22150 * iconvdata/tst-tables.sh: Change echo -n to printf.
22151 * nss/db-Makefile: Likewise.
22152 * posix/tst-getconf.sh: Likewise.
22153 * stdio-common/tst-unbputc.sh: Likewise.
22154
22155 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22156
22157 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22158 MADV_*_PAGES defines behind this feature check.
22159
22160 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22161
22162 [BZ #18480]
22163 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22164 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22165 Define.
22166 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22167 LOAD_REGS_5, LOAD_REGS_6): Update.
22168 (INTERNAL_SYSCALL): Update using new LOAD defines.
22169 (INTERNAL_SYSCALL_NCS): Likewise.
22170 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22171
22172 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22173
22174 [BZ #16734]
22175 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22176
22177 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22178
22179 [BZ #17905]
22180 * catgets/Makefile (tst-catgets-mem): New test.
22181 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22182 * catgets/open_catalog.c (__open_catalog): Likewise.
22183 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22184
22185 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22186
22187 [BZ #18787]
22188 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22189 clobber registers.
22190 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22191 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22192 Cast return to __typeof (oldval).
22193
22194 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22195
22196 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22197 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22198 and delete sys/syscall.h include.
22199
22200 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22201
22202 [BZ #16517]
22203 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22204 (tan): Force underflow exception for arguments with small absolute
22205 value.
22206 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22207 (__kernel_tanf): Force underflow exception for arguments with
22208 small absolute value.
22209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22210 (__kernel_tanl): Force underflow exception for arguments with
22211 small absolute value.
22212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22213 (__kernel_tanl): Force underflow exception for arguments with
22214 small absolute value.
22215 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22216 (__kernel_tanl): Force underflow exception for arguments with
22217 small absolute value.
22218 * math/auto-libm-test-in: Add more tests of tan.
22219 * math/auto-libm-test-out: Regenerated.
22220
22221 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22222
22223 Fix sysdeps/i386/fpu/s_scalbn.S build
22224
22225 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22226
22227 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22228
22229 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22230
22231 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22232
22233 Fix gcrt0.o compilation
22234
22235 When static-start-installed-name is different from
22236 start-installed-name, we must not use the shared objects.
22237
22238 * csu/Makefile
22239 (extra-objs): Add gmon-start.o when building shared library and
22240 $(static-start-installed-name) is different from
22241 $(start-installed-name).
22242 $(objpfx)g$(static-start-installed-name): When building shared
22243 library and $(static-start-installed-name) is different from
22244 $(static-start-installed-name), revert to non-shared rule,
22245 i.e. using $(objpfx)% and gmon-start.o.
22246
22247 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22248
22249 [BZ #16519]
22250 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22251 (__ieee754_sinh): Force underflow exception for arguments with
22252 small absolute value.
22253 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22254 (__ieee754_sinhf): Force underflow exception for arguments with
22255 small absolute value.
22256 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22257 (__ieee754_sinhl): Force underflow exception for arguments with
22258 small absolute value.
22259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22260 (__ieee754_sinhl): Force underflow exception for arguments with
22261 small absolute value.
22262 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22263 (__ieee754_sinhl): Force underflow exception for arguments with
22264 small absolute value.
22265 * math/auto-libm-test-in: Add more tests of sinh.
22266 * math/auto-libm-test-out: Regenerated.
22267 * sysdeps/i386/fpu/libm-test-ulps: Update.
22268
22269 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22270
22271 * libio/oldfileops.c: Include unistd.h.
22272
22273 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22274
22275 * stdlib/isomac.c: Include ctype.h.
22276
22277 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22278
22279 * dirent/tst-seekdir.c (main): Converted to ...
22280 (do_test): ... this.
22281 (TEST_FUNCTION): New macro.
22282 Include test-skeleton.c.
22283 * elf/tst-dlmodcount.c (main): Converted to ...
22284 (do_test): ... this.
22285 (TEST_FUNCTION): New macro.
22286 Include test-skeleton.c.
22287 * elf/tst-order-main.c (main): Converted to ...
22288 (do_test): ... this.
22289 (TEST_FUNCTION): New macro.
22290 Include test-skeleton.c.
22291 * elf/tst-pie2.c (main): Converted to ...
22292 (do_test): ... this.
22293 (TEST_FUNCTION): New macro.
22294 Include test-skeleton.c.
22295 * inet/tst-ether_aton.c (main): Converted to ...
22296 (do_test): ... this.
22297 (TEST_FUNCTION): New macro.
22298 Include test-skeleton.c.
22299 * misc/tst-mntent.c (main): Converted to ...
22300 (do_test): ... this.
22301 (TEST_FUNCTION): New macro.
22302 Include test-skeleton.c.
22303 * misc/tst-tsearch.c (main): Converted to ...
22304 (do_test): ... this.
22305 (TEST_FUNCTION): New macro.
22306 Include test-skeleton.c.
22307 * posix/tst-regexloc.c (main): Converted to ...
22308 (do_test): ... this.
22309 (TEST_FUNCTION): New macro.
22310 Include test-skeleton.c.
22311 * resolv/tst-aton.c (main): Converted to ...
22312 (do_test): ... this.
22313 (TEST_FUNCTION): New macro.
22314 Include test-skeleton.c.
22315 * stdio-common/test-fwrite.c (main): Converted to ...
22316 (do_test): ... this.
22317 (TEST_FUNCTION): New macro.
22318 Include test-skeleton.c.
22319 * stdio-common/tst-ferror.c (main): Converted to ...
22320 (do_test): ... this.
22321 (TEST_FUNCTION): New macro.
22322 Include test-skeleton.c.
22323 * stdio-common/tst-printf.c (main): Converted to ...
22324 (do_test): ... this.
22325 (TEST_FUNCTION): New macro.
22326 Include test-skeleton.c.
22327 * stdio-common/tst-printfsz.c (main): Converted to ...
22328 (do_test): ... this.
22329 (TEST_FUNCTION): New macro.
22330 Include test-skeleton.c.
22331 * stdlib/tst-strtod.c (main): Converted to ...
22332 (do_test): ... this.
22333 (TEST_FUNCTION): New macro.
22334 Include test-skeleton.c.
22335 * string/tst-strlen.c (main): Converted to ...
22336 (do_test): ... this.
22337 (TEST_FUNCTION): New macro.
22338 Include test-skeleton.c.
22339 * string/tst-svc.c (main): Converted to ...
22340 (do_test): ... this.
22341 (TEST_FUNCTION): New macro.
22342 Include test-skeleton.c.
22343 * time/tst-strptime.c (main): Converted to ...
22344 (do_test): ... this.
22345 (TEST_FUNCTION): New macro.
22346 Include test-skeleton.c.
22347 * timezone/tst-timezone.c (main): Converted to ...
22348 (do_test): ... this.
22349 (TEST_FUNCTION): New macro.
22350 Include test-skeleton.c.
22351
22352 2015-08-05 Zack Weinberg <zackw@panix.com>
22353
22354 * misc/regexp.h: Update comments.
22355
22356 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22357
22358 [BZ #18635]
22359 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22360 before return label.
22361
22362 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22363
22364 [BZ #18661]
22365 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22366 when calling __errno_location.
22367 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22368 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22369
22370 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22371
22372 [BZ #18661]
22373 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22374 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22375 __gettimeofday.
22376
22377 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 [BZ #18661]
22380 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22381 (__start_context): Don't use pop to restore %rdi so that stack
22382 is aligned to 16 bytes when calling __setcontext.
22383
22384 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22385
22386 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22387 only for libc.
22388 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22389
22390 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22391
22392 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22393 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22394 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22395
22396 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22397
22398 * string/memccpy.c (memccpy):
22399 Improve performance by using memchr/memcpy/__mempcpy.
22400
22401 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22402
22403 * string/strncpy.c (strncpy):
22404 Improve performance by using __strnlen/memcpy.
22405
22406 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22407
22408 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22409 Optimize to avoid an unnecessary FPCR read.
22410
22411 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22412
22413 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22414 Optimize to reduce FPCR/FPSR accesses.
22415
22416 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22417
22418 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22419 dead->data[category] != NULL.
22420
22421 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #18647]
22424 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22425 and |x| close to 1, use absolute value of x when computing log.
22426 * math/auto-libm-test-in: Add more tests of pow.
22427 * math/auto-libm-test-out: Regenerated.
22428
22429 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22430
22431 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22432 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22433 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22434
22435 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22436
22437 [BZ #18525]
22438 * locales/km_KH: Remove timezone definition.
22439 * locales/lo_LA: Likewise.
22440 * locales/my_MM: Likewise.
22441 * locales/nan_TW@latin: Likewise.
22442 * locales/th_TH: Likewise.
22443 * locales/uk_UA: Likewise.
22444
22445 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22446
22447 [BZ #18265]
22448 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22449 (wcsncat): Likewise.
22450 (wcscmp): Likewise.
22451 (wcsncmp): Likewise.
22452
22453 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22454
22455 * test-skeleton.c (usage): New function.
22456 (main): Call usage when opt is '?'.
22457
22458 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22459
22460 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22461 before first use.
22462
22463 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22464
22465 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22466 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22467 in there too.
22468
22469 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22470
22471 * version.h (RELEASE): Set to "development".
22472 (VERSION): Set to "2.22.90"
22473
22474 * version.h (RELEASE): Set to "stable".
22475 (VERSION): Set to "2.22"
22476 * include/features.h (__GLIBC_MINOR__): Set to 22.
22477
22478 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22479
22480 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22481 Restructure macro to avoid "value computed is not used" warning.
22482 (atomic_compare_and_exchange_val_acq): Likewise.
22483
22484 2015-08-04 Andreas Schwab <schwab@suse.de>
22485
22486 [BZ #18635]
22487 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22488 ret.
22489 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22490
22491 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22492
22493 * po/pl.po: Updated translation.
22494 * po/uk.po: Likewise.
22495 * po/fi.po: Likewise.
22496 * po/ko.po: Likewise.
22497 * po/ru.po: Likewise.
22498 * po/vi.po: Likewise.
22499
22500 2015-07-31 Zack Weinberg <zackw@panix.com>
22501
22502 [BZ #18681]
22503 * regexp.h: Add unconditional #warning stating that this header
22504 will be removed soon. Revise banner comment to match.
22505 (compile): Consistently use ERROR instead of RETURN to report
22506 errors (partial fix for bz#18681).
22507 * regexp.c: Don't include regexp.h. Remove some unnecessary
22508 declarations.
22509
22510 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22511
22512 * po/libc.pot: Regenerated.
22513
22514 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22515
22516 [BZ #18740]
22517 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22518 float-vlen4-arch-ext-cflags): Removed.
22519 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22520 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22521
22522 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22523
22524 [BZ #14113]
22525 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22526 aligned to __aligned__.
22527 (pthread_cond_t, pthread_rwlock_t): Likewise.
22528
22529 2015-07-30 Torvald Riegel <triegel@redhat.com>
22530
22531 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22532
22533 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22534
22535 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22536 (struct sigaction): Change sa_flags from a long to an int, and add
22537 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22538
22539 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22540
22541 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22542 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22543 sysdeps/generic/sysdep.h include.
22544 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22545 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22546 sysdeps/hppa/sysdep.h.
22547 (ENTRY, PSEUDO): Undefine before defining.
22548
22549 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22550
22551 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22552 from scratch to use INTERNAL_SYSCALL.
22553
22554 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22555
22556 [BZ #18078]
22557 * scripts/check-localplt.awk: Support alternate relocations.
22558 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22559 sections.
22560 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22561 malloc entries with + REL R_386_GLOB_DAT.
22562 * sysdeps/x86_64/localplt.data: New file.
22563
22564 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22565
22566 [BZ #18731]
22567 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22568 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22569 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22570
22571 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22572
22573 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22574
22575 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22576
22577 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22578 directly in terms of __sync_fetch_and_add and delete (int) cast.
22579
22580 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22581
22582 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22583 the -D_ASM_IA64_CURRENT_H flag.
22584
22585 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22586
22587 [BZ #18641]
22588 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22589
22590 2015-07-27 Andreas Schwab <schwab@suse.de>
22591
22592 * conform/conformtest.pl (checknamespace): Filter out string
22593 literals while tokenizing.
22594
22595 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22596
22597 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22598 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22599 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22600
22601 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22602
22603 * nptl/tst-join7mod.c: Add #include <string.h>.
22604
22605 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22606
22607 * sysdeps/nios2/libm-test-ulps: Update.
22608
22609 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22610
22611 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22612 Fix order of arguments to the rt_sigprocmask syscall.
22613 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22614 Likewise.
22615
22616 2015-07-24 Roland McGrath <roland@hack.frob.com>
22617
22618 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22619
22620 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22621
22622 [BZ #18457]
22623 * nptl/Makefile (tests): New test case tst-join7.
22624 (modules-names): New test case module tst-join7mod.
22625 * nptl/tst-join7.c: New file.
22626 * nptl/tst-join7mod.c: New file.
22627 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22628 all translation units in libc.so, libpthread.so and rtld.
22629
22630 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22631
22632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22633
22634 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22635
22636 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22637 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22638 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22639 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22640 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22641 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22642 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22643 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22644 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22645 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22646 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22647 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22648 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22649 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22650 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22651 implementation.
22652
22653 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22654
22655 [BZ #17711]
22656 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22657 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22658 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22659 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22660 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22661 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22662
22663 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22664
22665 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22666 instead of just saying load lock in the comments.
22667
22668 2015-07-23 Roland McGrath <roland@hack.frob.com>
22669
22670 * sysdeps/unix/Subdirs: Moved ...
22671 * sysdeps/posix/Subdirs: ... here.
22672 * login/pty.h (struct termios, struct winsize): Add forward decls.
22673 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22674 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22675 * sysdeps/arm/nacl/libc.abilist: Updated.
22676 * sysdeps/nacl/libutil.abilist: New file.
22677
22678 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22679 (SIGWINCH): New macro.
22680
22681 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22682 * sysdeps/arm/nacl/libc.abilist: Add it.
22683
22684 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22685
22686 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22687
22688 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22689
22690 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22691 Swap __glibc_reserved0 and sa_flags order.
22692
22693 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22694
22695 [BZ #18657]
22696 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22697 are pending TLS destructor calls.
22698 * include/link.h (struct link_map): Add concurrency note for
22699 L_TLS_DTOR_COUNT.
22700 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22701 Don't touch the link map flag. Atomically increment
22702 l_tls_dtor_count.
22703 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22704 Avoid taking the load lock and don't touch the link map flag.
22705 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22706 * stdlib/Makefile (tests): Use it.
22707 * stdlib/tst-tls-atexit.c (do_test): dlopen
22708 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22709 to allow tst-tls-atexit-nodelete test case to use it.
22710
22711 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22712
22713 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22714 to bits/types.h.
22715 (msgqnum_t): New typedef.
22716 (msglen_t): Likewise.
22717 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22718 and msg_qbytes type to msglen_t.
22719
22720 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22721
22722 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22723 pad0 to __glibc_reserved0.
22724 (struct stat64): Likewise.
22725
22726 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22727
22728 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22729 Change sa_flags from a long to an int and add __glibc_reserved0 before
22730 it for padding.
22731
22732 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22733
22734 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22735 anonymous by deleting "siginfo" name.
22736
22737 2015-07-21 Roland McGrath <roland@hack.frob.com>
22738
22739 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22740 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22741 rather than __nacl_irt_filename.
22742 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22743
22744 * NEWS: New item for arm-nacl port.
22745 * sysdeps/arm/nacl/libc.abilist: New file.
22746 * sysdeps/nacl/ld.abilist: New file.
22747 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22748 * sysdeps/nacl/libanl.abilist: New file.
22749 * sysdeps/nacl/libcrypt.abilist: New file.
22750 * sysdeps/nacl/libdl.abilist: New file.
22751 * sysdeps/nacl/libm.abilist: New file.
22752 * sysdeps/nacl/libpthread.abilist: New file.
22753 * sysdeps/nacl/libresolv.abilist: New file.
22754 * sysdeps/nacl/librt.abilist: New file.
22755
22756 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22757
22758 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22759 __startcontext to initialize the new context.
22760 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22761 up CFI directive to forbid further backtracing.
22762
22763 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22764
22765 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22766 reference.
22767 * charmaps/ANSI_X3.4-1968: Likewise.
22768 * charmaps/BS_4730: Likewise.
22769 * charmaps/BS_VIEWDATA: Likewise.
22770 * charmaps/CP1250: Likewise.
22771 * charmaps/CP1251: Likewise.
22772 * charmaps/CP1252: Likewise.
22773 * charmaps/CP1253: Likewise.
22774 * charmaps/CP1254: Likewise.
22775 * charmaps/CP1255: Likewise.
22776 * charmaps/CP1256: Likewise.
22777 * charmaps/CSN_369103: Likewise.
22778 * charmaps/EBCDIC-DK-NO: Likewise.
22779 * charmaps/GB_1988-80: Likewise.
22780 * charmaps/GREEK-CCITT: Likewise.
22781 * charmaps/GREEK7: Likewise.
22782 * charmaps/INIS-8: Likewise.
22783 * charmaps/ISIRI-3342: Likewise.
22784 * charmaps/ISO_2033-1983: Likewise.
22785 * charmaps/ISO_5427-EXT: Likewise.
22786 * locales/POSIX: Likewise.
22787 * locales/ar_SA: Likewise.
22788 * locales/be_BY: Likewise.
22789 * locales/be_BY@latin: Likewise.
22790 * locales/ca_ES: Likewise.
22791 * locales/cs_CZ: Likewise.
22792 * locales/da_DK: Likewise.
22793 * locales/de_BE: Likewise.
22794 * locales/de_CH: Likewise.
22795 * locales/de_LU: Likewise.
22796 * locales/en_AU: Likewise.
22797 * locales/en_BW: Likewise.
22798 * locales/en_CA: Likewise.
22799 * locales/en_DK: Likewise.
22800 * locales/en_GB: Likewise.
22801 * locales/en_IE: Likewise.
22802 * locales/en_NZ: Likewise.
22803 * locales/en_ZA: Likewise.
22804 * locales/en_ZW: Likewise.
22805 * locales/es_AR: Likewise.
22806 * locales/es_BO: Likewise.
22807 * locales/es_CL: Likewise.
22808 * locales/es_CO: Likewise.
22809 * locales/es_DO: Likewise.
22810 * locales/es_EC: Likewise.
22811 * locales/es_ES: Likewise.
22812 * locales/es_HN: Likewise.
22813 * locales/es_MX: Likewise.
22814 * locales/es_PA: Likewise.
22815 * locales/es_PE: Likewise.
22816 * locales/es_PY: Likewise.
22817 * locales/es_SV: Likewise.
22818 * locales/es_US: Likewise.
22819 * locales/es_UY: Likewise.
22820 * locales/es_VE: Likewise.
22821 * locales/et_EE: Likewise.
22822 * locales/fa_IR: Likewise.
22823 * locales/fo_FO: Likewise.
22824 * locales/fr_CA: Likewise.
22825 * locales/fr_CH: Likewise.
22826 * locales/gv_GB: Likewise.
22827 * locales/he_IL: Likewise.
22828 * locales/hr_HR: Likewise.
22829 * locales/id_ID: Likewise.
22830 * locales/is_IS: Likewise.
22831 * locales/it_CH: Likewise.
22832 * locales/iw_IL: Likewise.
22833 * locales/kl_GL: Likewise.
22834 * locales/ko_KR: Likewise.
22835 * locales/kw_GB: Likewise.
22836 * locales/lg_UG: Likewise.
22837 * locales/lt_LT: Likewise.
22838 * locales/lv_LV: Likewise.
22839 * locales/mi_NZ: Likewise.
22840 * locales/nhn_MX: Likewise.
22841 * locales/nl_BE: Likewise.
22842 * locales/pl_PL: Likewise.
22843 * locales/sk_SK: Likewise.
22844 * locales/sl_SI: Likewise.
22845 * locales/sv_FI: Likewise.
22846 * locales/tl_PH: Likewise.
22847 * locales/tr_TR: Likewise.
22848 * locales/vi_VN: Likewise.
22849
22850 2015-07-21 Khem Raj <raj.khem@gmail.com>
22851
22852 [BZ #17475]
22853 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22854 of tu_IN and bh_IN.
22855
22856 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22857
22858 [BZ #18694]
22859 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22860 bits/wordsize.h.
22861 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22862
22863 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22864
22865 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22866 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22867 (spawn_thread): New function.
22868 (load): Rename to reg_dtor_and_close. Move dlopen to...
22869 (do_test): ... here. Use IS_LOADED to test for its
22870 availability.
22871
22872 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22873
22874 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22875
22876 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 [BZ #18696]
22879 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22880 si_addr_bnd.
22881 (si_lower): New.
22882 (si_upper): Likewise.
22883
22884 2015-07-16 David S. Miller <davem@davemloft.net>
22885
22886 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22887
22888 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22889
22890 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22891 buffer.
22892 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22893 fail output information.
22894
22895 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22896
22897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22898 and strstr-ppc64..
22899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22900 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22901 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22902 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22903 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22904
22905 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22906
22907 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22908 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22909 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22910 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22911
22912 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22913
22914 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22915 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22916 rtld_hidden_proto.
22917 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22918
22919 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22920
22921 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22922 the test can fail.
22923
22924 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22925
22926 [BZ #18676]
22927 * elf/tst-nodelete-opened.c: New test case.
22928 * elf/tst-nodelete-opened-lib.c: New test case module.
22929 * elf/Makefile (tests, modules-names): Use them.
22930 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22931 early.
22932
22933 2015-07-15 David S. Miller <davem@davemloft.net>
22934
22935 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22936 futex-intenal.h
22937 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22938 * sysdeps/sparc/sparc64/Makefile: Likewise.
22939 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22940 Remove space from macro define.
22941 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22942
22943 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22944
22945 [BZ #17475]
22946 * locale/iso-639.def: Update Bhili and Tulu language codes as
22947 per iso639-3.
22948
22949 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22950
22951 * elf/tst-leaks1.c (main): Converted to ...
22952 (do_test): ... this.
22953 (TEST_FUNCTION): New macro.
22954 Include test-skeleton.c.
22955 * localedata/tst-langinfo.c (main): Converted to ...
22956 (do_test): ... this.
22957 (TEST_FUNCTION): New macro.
22958 Include test-skeleton.c.
22959 * math/test-fpucw.c (main): Converted to ...
22960 (do_test): ... this.
22961 (TEST_FUNCTION): New macro.
22962 Include test-skeleton.c.
22963 * math/test-tgmath.c (main): Converted to ...
22964 (do_test): ... this.
22965 (TEST_FUNCTION): New macro.
22966 Include test-skeleton.c.
22967 * math/test-tgmath2.c (main): Converted to ...
22968 (do_test): ... this.
22969 (TEST_FUNCTION): New macro.
22970 Include test-skeleton.c.
22971 * setjmp/tst-setjmp.c (main): Converted to ...
22972 (do_test): ... this.
22973 (TEST_FUNCTION): New macro.
22974 Include test-skeleton.c.
22975 * stdio-common/tst-sscanf.c (main): Converted to ...
22976 (do_test): ... this.
22977 (TEST_FUNCTION): New macro.
22978 Include test-skeleton.c.
22979 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22980 (do_test): ... this.
22981 (TEST_FUNCTION): New macro.
22982 Include test-skeleton.c.
22983
22984 * elf/tst-audit9.c (main): Converted to ...
22985 (do_test): ... this.
22986 (TEST_FUNCTION): New macro.
22987 Include test-skeleton.c.
22988
22989 2015-07-15 Mike Frysinger <vapier@gentoo.org>
22990
22991 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22992
22993 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22994
22995 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22996 New variable.
22997
22998 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22999
23000 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23001
23002 2015-07-14 Roland McGrath <roland@hack.frob.com>
23003
23004 * sysdeps/generic/dl-fileid.h: New file.
23005 * sysdeps/posix/dl-fileid.h: New file.
23006 * sysdeps/nacl/dl-fileid.h: New file.
23007 * include/link.h: Include <dl-fileid.h>.
23008 (struct link_map): Replace l_dev and l_ino with l_file_id.
23009 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23010 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
23011 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
23012
23013 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23014
23015 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23016
23017 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23018
23019 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23020 Add iff $CXX is set.
23021 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23022 Likewise.
23023 (tst-nodelete-zmodiff): Likewise.
23024 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23025
23026 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23027
23028 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23029
23030 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23031
23032 * sysdeps/aarch64/fpu/math_private.h
23033 (define math_opt_barrier): Add AArch64 version.
23034 (math_force_eval): Likewise.
23035
23036 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
23037
23038 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23039
23040 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
23041
23042 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23043 %ld with %jd and cast to intmax_t.
23044 (do_test_length_zero): Likewise.
23045
23046 2015-07-10 Roland McGrath <roland@hack.frob.com>
23047
23048 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23049
23050 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
23051
23052 * sysdeps/tile/libm-test-ulps: Regenerated.
23053
23054 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23055 Comment out the whole function, not just its body.
23056
23057 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23058
23059 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23060 locks.
23061
23062 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23063
23064 2015-07-10 Torvald Riegel <triegel@redhat.com>
23065
23066 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23067 (sem_assume_only_signals_cause_futex_EINTR): Remove.
23068
23069 2015-07-10 Torvald Riegel <triegel@redhat.com>
23070
23071 * sysdeps/nptl/futex-internal.h: New file.
23072 * sysdeps/nacl/futex-internal.h: New file.
23073 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23074 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23075 error checking.
23076 (setxid_unmark_thread): Likewise.
23077 (__nptl_setxid): Likewise.
23078 (__wait_lookup_done): Likewise.
23079 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23080 * nptl/nptl-init.c (sighandler_setxid): Likewise.
23081 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23082 * nptl/pthread_once.c (clear_once_control): Likewise.
23083 (__pthread_once_slow): Likewise.
23084 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23085 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23086 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23087 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23088 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23089 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23090 Likewise.
23091 (__pthread_rwlock_rdlock): Likewise.
23092 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23093 Likewise.
23094 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23095 Likewise.
23096 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23097 Likewise.
23098 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23099 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23100 Likewise.
23101 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23102 __ASSUME_PRIVATE_FUTEX check.
23103 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23104 Check that shared futexes are supported.
23105 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23106 wrappers with error checking.
23107 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23108 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23109 * nptl/pthread_barrierattr_setpshared.c
23110 (pthread_barrierattr_setpshared): Check that shared futexes are
23111 supported.
23112 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23113 Likewise.
23114 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23115 Likewise.
23116 * nptl/sem_init.c (futex_private_if_supported): Remove.
23117 (__new_sem_init): Adapt and check that shared futexes are supported.
23118 * nptl/sem_open.c (sem_open): Likewise.
23119 * nptl/sem_post.c (futex_wake): Remove.
23120 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23121 (do_futex_wait): Use futex wrappers with error checking.
23122 * nptl/sem_wait.c: Include lowlevellock.h.
23123 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23124 Use futex_supports_pshared.
23125 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23126 Use futex wrappers with error checking.
23127 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23128 Likewise.
23129 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23130 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23131 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23132 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23133 (futex_wake): Likewise.
23134 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23135 (do_futex_wait): Use futex wrappers with error checking.
23136 (__new_sem_wait_slow): Update EINTR handling.
23137 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23138
23139 2015-07-09 Martin Sebor <msebor@redhat.com>
23140
23141 [BZ #18435]
23142 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23143 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23144 * nptl/Makefile (test-xfail-tst-once5): Define.
23145
23146 2015-07-09 Roland McGrath <roland@hack.frob.com>
23147
23148 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23149 * elf/dl-minimal.c: For readability, reorder some definitions and
23150 introduce more page breaks. Include <stdio.h>.
23151 (__libc_fatal): New function.
23152
23153 * include/unistd.h: Add rtld_hidden_proto for _exit.
23154 * posix/_exit.c: Add rtld_hidden_def.
23155 * sysdeps/mach/hurd/_exit.c: Likewise.
23156 * sysdeps/nacl/_exit.c: Likewise.
23157 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23158 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23159
23160 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23161
23162 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23163 bndmov encoding with zero displacement.
23164
23165 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23166 H.J. Lu <hongjiu.lu@intel.com>
23167
23168 [BZ #18134]
23169 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23170 * sysdeps/i386/configure: Regenerated.
23171 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23172 (_dl_runtime_profile): Save and restore Intel MPX return bound
23173 registers when calling _dl_call_pltexit. Add
23174 PRESERVE_BND_REGS_PREFIX before return.
23175 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23176 (LRV_BND1_OFFSET): Likewise.
23177 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23178 lrv_bnd1.
23179 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23180 typo in bndmov encoding.
23181 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23182 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23183 branch instructions to preserve bounds.
23184
23185 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23186
23187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23188 [GLIBC_2.22]: Add fmemopen.
23189
23190 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23191
23192 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23193 returns an error, also try to use host port from __mach_host_self for
23194 the __vm_wire call.
23195 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23196
23197 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23198
23199 [BZ #18400]
23200 [BZ #18648]
23201 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23202 Fix pr_uid and pr_gid members.
23203 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23204 definition to elf_greg_t.
23205
23206 2015-07-08 Roland McGrath <roland@hack.frob.com>
23207
23208 [BZ #18383]
23209 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23210 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23211 * sysdeps/arm/configure: Regenerated.
23212 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23213 (test-xfail-tst-tlsalign-static): Variable removed.
23214
23215 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23216 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23217 rather than explicit 'ln -s'.
23218
23219 * resolv/rpc/netdb.h: New file.
23220 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23221
23222 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23223
23224 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23225 length buffers.
23226 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23227 test-skeleton.c.
23228
23229 [BZ #6544]
23230 [BZ #11216]
23231 [BZ #12836]
23232 [BZ #13151]
23233 [BZ #13152]
23234 [BZ #14292]
23235 * include/stdio.h (fmemopen): Remove hidden prototype.
23236 (__fmemopen): Add new hidden prototype.
23237 * libio/Makefile: Add oldfmemopen object.
23238 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23239 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23240 compliance.
23241 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23242 symbol compatibility.
23243 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23244 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23245 fmemopen.
23246 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23247 on append and read mode.
23248 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23249 fmemopen.
23250 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23251 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23252 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23253 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23254 Likewise.
23255 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23256 [GLIBC_2.22]: Likewise.
23257 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23258 Likewise.
23259 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23260 Likewise.
23261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23262 [GLIBC_2.22]: Likewise.
23263 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23264 [GLIBC_2.22]: Likewise.
23265 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23266 [GLIBC_2.22]: Likewise.
23267 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23268 [GLIBC_2.22]: Likewise.
23269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23270 [GLIBC_2.22]: Likewise.
23271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23272 [GLIBC_2.22]: Likewise.
23273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23274 [GLIBC_2.22]: Likewise.
23275 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23276 Likewise.
23277 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23278 Likewise.
23279 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23280 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23281 [GLIBC_2.22]: Likewise.
23282 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23283 [GLIBC_2.22]: Likewise.
23284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23285 [GLIBC_2.22]: Likewise.
23286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23287 [GLIBC_2.22]: Likewise.
23288 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23289 Likewise.
23290 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23291 Likewise.
23292 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23293 Likewise.
23294 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23295 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23296
23297 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23298
23299 [BZ #18643]
23300 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23301 IPV6_PATHMTU, and IPV6_DONTFRAG.
23302
23303 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23304
23305 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23306 and _IO_UNBUFFERED.
23307 * libio/oldfileops.c: Likewise.
23308 * libio/wfileops.c: Likewise.
23309
23310 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23311
23312 * nscd/selinux.c: Delete selinux/flask.h include.
23313
23314 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23315
23316 [BZ #18641]
23317 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23318 (putpwent): Likewise.
23319 (getpwnam): Likewise.
23320 (getpwent_r): Likewise.
23321 (getpwuid_r): Likewise.
23322 (getpwnam_r): Likewise.
23323 (fgetpwent_r): Likewise.
23324
23325 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23326
23327 [BZ #18557]
23328 * inet/rcmd.c (__validuser2_sa): Check user first to
23329 short-circuit host check.
23330
23331 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23332 Mikhail Ilin <m.ilin@samsung.com>
23333
23334 [BZ #17833]
23335 * elf/Makefile (tests): Add tst-nodelete.
23336 (modules-names): Add tst-nodelete-uniquemod.
23337 (tst-nodelete-uniquemod.so-no-z-defs): New.
23338 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23339 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23340 ($(objpfx)tst-nodelete): Likewise.
23341 ($(objpfx)tst-nodelete.out): Likewise.
23342 (LDFLAGS-tst-nodelete): Likewise.
23343 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23344 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23345 implement forced object deletion.
23346 (_dl_close): Pass false to _dl_close_worker.
23347 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23348 * elf/tst-nodelete.cc: New file.
23349 * elf/tst-nodeletelib.cc: Likewise.
23350 * elf/tst-znodeletelib.cc: Likewise.
23351 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23352
23353 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23354
23355 [BZ #18508]
23356 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23357 Depend on $(libdl).
23358 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23359 is not called infinitely times.
23360 (backtrace_helper): New function.
23361 (trace_arg): New struct.
23362 (st1): Enlarge stack size.
23363 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23364 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23365 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23366 Likewise.
23367
23368 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23369
23370 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23371
23372 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23373
23374 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23375 Include sys/types.h instead of bits/types.h.
23376 Remove inclusion of bits/wordsize.h.
23377
23378 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23379
23380 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23381 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23382 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23383 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23384 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23385 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23386
23387 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23388
23389 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23390 link-defines.sym.
23391 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23392 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23393 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23394 and LR_SIZE.
23395 * sysdeps/i386/link-defines.sym: New file.
23396
23397 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23398
23399 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23400 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23401 ($(objpfx)tst-audit3): New rule.
23402 ($(objpfx)tst-audit3.out): Likewise.
23403 * sysdeps/i386/tst-audit3.c: New file.
23404 * sysdeps/i386/tst-audit3.h: Likewise.
23405 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23406 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23407
23408 2015-07-07 Torvald Riegel <triegel@redhat.com>
23409
23410 [BZ #18633]
23411 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23412 pointer in C code.
23413 (__strcat_c): Likewise.
23414 (__strcat_g): Likewise.
23415
23416 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23417
23418 [BZ #18592]
23419 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23420
23421 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23422
23423 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23424 New function. (__ieee754_sqrtf): New function.
23425 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23426 New function.
23427 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23428 New function.
23429
23430 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23431
23432 * sysdeps/ieee754/support.c: Remove unused file.
23433
23434 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23435
23436 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23437 registers instead of d ones so the layout is kernel abi compatible.
23438 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23439 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23440 Likewise.
23441
23442 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23443
23444 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23445
23446 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23447
23448 [BZ #18619]
23449 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23450 and return argument in case of subnormal argument.
23451
23452 2015-07-01 Martin Sebor <msebor@redhat.com>
23453
23454 [BZ #18435]
23455 * nptl/Makefile: Add tst-once5.cc.
23456 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23457 Remove macro redefinitions.
23458 * nptl/tst-once5.cc: New test.
23459
23460 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23461
23462 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23463
23464 * sysdeps/arm/libm-test-ulps: Regenerated.
23465
23466 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23467 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23468
23469 2015-06-30 Torvald Riegel <triegel@redhat.com>
23470
23471 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23472 lll_lock_wait_private and lll_futex_wake probes.
23473
23474 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23475 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23476 Likewise.
23477 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23478 atomic_spin_nop.
23479 * sysdeps/x86_64/bits/atomic.h: Likewise.
23480 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23481 to atomic_spin_nop and move ...
23482 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23483 ... here and ...
23484 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23485 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23486 atomic_spin_nop instead of BUSY_WAIT_NOP.
23487 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23488 Likewise.
23489 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23490 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23491 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23492 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23493 instead of atomic_delay.
23494
23495 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23496
23497 [BZ #18613]
23498 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23499 X_ADJ not X when adjusting exponent.
23500 (__ieee754_gamma_r): Do intermediate computations in
23501 round-to-nearest then adjust overflowing and underflowing results
23502 as needed.
23503 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23504 of X_ADJ not X when adjusting exponent.
23505 (__ieee754_gammaf_r): Do intermediate computations in
23506 round-to-nearest then adjust overflowing and underflowing results
23507 as needed.
23508 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23509 log of X_ADJ not X when adjusting exponent.
23510 (__ieee754_gammal_r): Do intermediate computations in
23511 round-to-nearest then adjust overflowing and underflowing results
23512 as needed. Use 1.0L not 1.0f as numerator of division.
23513 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23514 log of X_ADJ not X when adjusting exponent.
23515 (__ieee754_gammal_r): Do intermediate computations in
23516 round-to-nearest then adjust overflowing and underflowing results
23517 as needed. Use 1.0L not 1.0f as numerator of division.
23518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23519 of X_ADJ not X when adjusting exponent.
23520 (__ieee754_gammal_r): Do intermediate computations in
23521 round-to-nearest then adjust overflowing and underflowing results
23522 as needed. Use 1.0L not 1.0f as numerator of division.
23523 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23524 to auto-libm-test-in.
23525 (tgamma_test): Use ALL_RM_TEST.
23526 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23527 tests of tgamma with spurious-overflow.
23528 * math/auto-libm-test-out: Regenerated.
23529 * math/gen-libm-have-vector-test.sh: Do not check for START.
23530 * sysdeps/i386/fpu/libm-test-ulps: Update.
23531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23532
23533 [BZ #18612]
23534 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23535 arguments, just return 0.5 times the argument, with underflow
23536 forced as needed.
23537 * math/auto-libm-test-in: Add more tests of j1.
23538 * math/auto-libm-test-out: Regenerated.
23539
23540 [BZ #16559]
23541 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23542 (__ieee754_j1): Force underflow exception for small results.
23543 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23544 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23545 (__ieee754_j1f): Force underflow exception for small results.
23546 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23547 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23549 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23550 (__ieee754_j1l): Force underflow exception for small results.
23551 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23552 * math/auto-libm-test-in: Add more tests of j1 and jn.
23553 * math/auto-libm-test-out: Regenerated.
23554
23555 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23556 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23557 (PF_MPLS): Likewise.
23558 (AF_IB): Likewise.
23559 (AF_MPLS): Likewise.
23560 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23561 value and macro.
23562 (MS_RMT_MASK): Include MS_LAZYTIME.
23563
23564 2015-06-26 Mel Gorman <mgorman@suse.de>
23565
23566 [BZ #18502]
23567 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23568 already minimal.
23569
23570 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23571
23572 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23573 (DT_MIPS_NUM): Update.
23574 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23575 DT_MIPS_RLD_MAP_REL.
23576
23577 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23578
23579 [BZ #16559]
23580 [BZ #18602]
23581 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23582 round-to-nearest internally then recompute results that
23583 underflowed to zero in the original rounding mode.
23584 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23585 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23588 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23589 * sysdeps/i386/fpu/libm-test-ulps: Update.
23590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23591
23592 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23593
23594 * NEWS: Fixed description of link with vector math library.
23595
23596 2015-06-25 Andreas Schwab <schwab@suse.de>
23597
23598 [BZ #18549]
23599 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23600 * libio/test-fmemopen.c (do_test): Add test for it.
23601
23602 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23603
23604 [BZ #17841]
23605 * Makeconfig (no-pie-ldflag): New.
23606 (+link): Set to $(+link-pie) if default to PIE.
23607 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23608 * config.make.in (build-pie-default): New.
23609 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23610 is default. AC_SUBST.
23611 * configure: Regenerated.
23612 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23613
23614 2015-06-24 Roland McGrath <roland@hack.frob.com>
23615
23616 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23617 to 'unsigned int'.
23618
23619 * resolv/gai_misc.h (struct waitlist): Change type of field
23620 counterp to 'volatile unsigned int *'.
23621 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23622 FUTEXADDR and OLDVAL.
23623 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23624 Give local variable TOTAL type 'volatile unsigned int'.
23625 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23626 * resolv/gai_suspend.c (gai_suspend):
23627 Give local variable CNTR type 'unsigned int'.
23628
23629 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23630 counterp to 'volatile unsigned int *'.
23631 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23632 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23633 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23634 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23635 Give local variable TOTAL type 'volatile unsigned int'.
23636 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23637
23638 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 [BZ #18383]
23641 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23642 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23643 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23644 comment for i386/x86-64.
23645 (test-xfail-tst-tlsalign-extern-static): Removed.
23646
23647 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23648
23649 * math/test-double.h: New file.
23650 * math/test-float.h: Likewise.
23651 * math/test-ldouble.h: Likewise.
23652 * math/test-math-inline.h: Likewise.
23653 * math/test-math-no-inline.h: Likewise.
23654 * math/test-math-scalar.h: Likewise.
23655 * math/test-math-vector.h: Likewise.
23656 * math/test-vec-loop.h: Remove file. Contents moved into
23657 test-math-vector.h.
23658 * math/libm-test.inc (MATHCONST): Do not document macro.
23659 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23660 and test-math-scalar.h.
23661 (FUNC): Remove macro.
23662 (FUNC_TEST): Likewise.
23663 (FLOAT): Likewise.
23664 (MATHCONST): Likewise.
23665 (PRINTF_EXPR): Likewise.
23666 (PRINTF_XEXPR): Likewise.
23667 (PRINTF_NEXPR): Likewise.
23668 (TEST_DOUBLE): Likewise.
23669 (TEST_MATHVEC): Likewise.
23670 (__NO_MATH_INLINES): Likewise.
23671 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23672 and test-math-scalar.h.
23673 (FUNC): Remove macro.
23674 (FUNC_TEST): Likewise.
23675 (FLOAT): Likewise.
23676 (MATHCONST): Likewise.
23677 (PRINTF_EXPR): Likewise.
23678 (PRINTF_XEXPR): Likewise.
23679 (PRINTF_NEXPR): Likewise.
23680 (TEST_FLOAT): Likewise.
23681 (TEST_MATHVEC): Likewise.
23682 (__NO_MATH_INLINES): Likewise.
23683 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23684 and test-math-scalar.h.
23685 (FUNC): Remove macro.
23686 (FUNC_TEST): Likewise.
23687 (FLOAT): Likewise.
23688 (MATHCONST): Likewise.
23689 (PRINTF_EXPR): Likewise.
23690 (PRINTF_XEXPR): Likewise.
23691 (PRINTF_NEXPR): Likewise.
23692 (TEST_DOUBLE): Likewise.
23693 (TEST_MATHVEC): Likewise.
23694 (TEST_INLINE): Likewise.
23695 (__NO_MATH_INLINES): Likewise.
23696 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23697 test-math-scalar.h.
23698 (FUNC): Remove macro.
23699 (FUNC_TEST): Likewise.
23700 (FLOAT): Likewise.
23701 (MATHCONST): Likewise.
23702 (PRINTF_EXPR): Likewise.
23703 (PRINTF_XEXPR): Likewise.
23704 (PRINTF_NEXPR): Likewise.
23705 (TEST_FLOAT): Likewise.
23706 (TEST_MATHVEC): Likewise.
23707 (TEST_INLINE): Likewise.
23708 (__NO_MATH_INLINES): Likewise.
23709 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23710 and test-math-scalar.h.
23711 (FUNC): Remove macro.
23712 (FUNC_TEST): Likewise.
23713 (FLOAT): Likewise.
23714 (MATHCONST): Likewise.
23715 (PRINTF_EXPR): Likewise.
23716 (PRINTF_XEXPR): Likewise.
23717 (PRINTF_NEXPR): Likewise.
23718 (TEST_LDOUBLE): Likewise.
23719 (TEST_MATHVEC): Likewise.
23720 (TEST_INLINE): Likewise.
23721 (__NO_MATH_INLINES): Likewise.
23722 * math/test-ldouble.c: Include test-ldouble.h,
23723 test-math-no-inline.h and test-math-scalar.h.
23724 (FUNC): Remove macro.
23725 (FUNC_TEST): Likewise.
23726 (FLOAT): Likewise.
23727 (MATHCONST): Likewise.
23728 (PRINTF_EXPR): Likewise.
23729 (PRINTF_XEXPR): Likewise.
23730 (PRINTF_NEXPR): Likewise.
23731 (TEST_LDOUBLE): Likewise.
23732 (TEST_MATHVEC): Likewise.
23733 (__NO_MATH_INLINES): Likewise.
23734 * math/test-double-vlen2.h: Include test-double.h,
23735 test-math-no-inline.h and test-math-vector.h.
23736 (FLOAT): Remove macro.
23737 (FUNC): Likewise.
23738 (MATHCONST): Likewise.
23739 (PRINTF_EXPR): Likewise.
23740 (PRINTF_XEXPR): Likewise.
23741 (PRINTF_NEXPR): Likewise.
23742 (TEST_DOUBLE): Likewise.
23743 (TEST_MATHVEC): Likewise.
23744 (__NO_MATH_INLINES): Likewise.
23745 (CNCT): Likewise.
23746 (CONCAT): Likewise.
23747 (WRAPPER_NAME): Likewise.
23748 (WRAPPER_DECL): Likewise.
23749 (WRAPPER_DECL_ff): Likewise.
23750 (WRAPPER_DECL_fFF): Likewise.
23751 (VECTOR_WRAPPER): Likewise.
23752 (VECTOR_WRAPPER_ff): Likewise.
23753 (VECTOR_WRAPPER_fFF): Likewise.
23754 (VEC_LEN): New macro.
23755 * math/test-double-vlen4.h: Include test-double.h,
23756 test-math-no-inline.h and test-math-vector.h.
23757 (FLOAT): Remove macro.
23758 (FUNC): Likewise.
23759 (MATHCONST): Likewise.
23760 (PRINTF_EXPR): Likewise.
23761 (PRINTF_XEXPR): Likewise.
23762 (PRINTF_NEXPR): Likewise.
23763 (TEST_DOUBLE): Likewise.
23764 (TEST_MATHVEC): Likewise.
23765 (__NO_MATH_INLINES): Likewise.
23766 (CNCT): Likewise.
23767 (CONCAT): Likewise.
23768 (WRAPPER_NAME): Likewise.
23769 (WRAPPER_DECL): Likewise.
23770 (WRAPPER_DECL_ff): Likewise.
23771 (WRAPPER_DECL_fFF): Likewise.
23772 (VECTOR_WRAPPER): Likewise.
23773 (VECTOR_WRAPPER_ff): Likewise.
23774 (VECTOR_WRAPPER_fFF): Likewise.
23775 (VEC_LEN): New macro.
23776 * math/test-double-vlen8.h: Include test-double.h,
23777 test-math-no-inline.h and test-math-vector.h.
23778 (FLOAT): Remove macro.
23779 (FUNC): Likewise.
23780 (MATHCONST): Likewise.
23781 (PRINTF_EXPR): Likewise.
23782 (PRINTF_XEXPR): Likewise.
23783 (PRINTF_NEXPR): Likewise.
23784 (TEST_DOUBLE): Likewise.
23785 (TEST_MATHVEC): Likewise.
23786 (__NO_MATH_INLINES): Likewise.
23787 (CNCT): Likewise.
23788 (CONCAT): Likewise.
23789 (WRAPPER_NAME): Likewise.
23790 (WRAPPER_DECL): Likewise.
23791 (WRAPPER_DECL_ff): Likewise.
23792 (WRAPPER_DECL_fFF): Likewise.
23793 (VECTOR_WRAPPER): Likewise.
23794 (VECTOR_WRAPPER_ff): Likewise.
23795 (VECTOR_WRAPPER_fFF): Likewise.
23796 (VEC_LEN): New macro.
23797 * math/test-float-vlen4.h: Include test-float.h,
23798 test-math-no-inline.h and test-math-vector.h.
23799 (FLOAT): Remove macro.
23800 (FUNC): Likewise.
23801 (MATHCONST): Likewise.
23802 (PRINTF_EXPR): Likewise.
23803 (PRINTF_XEXPR): Likewise.
23804 (PRINTF_NEXPR): Likewise.
23805 (TEST_FLOAT): Likewise.
23806 (TEST_MATHVEC): Likewise.
23807 (__NO_MATH_INLINES): Likewise.
23808 (CNCT): Likewise.
23809 (CONCAT): Likewise.
23810 (WRAPPER_NAME): Likewise.
23811 (WRAPPER_DECL): Likewise.
23812 (WRAPPER_DECL_ff): Likewise.
23813 (WRAPPER_DECL_fFF): Likewise.
23814 (VECTOR_WRAPPER): Likewise.
23815 (VECTOR_WRAPPER_ff): Likewise.
23816 (VECTOR_WRAPPER_fFF): Likewise.
23817 (VEC_LEN): New macro.
23818 * math/test-float-vlen8.h: Include test-float.h,
23819 test-math-no-inline.h and test-math-vector.h.
23820 (FLOAT): Remove macro.
23821 (FUNC): Likewise.
23822 (MATHCONST): Likewise.
23823 (PRINTF_EXPR): Likewise.
23824 (PRINTF_XEXPR): Likewise.
23825 (PRINTF_NEXPR): Likewise.
23826 (TEST_FLOAT): Likewise.
23827 (TEST_MATHVEC): Likewise.
23828 (__NO_MATH_INLINES): Likewise.
23829 (CNCT): Likewise.
23830 (CONCAT): Likewise.
23831 (WRAPPER_NAME): Likewise.
23832 (WRAPPER_DECL): Likewise.
23833 (WRAPPER_DECL_ff): Likewise.
23834 (WRAPPER_DECL_fFF): Likewise.
23835 (VECTOR_WRAPPER): Likewise.
23836 (VECTOR_WRAPPER_ff): Likewise.
23837 (VECTOR_WRAPPER_fFF): Likewise.
23838 (VEC_LEN): New macro.
23839 * math/test-float-vlen16.h: Include test-float.h,
23840 test-math-no-inline.h and test-math-vector.h.
23841 (FLOAT): Remove macro.
23842 (FUNC): Likewise.
23843 (MATHCONST): Likewise.
23844 (PRINTF_EXPR): Likewise.
23845 (PRINTF_XEXPR): Likewise.
23846 (PRINTF_NEXPR): Likewise.
23847 (TEST_FLOAT): Likewise.
23848 (TEST_MATHVEC): Likewise.
23849 (__NO_MATH_INLINES): Likewise.
23850 (CNCT): Likewise.
23851 (CONCAT): Likewise.
23852 (WRAPPER_NAME): Likewise.
23853 (WRAPPER_DECL): Likewise.
23854 (WRAPPER_DECL_ff): Likewise.
23855 (WRAPPER_DECL_fFF): Likewise.
23856 (VECTOR_WRAPPER): Likewise.
23857 (VECTOR_WRAPPER_ff): Likewise.
23858 (VECTOR_WRAPPER_fFF): Likewise.
23859 (VEC_LEN): New macro.
23860 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23861 test-vec-loop.h.
23862 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23863 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23864 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23865 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23866 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23867 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23868 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23869
23870 2015-06-24 Roland McGrath <roland@hack.frob.com>
23871
23872 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23873 (__getlogin_r): ... this.
23874
23875 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23876
23877 [BZ #18594]
23878 * math/s_ccosh.c (__ccosh): Compare with least normal value
23879 instead of comparing class with FP_SUBNORMAL.
23880 * math/s_ccoshf.c (__ccoshf): Likewise.
23881 * math/s_ccoshl.c (__ccoshl): Likewise.
23882 * math/s_cexp.c (__cexp): Likewise.
23883 * math/s_cexpf.c (__cexpf): Likewise.
23884 * math/s_cexpl.c (__cexpl): Likewise.
23885 * math/s_csin.c (__csin): Likewise.
23886 * math/s_csinf.c (__csinf): Likewise.
23887 * math/s_csinh.c (__csinh): Likewise.
23888 * math/s_csinhf.c (__csinhf): Likewise.
23889 * math/s_csinhl.c (__csinhl): Likewise.
23890 * math/s_csinl.c (__csinl): Likewise.
23891 * math/s_ctan.c (__ctan): Likewise.
23892 * math/s_ctanf.c (__ctanf): Likewise.
23893 * math/s_ctanh.c (__ctanh): Likewise.
23894 * math/s_ctanhf.c (__ctanhf): Likewise.
23895 * math/s_ctanhl.c (__ctanhl): Likewise.
23896 * math/s_ctanl.c (__ctanl): Likewise.
23897 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23898 csin, csinh, ctan and ctanh.
23899 * math/auto-libm-test-out: Regenerated.
23900 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23901 * sysdeps/i386/fpu/libm-test-ulps: Update.
23902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23903
23904 2015-06-24 Roland McGrath <roland@hack.frob.com>
23905
23906 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23907 return value is wrong, print the expected value too.
23908
23909 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23910
23911 [BZ #18585]
23912 * elf/readlib.c (is_gdb_python_file): New.
23913 (process_file): Don't issue errors on filenames with -gdb.py
23914 suffix.
23915
23916 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23917
23918 * math/auto-libm-test-in: Add more tests of csin and csinh.
23919 * math/auto-libm-test-out: Regenerated.
23920 * math/libm-test.inc (csin_test_data): Remove tests moved to
23921 auto-libm-test-in.
23922 (csinh_test_data): Likewise.
23923
23924 [BZ #18593]
23925 * math/s_csin.c (__csin): Negate before rather than after possibly
23926 overflowing multiplication.
23927 * math/s_csinf.c (__csinf): Likewise.
23928 * math/s_csinh.c (__csinh): Likewise.
23929 * math/s_csinhf.c (__csinhf): Likewise.
23930 * math/s_csinhl.c (__csinhl): Likewise.
23931 * math/s_csinl.c (__csinl): Likewise.
23932 * math/auto-libm-test-in: Add some tests of csin and csinh.
23933 * math/auto-libm-test-out: Regenerated.
23934 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23935 (csinh_test_data): Likewise.
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23937
23938 [BZ #18586]
23939 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23940 underflow exception for small results.
23941
23942 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23943
23944 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23945 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23946 variable and included header.
23947 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23948 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23949 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23950 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23951 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23952 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23953 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23954 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23955 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23956 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23957 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23958 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23959 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23960 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23961 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23962 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23963
23964 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23965
23966 [BZ #16526]
23967 [BZ #16538]
23968 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23969 (__sin): Force underflow exception for arguments with small
23970 absolute value.
23971 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23972 (__kernel_sinf): Force underflow exception for arguments with
23973 small absolute value.
23974 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23975 (__kernel_sincosl): Force underflow exception for arguments with
23976 small absolute value.
23977 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23978 (__kernel_sinl): Force underflow exception for arguments with
23979 small absolute value.
23980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23981 (__kernel_sincosl): Force underflow exception for arguments with
23982 small absolute value.
23983 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23984 (__kernel_sinl): Force underflow exception for arguments with
23985 small absolute value.
23986 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23987 (__kernel_sinl): Force underflow exception for arguments with
23988 small absolute value.
23989 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23990 (__kernel_sinf): Force underflow exception for arguments with
23991 small absolute value.
23992 * math/auto-libm-test-in: Add more tests of sin and sincos.
23993 * math/auto-libm-test-out: Regenerated.
23994
23995 [BZ #18245]
23996 [BZ #18583]
23997 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23998 (__kernel_standard_l): Use feholdexcept and fesetenv around
23999 conversion to double instead of special-casing overflow and
24000 underflow.
24001 * math/libm-test.inc (fmod_test_data): Add more tests.
24002 (remainder_test_data): Likewise.
24003 (sqrt_test_data): Likewise.
24004
24005 2015-06-23 Torvald Riegel <triegel@redhat.com>
24006
24007 [BZ #17403]
24008 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24009 atomic_read_barrier, atomic_write_barrier): Define.
24010 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24011 atomic_read_barrier, atomic_write_barrier): Define.
24012
24013 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24014
24015 * math/Makefile [$(PERL) != no]
24016 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24017 dependency on libm-test.stmp below the inclusion of Rules.
24018
24019 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
24020
24021 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24022 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24023 and included header.
24024 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24025 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24026 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24027 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24028 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24029 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24030 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24031 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24032 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24033 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24034 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24035 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24036 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24037 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24038 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24039 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24040 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24041 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24042 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24043
24044 2015-06-23 Joseph Myers <joseph@codesourcery.com>
24045
24046 [BZ #18371]
24047 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24048 intermediate but not final result might underflow.
24049 * math/s_csqrtf.c (__csqrtf): Likewise.
24050 * math/s_csqrtl.c (__csqrtl): Likewise.
24051 * math/auto-libm-test-in: Add more tests of csqrt.
24052 * math/auto-libm-test-out: Regenerated.
24053 * sysdeps/i386/fpu/libm-test-ulps: Update.
24054
24055 [BZ #18219]
24056 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24057 threshold on absolute value of exponent for which scaling is used.
24058 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24059 * math/auto-libm-test-in: Add more tests of exp2.
24060 * math/auto-libm-test-out: Regenerated.
24061
24062 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
24063
24064 [BZ #17977]
24065 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24066 when initializing interface list, based on the bug analysis
24067 and the patch proposed by Eric Newton.
24068 * resolv/tst-res_hconf_reorder.c: New test.
24069 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24070 tst-res_hconf_reorder.
24071 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24072 and $(shared-thread-library).
24073 (tst-res_hconf_reorder-ENV): New variable.
24074
24075 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24076 in comment.
24077
24078 2015-06-22 Joseph Myers <joseph@codesourcery.com>
24079
24080 [BZ #16353]
24081 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24082 (__expm1): Force underflow exception for arguments with small
24083 absolute value.
24084 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24085 (__expm1f): Force underflow exception for arguments with small
24086 absolute value.
24087 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24088 (__expm1): Force underflow exception for arguments with small
24089 absolute value.
24090 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24091 (__expm1f): Force underflow exception for arguments with small
24092 absolute value.
24093 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24094 Check for small arguments before calling __expm1.
24095 * math/auto-libm-test-in: Do not mark underflow exceptions as
24096 possibly missing for bug 16353.
24097 * math/auto-libm-test-out: Regenerated.
24098
24099 2015-06-22 Andreas Schwab <schwab@suse.de>
24100
24101 [BZ #18513]
24102 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24103 PTR queries.
24104
24105 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24106
24107 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24108
24109 * string/strcoll_l.c: Remove unused struct element idxnow.
24110
24111 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24112
24113 [BZ #18569]
24114 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24115 underflow and return argument in case of subnormal argument.
24116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24117 Likewise.
24118 * math/auto-libm-test-in: Add more tests of expm1.
24119 * math/auto-libm-test-out: Regenerated.
24120
24121 [BZ #16361]
24122 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24123 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24124 tiny results.
24125 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24126 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24127 tiny results.
24128 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24129 mark underflow exceptions as possibly missing for bug 16361.
24130 * math/auto-libm-test-out: Regenerated.
24131
24132 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24133
24134 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24135 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24136 Remove variable.
24137 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24138 (test-xfail-XOPEN2K8/utmpx.h/conform).
24139
24140 * conform/conformtest.pl ($xerrors): New variable.
24141 (note_error): New function.
24142 (compiletest): New argument $xfail. Use not_error.
24143 (runtest): Likewise.
24144 (top level): Handle xfail- lines. Update calls to compiletest and
24145 runtest. Handle xfail- and optional- in headers listed with
24146 allow-header.
24147 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24148 (O_EXEC): Likewise.
24149 (O_SEARCH): Likewise.
24150 * conform/data/stropts.h-data (ioctl): Likewise.
24151 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24152 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24153 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24154 (msghdr.msg_controllen): Likewise.
24155 (cmsghdr.cmsg_len): Likewise.
24156 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24157 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24158 variable.
24159 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24160 (test-xfail-XPG4/stropts.h/conform): Likewise.
24161 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24162 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24163 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24164 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24165 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24166 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24167 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24168 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24169 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24170 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24171 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24172 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24173 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24174 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24175 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24176 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24177 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24178 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24179 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24180
24181 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24182
24183 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24184 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24185 definitions for proper unfolding of __MATHDECL_VEC.
24186
24187 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24188
24189 * benchtests/bench-strcoll.c:
24190 Include string.h.
24191 (main): Remove unused variable res.
24192
24193 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24194
24195 * timezone/Makefile (%/UTC %/Universal):
24196 Generate test-result files for UTC and Universal.
24197
24198 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24199
24200 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24201
24202 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24203
24204 [BZ #16350]
24205 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24206 for arguments with small absolute value.
24207 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24208 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24209 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24210 (__asinh): Force underflow exception for arguments with small
24211 absolute value.
24212 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24213 (__asinhf): Force underflow exception for arguments with small
24214 absolute value.
24215 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24216 (__asinhl): Force underflow exception for arguments with small
24217 absolute value.
24218 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24219 (__asinhl): Force underflow exception for arguments with small
24220 absolute value.
24221 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24222 (__asinhl): Force underflow exception for arguments with small
24223 absolute value.
24224 * math/auto-libm-test-in: Do not mark underflow exceptions as
24225 possibly missing for bug 16350.
24226 * math/auto-libm-test-out: Regenerated.
24227
24228 * include/bits/ipc.h: Remove file.
24229 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24230 variable.
24231 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24232 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24233 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24234 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24235 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24236 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24237 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24238 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24239 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24240
24241 * math/auto-libm-test-in: Remove spurious underflow allowance for
24242 tests of cexp.
24243 * math/auto-libm-test-out: Regenerated.
24244
24245 [BZ #18558]
24246 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24247 unconditional definition.
24248 (MCAST_BLOCK_SOURCE): Likewise.
24249 (MCAST_UNBLOCK_SOURCE): Likewise.
24250 (MCAST_LEAVE_GROUP): Likewise.
24251 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24252 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24253 (MCAST_MSFILTER): Likewise.
24254 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24255 Remove variable.
24256 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24257 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24258 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24259 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24260 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24261
24262 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24263
24264 * NEWS: Mention addition of x86_64 vector sincosf.
24265 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24266 * math/test-float-vlen4.h: Likewise.
24267 * math/test-float-vlen8.h: Likewise.
24268 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24269 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24270 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24271 * sysdeps/x86_64/fpu/Versions: New versions added.
24272 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24273 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24274 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24275 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24276 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24277 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24278 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24279 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24280 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24281 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24282 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24283 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24284 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24285 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24286 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24287 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24288 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24289 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24290 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24291 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24292 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24293 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24294 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24295 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24296
24297 * NEWS: Mention addition of x86_64 vector sincos.
24298 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24299 * math/math.h (__MATHDECL_VEC): New macro.
24300 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24301 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24302 declaration under condition.
24303 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24304 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24305 TEST_VEC_LOOP change.
24306 * math/test-double-vlen4.h: Likewise.
24307 * math/test-double-vlen8.h: Likewise.
24308 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24309 * math/test-float-vlen4.h: Likewise.
24310 * math/test-float-vlen8.h: Likewise.
24311 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24312 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24313 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24314 * sysdeps/x86_64/fpu/Versions: New versions added.
24315 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24316 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24317 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24318 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24319 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24320 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24321 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24322 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24323 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24324 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24325 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24326 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24327 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24328 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24329 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24330 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24331 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24332 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24333 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24334 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24335 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24336 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24337 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24338 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24339
24340 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24341 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24342 redirections for powf.
24343 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24344 * sysdeps/x86_64/fpu/Versions: New versions added.
24345 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24346 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24347 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24348 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24349 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24350 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24351 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24352 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24353 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24354 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24355 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24356 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24357 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24358 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24359 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24360 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24361 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24362 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24363 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24364 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24365 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24366 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24367 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24368 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24369 * math/test-float-vlen16.h: Fixed 2 argument macro.
24370 * math/test-float-vlen4.h: Likewise.
24371 * math/test-float-vlen8.h: Likewise.
24372 * NEWS: Mention addition of x86_64 vector powf.
24373
24374 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24375
24376 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24377 and redefine.
24378 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24379 and redefine.
24380 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24381 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24382 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24383
24384 [BZ #18553]
24385 * resource/getpriority.c (getpriority): Rename to __getpriority
24386 and define as weak alias of __getpriority.
24387 * resource/setpriority.c (setpriority): Rename to __setpriority
24388 and define as weak alias of __setpriority.
24389 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24390 __getpriority and define as weak alias of __getpriority.
24391 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24392 __setpriority and define as weak alias of __setpriority.
24393 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24394 strong name.
24395 (setpriority): Use __setpriority as strong name.
24396 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24397 __getpriority and define as weak alias of __getpriority.
24398 * include/sys/resource.h (__getpriority): Declare. Use
24399 libc_hidden_proto.
24400 (__setpriority): Likewise.
24401 (getpriority): Don't use libc_hidden_proto.
24402 (setpriority): Likewise.
24403 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24404 getpriority. Call __setpriority instead of setpriority.
24405 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24406 Remove variable.
24407
24408 [BZ #18547]
24409 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24410 as weak alias of __getttynam. Use prototype function definition.
24411 Call __setttyent, __getttyent and __endttyent instead of
24412 setttyent, getttyent and endttyent.
24413 (getttyent): Rename to __getttyent and define as weak alias of
24414 __getttyent. Call __setttyent instead of setttyent. Call
24415 __fgets_unlocked instead of fgets_unlocked.
24416 (setttyent): Rename to __setttyent and define as weak alias of
24417 __setttyent.
24418 (endttyent): Rename to __endttyent and define as weak alias of
24419 __endttyent.
24420 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24421 (__setttyent): Likewise.
24422 (__endttyent): Likewise.
24423 (getttyent): Don't use libc_hidden_proto.
24424 (setttyent): Likewise.
24425 (endttyent): Likewise.
24426 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24427 __endttyent instead of setttyent, getttyent and endttyent.
24428 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24429 Remove variable.
24430
24431 [BZ #18546]
24432 * socket/recv.c (__recv): Use libc_hidden_def.
24433 * socket/socket.c (__socket): Likewise.
24434 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24435 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24436 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24437 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24438 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24439 libc_hidden_def.
24440 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24441 libc_hidden_weak.
24442 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24443 Use libc_hidden_proto.
24444 (__recv): Likewise.
24445 * socket/Versions (libc): Export __recv and __socket at version
24446 GLIBC_PRIVATE.
24447 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24448 instead of recv.
24449 (init_mq_netlink): Call __socket instead of socket.
24450 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24451 Remove variable.
24452
24453 [BZ #18545]
24454 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24455 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24456 hidden_weak.
24457 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24458 define as alias of __mq_timedsend. Use hidden_weak.
24459 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24460 __mq_timedsend as strong name.
24461 (mq_timedreceive): Use __mq_timedreceive as strong name.
24462 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24463 (__mq_timedreceive): Likewise.
24464 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24465 __mq_timedreceive instead of mq_timedreceive.
24466 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24467 instead of mq_timedsend.
24468 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24469 Remove variable.
24470
24471 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24472 hidden_def and hidden_weak instead of libc_hidden_def and
24473 libc_hidden_weak.
24474 (top level): Refer to hidden_def in comment.
24475 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24476 macro. Use it instead of libc_hidden_def.
24477 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24478 specify __GI_* name explicitly.
24479 (mq_timedreceive): Likewise.
24480 (mq_setattr): Likewise.
24481
24482 [BZ #18544]
24483 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24484 __pthread_barrier_init and define as weak alias of
24485 __pthread_barrier_init.
24486 * sysdeps/sparc/nptl/pthread_barrier_init.c
24487 (pthread_barrier_init): Likewise.
24488 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24489 __pthread_barrier_wait and define as weak alias of
24490 __pthread_barrier_wait.
24491 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24492 (pthread_barrier_wait): Likewise.
24493 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24494 (pthread_barrier_wait): Likewise.
24495 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24496 (pthread_barrier_wait): Likewise.
24497 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24498 (pthread_barrier_wait): Likewise.
24499 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24500 __pthread_barrier_wait at version GLIBC_PRIVATE.
24501 * include/pthread.h (__pthread_barrier_init): Declare.
24502 (__pthread_barrier_wait): Likewise.
24503 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24504 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24505 (helper_thread): Likewise.
24506 (init_mq_netlink): Call __pthread_barrier_init instead of
24507 pthread_barrier_init.
24508
24509 [BZ #18542]
24510 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24511 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24512 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24513 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24514 vswscanf.
24515 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24516 Remove variable.
24517
24518 [BZ #18540]
24519 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24520 strong alias of _IO_fflush. Use libc_hidden_def.
24521 * libio/iofflush_u.c (fflush_unlocked): Rename to
24522 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24523 Use libc_hidden_weak.
24524 * include/stdio.h (__fflush_unlocked): Declare. Use
24525 libc_hidden_proto.
24526 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24527 fflush_unlocked.
24528 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24529 Remove variable.
24530
24531 [BZ #18539]
24532 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24533 define as weak alias of __addseverity.
24534 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24535 Remove variable.
24536 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24537 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24538 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24539
24540 [BZ #18536]
24541 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24542 (__tfind): Likewise.
24543 (__tdelete): Likewise.
24544 (__twalk): Likewise.
24545 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24546 __twalk to GLIBC_PRIVATE.
24547 * include/search.h (__tsearch): Use libc_hidden_proto.
24548 (__tfind): Likewise.
24549 (__tdelete): Likewise.
24550 (__twalk): Likewise.
24551 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24552 Call __tdelete instead of tdelete.
24553 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24554 tfind. Call __tsearch instead of tsearch.
24555 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24556 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24557 Remove variable.
24558 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24559
24560 [BZ #18534]
24561 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24562 (dprintf): Define as a weak alias of __dprintf, not a strong
24563 alias.
24564 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24565 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24566 dprintf.
24567 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24568 Remove variable.
24569 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24570 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24571
24572 [BZ #18533]
24573 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24574 not a strong alias.
24575 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24576 Remove variable.
24577
24578 [BZ #18532]
24579 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24580 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24581 (in6addr_loopback): Rename to __in6addr_loopback and define as
24582 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24583 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24584 libc_hidden_proto.
24585 (__in6addr_any): Likewise.
24586 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24587 in6addr_any.
24588 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24589 variable.
24590 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24591
24592 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24593
24594 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24595 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24596 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24597 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24598 redirections for pow.
24599 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24600 * sysdeps/x86_64/fpu/Versions: New versions added.
24601 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24602 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24603 build of SSE, AVX2 and AVX512 IFUNC versions.
24604 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24605 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24606 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24607 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24608 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24609 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24610 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24611 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24612 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24613 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24614 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24615 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24616 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24617 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24618 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24619 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24620 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24621 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24622 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24623 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24624 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24625 * NEWS: Mention addition of x86_64 vector pow.
24626
24627 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24628 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24629 redirections for expf.
24630 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24631 * sysdeps/x86_64/fpu/Versions: New versions added.
24632 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24633 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24634 build of SSE, AVX2 and AVX512 IFUNC versions.
24635 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24636 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24637 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24638 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24639 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24640 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24641 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24642 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24643 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24644 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24645 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24646 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24647 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24648 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24649 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24650 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24651 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24652 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24653 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24654 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24655 * NEWS: Mention addition of x86_64 vector expf.
24656
24657 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24658 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24659 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24660 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24661 redirections for exp.
24662 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24663 * sysdeps/x86_64/fpu/Versions: New versions added.
24664 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24665 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24666 build of SSE, AVX2 and AVX512 IFUNC versions.
24667 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24669 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24671 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24672 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24673 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24674 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24675 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24676 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24677 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24678 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24679 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24680 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24681 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24682 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24683 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24684 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24685 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24686 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24687 * NEWS: Mention addition of x86_64 vector exp.
24688
24689 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24690 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24691 redirections for logf.
24692 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24693 * sysdeps/x86_64/fpu/Versions: New versions added.
24694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24695 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24696 build of SSE, AVX2 and AVX512 IFUNC versions.
24697 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24698 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24699 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24700 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24701 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24702 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24703 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24704 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24705 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24706 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24707 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24708 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24709 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24710 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24711 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24712 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24713 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24714 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24715 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24716 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24717 * NEWS: Mention addition of x86_64 vector logf.
24718
24719 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24720 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24721 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24722 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24723 redirections for log.
24724 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24725 * sysdeps/x86_64/fpu/Versions: New versions added.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24727 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24728 build of SSE, AVX2 and AVX512 IFUNC versions.
24729 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24730 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24731 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24732 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24733 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24734 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24735 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24736 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24737 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24738 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24739 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24740 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24741 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24742 test.
24743 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24744 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24745 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24746 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24747 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24748 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24749 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24750 * NEWS: Mention addition of x86_64 vector log.
24751
24752 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24753
24754 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24755 cfi_adjust_cfa_offset argument.
24756 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24757 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24758
24759 [BZ #18034]
24760 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24761 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24762 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24763 ordering using ldar.
24764 (_dl_tlsdesc_dynamic): Likewise.
24765 (_dl_tlsdesc_return_lazy): Likewise.
24766 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24767 relaxed atomics instead of volatile and synchronize with release store.
24768 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24769 volatile.
24770 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24771
24772 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24773
24774 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24775 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24776 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24777 * sysdeps/x86_64/fpu/Versions: New versions added.
24778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24779 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24780 build of SSE, AVX2 and AVX512 IFUNC versions.
24781 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24782 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24783 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24784 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24785 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24786 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24787 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24788 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24789 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24790 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24791 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24792 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24793 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24794 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24795 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24796 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24797 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24798 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24799 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24800 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24801 * NEWS: Mention addition of x86_64 vector sinf.
24802
24803 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24804
24805 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24806 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24807 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24808 Remove variable.
24809 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24810 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24811
24812 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24813
24814 [BZ #18530]
24815 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24816 strong alias of _IO_fputs. Use libc_hidden_def.
24817 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24818 and define as weak alias of __fputs_unlocked. Use
24819 libc_hidden_weak.
24820 * include/stdio.h (__fputs_unlocked): Declare. Use
24821 libc_hidden_proto.
24822 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24823 fputs_unlocked.
24824
24825 [BZ #18529]
24826 * resolv/netdb.h [__USE_POSIX]: Change condition to
24827 [__USE_XOPEN2K].
24828 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24829 not expect.
24830 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24831 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24832 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24833 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24834 [XPG4 || UNIX98] (AI_ALL): Likewise.
24835 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24836 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24837 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24838 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24839 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24840 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24841 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24842 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24843 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24844 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24845 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24846 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24847 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24848 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24849 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24850 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24851 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24852 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24853 [XPG4 || UNIX98] (gai_strerror): Likewise.
24854 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24855 [XPG4 || UNIX98] (getnameinfo): Likewise.
24856
24857 [BZ #18528]
24858 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24859 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24860 __USE_XOPEN2K8].
24861 (getgrent): Likewise.
24862 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24863 expect.
24864 [XPG3 || POSIX2008] (endgrent): Likewise.
24865 [XPG3] (setgrent): Likewise.
24866 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24867 variable.
24868 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24869
24870 [BZ #18527]
24871 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24872 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24873 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24874 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24875 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24876 * include/unistd.h (__getlogin_r): Declare. Use
24877 libc_hidden_proto.
24878 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24879 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24880 variable.
24881 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24882 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24883 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24884
24885 2015-06-12 Martin Sebor <msebor@redhat.com>
24886
24887 [BZ #18512]
24888 * Makerules (check-install-supported): New target.
24889 (install): Add check-install-supported as a dependency.
24890 * manual/install.texi (Installing the C Library): Document
24891 that overriding prefix and exec_prefix is not supported.
24892 Mention DESTDIR.
24893 * INSTALL: Regenerate from the above.
24894
24895 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24896
24897 [BZ #18519]
24898 * posix/Versions (libc): Export __libc_pread at version
24899 GLIBC_PRIVATE.
24900 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24901 instead of pread.
24902 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24903 variable.
24904
24905 [BZ #18522]
24906 * misc/efgcvt_r.c
24907 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24908 (cvt_symbol): Use weak_alias instead of strong_alias.
24909 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24910 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24911 Remove variable.
24912 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24913 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24914
24915 [BZ #18520]
24916 * inet/herrno.c (h_errno): Rename to __h_errno.
24917 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24918 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24919 to __h_errno instead of h_errno.
24920 * nptl/herrno.c (h_errno): Rename to __h_errno.
24921 (__h_errno_location): Refer to __h_errno not h_errno.
24922 * resolv/Versions (h_errno): Rename to __h_errno.
24923 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24924 Remove variable.
24925 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24926
24927 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24928
24929 * configure.ac: More strict check for AVX512 assembler support.
24930 * configure: Regenerated.
24931
24932 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24933 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24934 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24935 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24936 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24937 * sysdeps/x86_64/fpu/Versions: New versions added.
24938 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24939 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24940 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24941 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24942 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24943 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24944 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24945 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24946 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24947 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24948 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24949 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24950 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24951 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24952 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24953 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24954 test.
24955 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24956 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24957 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24958 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24959 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24960 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24961 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24962 * NEWS: Mention addition of x86_64 vector sin.
24963
24964 2015-06-11 Florian Weimer <fweimer@redhat.com>
24965
24966 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24967 comment.
24968
24969 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24970
24971 [BZ #18479]
24972 * nptl/pt-interp.c: New file.
24973 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24974 Add pt-interp.
24975 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24976 $(common-objpfx)runtime-linker.h.
24977
24978 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24979
24980 * Makeconfig (+interp): Remove unused variable.
24981 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24982 only. Depend on $(common-objpfx)runtime-linker.h instead of
24983 $(elf-objpfx)runtime-linker.h.
24984 ($(elf-objpfx)runtime-linker.h): Rename to
24985 $(common-objpfx)runtime-linker.h and move ...
24986 * Makerules [$(build-shared) = yes]: ... here.
24987 * elf/interp.c: Include <runtime-linker.h> instead of
24988 <elf/runtime-linker.h>.
24989
24990 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24991
24992 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24993 (__gettimeofday_syscall): Remove vsyscall fallback.
24994 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24995 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24996 Add syscall fallback function.
24997 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24998 if vDSO is not present.
24999 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25000 fallback function.
25001 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25002 present.
25003 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25004 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25005
25006 2015-06-09 Joseph Myers <joseph@codesourcery.com>
25007
25008 [BZ #18497]
25009 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25010 of wcscmp.
25011 (wcscmp): Define as weak alias of WCSCMP.
25012 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25013 wcscoll.
25014 (USE_HIDDEN_DEF): Define.
25015 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25016 __wcscoll. Don't use libc_hidden_weak.
25017 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25018 wcscmp.
25019 * sysdeps/i386/i686/multiarch/wcscmp-c.c
25020 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25021 __GI_wcscmp.
25022 (weak_alias): Undefine and redefine.
25023 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25024 __wcscmp and define as weak alias of __wcscmp.
25025 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25026 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
25027 (__wcscoll): Likewise.
25028 (wcscmp): Don't use libc_hidden_proto.
25029 (wcscoll): Likewise.
25030 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25031 wcscoll.
25032 * posix/regexec.c (check_node_accept_bytes): Likewise.
25033 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25034 variable.
25035 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25036 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25037
25038 [BZ #18507]
25039 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25040 __fstatvfs and define as weak alias of __fstatvfs. Use
25041 libc_hidden_weak.
25042 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25043 and define as weak alias of __statvfs. Use libc_hidden_weak.
25044 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25045 Define as alias of __fstatvfs, not fstatvfs.
25046 (fstatvfs64): Likewise.
25047 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25048 Define as alias of __statvfs, not statvfs.
25049 (statvfs64): Likewise.
25050 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25051 Remove variable.
25052
25053 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25054
25055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25056 (HAVE_GETCPU_VSYSCALL): Define.
25057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25058 (HAVE_GETCPU_VSYSCALL): Likewise.
25059 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25060 * sysdeps/unix/sysv/linux/sched_getcpu.c
25061 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25062 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25063 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25064 prototype.
25065 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25066 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25069 Define.
25070 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25071 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25072 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25074
25075 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
25076
25077 * sysdeps/x86_64/fpu/Makefile: New file.
25078 * sysdeps/x86_64/fpu/Versions: New file.
25079 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25080 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25081 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25082 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25083 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25084 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25085 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25086 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25089 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25090 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25091 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25092 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25093 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25094 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25095 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25096 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25097 * sysdeps/x86_64/configure: Regenerated.
25098 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25099 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25100 * manual/install.texi (Configuring and compiling): Document
25101 --disable-mathvec.
25102 * INSTALL: Regenerated.
25103 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25104
25105 * math/Makefile: Added rules for vector tests.
25106 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25107 declaration under condition.
25108 * math/test-double-vlen2.h: New file.
25109 * math/test-double-vlen4.h: New file.
25110 * math/test-double-vlen8.h: New file.
25111 * math/test-vec-loop.h: Added initialization macro.
25112 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25113 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25114 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25115 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25116 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25117 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25118 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25119 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25120 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25121 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25122 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25123
25124 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25125 * sysdeps/x86_64/fpu/Versions: New versions added.
25126 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25127 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25128 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25129 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25130 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25131 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25132 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25133 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25134 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25135 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25136 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25137 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25138 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25139 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25140 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25141 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25142 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25143 * NEWS: Mention addition of x86_64 vector cosf.
25144
25145 * math/Makefile: Added CFLAGS for new tests.
25146 * math/test-float-vlen16.h: New file.
25147 * math/test-float-vlen4.h: New file.
25148 * math/test-float-vlen8.h: New file.
25149 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25150 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25152 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25153 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25154 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25155 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25156 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25157 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25158 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25159 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25160
25161 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25162
25163 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25164 * locale/programs/ld-ctype.c: Likewise.
25165
25166 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25167
25168 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25169 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25170 bit_ZMM16_31_state): New macro.
25171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25172 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25173
25174 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25175
25176 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25177
25178 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25179
25180 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25181
25182 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25183
25184 [BZ #18498]
25185 * libio/memstream.c (open_memstream): Rename to __open_memstream
25186 and define as weak alias of __open_memstream.
25187 * include/stdio.h (__open_memstream): Declare. Use
25188 libc_hidden_proto.
25189 (open_memstream): Don't use libc_hidden_proto.
25190 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25191 open_memstream.
25192 * posix/getopt.c (_getopt_internal_r): Likewise.
25193 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25194 variable.
25195 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25196 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25197 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25198
25199 [BZ #18496]
25200 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25201 instead of wcrtomb.
25202
25203 [BZ #18483]
25204 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25205 [__USE_XOPEN2K8]. Remove redundant #endif.
25206 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25207 Remove redundant #if.
25208 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25209 Remove variable.
25210 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25211 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25212
25213 [BZ #18495]
25214 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25215 (__iswlower): Likewise.
25216 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25217 (__iswlower): Likewise.
25218 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25219 instead of towlower.
25220 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25221 instead of iswlower. Call __towupper instead of towupper.
25222 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25223 instead of iswalnum.
25224
25225 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25226
25227 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25228 errors to stderr.
25229
25230 2015-06-05 Florian Weimer <fweimer@redhat.com>
25231
25232 [BZ #15661]
25233 [BZ #17322]
25234 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25235 Check for overflow properly. Check for O_APPEND. Ignore large
25236 file system block sizes. Add comments about problems.
25237 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25238 * manual/filesys.texi (Storage Allocation): New node.
25239
25240 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25241
25242 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25243 cancellable syscalls.
25244 (SYS_ify): Add guard to no redefine it.
25245 (INLINE_SYSCALL): Likewise.
25246 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25247 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25248 SYSCALL_CANCEL instead.
25249 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25250 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25251 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25252 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25253 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25254 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25255 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25256 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25257 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25258 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25259 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25260 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25261 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25262 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25263 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25264 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25265 Likewise.
25266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25267 (__libc_pread64): Likewise.
25268 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25269 (__libc_preadv): Likewise.
25270 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25271 (__libc_readv64): Likewise.
25272 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25273 (__libc_pwrite): Likewise.
25274 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25275 (__libc_pwrite64): Likewise.
25276 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25277 (__libc_pwritev): Likewise.
25278 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25279 (__libc_pwritev64): Likewise.
25280 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25281 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25282 (sync_file_range): Likewise.
25283 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25284 Likewise.
25285 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25286 Likewise.
25287 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25288 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25289 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25290 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25291 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25292 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25293 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25294 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25296 Likewise.
25297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25298 (__libc_read64): Likewise.
25299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25300 Likewise.
25301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25302 Likewise.
25303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25304 Likewise.
25305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25306 Likewise.
25307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25308 (__libc_pread64): Likewise.
25309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25310 Likewise.
25311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25312 (__libc_pwrite64): Likewise.
25313 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25314 (sync_file_range): Likewise.
25315 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25316 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25317 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25318 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25319 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25320 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25321 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25322 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25323 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25324 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25325 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25326 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25327 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25328 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25329 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25330 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25331 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25332 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25333 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25334 Likewise.
25335 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25336 Likewise.
25337 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25338 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25339 Likewise.
25340 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25341 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25342 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25343 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25344 Likewise.
25345 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25346 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25347 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25348 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25349 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25350
25351 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25352
25353 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25354 Include dl-vdso.
25355 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25356 Use VDSO routines for gettimeofday, clock_gettime if
25357 available.
25358 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25359 Declare VDSO symbols.
25360 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25361 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25362 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25363 * sysdeps/unix/sysv/linux/arm/Versions: Add
25364 __vdso_clock_gettime.
25365
25366 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25367
25368 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25369 be an inline implementation regardless of library is built within.
25370 (open_not_cancel_2): Likewise.
25371 (__read_nocancel): Likewise.
25372 (__write_nocancel): Likewise.
25373 (openat_not_cancel): Likewise.
25374 (openat_not_cancel_3): Likewise.
25375 (openat64_not_cancel): Likewise.
25376 (openat64_not_cancel_3): Likewise.
25377 (__close_nocancel): Likewise.
25378 (pause_not_cancel): Likewise.
25379 (nanosleep_not_cancel): Likewise.
25380 (sigsuspend_not_cancel): Likewise.
25381
25382 2015-06-04 Torvald Riegel <triegel@redhat.com>
25383
25384 [BZ #14958]
25385 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25386 wake-up.
25387 (__pthread_rwlock_rdlock_slow): Likewise.
25388 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25389 Likewise.
25390 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25391 Likewise.
25392 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25393 * nptl/tst-rwlock16.c: New file.
25394 * nptl/Makefile (tests): Add new test.
25395
25396 2015-06-04 Torvald Riegel <triegel@redhat.com>
25397
25398 [BZ #18324]
25399 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25400 missing wake-up of readers.
25401 * nptl/tst-rwlock15.c: New file.
25402 * nptl/Makefile (tests): Add new test.
25403
25404 2015-06-03 Roland McGrath <roland@hack.frob.com>
25405
25406 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25407 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25408 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25409 and __nacl_supply_interface_rtld.
25410 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25411 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25412 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25413 Add __nacl_supply_interface_rtld.
25414 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25415
25416 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25417
25418 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25419 isfinite.
25420 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25421 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25422
25423 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25424
25425 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25426 __signbit* with standard C99 macros.
25427 * math/e_exp10l.c: Likewise.
25428 * math/e_exp2l.c: Likewise.
25429 * math/e_scalb.c: Likewise.
25430 * math/e_scalbf.c: Likewise.
25431 * math/e_scalbl.c: Likewise.
25432 * math/s_ldexp.c: Likewise.
25433 * math/s_ldexpf.c: Likewise.
25434 * math/s_ldexpl.c: Likewise.
25435 * math/w_atan2.c: Likewise.
25436 * math/w_atan2f.c: Likewise.
25437 * math/w_atan2l.c: Likewise.
25438 * math/w_cosh.c: Likewise.
25439 * math/w_coshf.c: Likewise.
25440 * math/w_coshl.c: Likewise.
25441 * math/w_exp10.c: Likewise.
25442 * math/w_exp10f.c: Likewise.
25443 * math/w_exp10l.c: Likewise.
25444 * math/w_exp2.c: Likewise.
25445 * math/w_exp2f.c: Likewise.
25446 * math/w_exp2l.c: Likewise.
25447 * math/w_fmod.c: Likewise.
25448 * math/w_fmodf.c: Likewise.
25449 * math/w_fmodl.c: Likewise.
25450 * math/w_hypot.c: Likewise.
25451 * math/w_hypotf.c: Likewise.
25452 * math/w_hypotl.c: Likewise.
25453 * math/w_jnl.c: Likewise.
25454 * math/w_lgamma.c: Likewise.
25455 * math/w_lgamma_r.c: Likewise.
25456 * math/w_lgammaf.c: Likewise.
25457 * math/w_lgammaf_r.c: Likewise.
25458 * math/w_lgammal.c: Likewise.
25459 * math/w_lgammal_r.c: Likewise.
25460 * math/w_pow.c: Likewise.
25461 * math/w_powf.c: Likewise.
25462 * math/w_powl.c: Likewise.
25463 * math/w_remainder.c: Likewise.
25464 * math/w_remainderf.c: Likewise.
25465 * math/w_remainderl.c: Likewise.
25466 * math/w_scalb.c: Likewise.
25467 * math/w_scalbf.c: Likewise.
25468 * math/w_scalbl.c: Likewise.
25469 * math/w_scalbln.c: Likewise.
25470 * math/w_scalblnf.c: Likewise.
25471 * math/w_scalblnl.c: Likewise.
25472 * math/w_sinh.c: Likewise.
25473 * math/w_sinhf.c: Likewise.
25474 * math/w_sinhl.c: Likewise.
25475 * math/w_tgamma.c: Likewise.
25476 * math/w_tgammaf.c: Likewise.
25477 * math/w_tgammal.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25485 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25486 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25487 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25506 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25509 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25510 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25511 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25512 * stdio-common/printf_fp.c: Likewise.
25513 * stdio-common/printf_fphex.c: Likewise.
25514 * stdio-common/printf_size.c: Likewise.
25515
25516 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25517
25518 [BZ #18470]
25519 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25520 strnlen.
25521 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25522 Remove variable.
25523 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25524 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25525 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25526 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25527 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25528 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25529 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25530 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25531 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25532 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25533
25534 [BZ #18468]
25535 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25536 weak alias of __wmemchr. Use libc_hidden_weak.
25537 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25538 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25539 instead of wmemchr.
25540
25541 2015-06-02 Roland McGrath <roland@hack.frob.com>
25542
25543 [BZ #18383]
25544 * elf/tst-tlsalign-extern.c: New file.
25545 * elf/tst-tlsalign-extern-static.c: New file.
25546 * elf/tst-tlsalign-vars.c: New file.
25547 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25548 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25549 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25550 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25551 (test-xfail-tst-tlsalign-extern-static): New variable.
25552
25553 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25554
25555 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25556 Use variable name _sc_err instead of err.
25557 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25558 instead of ret.
25559 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25560 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25561 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25562 (INLINE_SYSCALL): Likewise.
25563
25564 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25565 * include/string.h (__strnlen): Use libc_hidden_proto.
25566 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25567 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25568 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25569 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25570 (libc_hidden_def): Undefine and redefine.
25571 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25572 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25573 __GI_strnlen.
25574 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25575 libc_hidden_def.
25576 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25577
25578 [BZ #18469]
25579 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25580 weak alias of __towlower. Use libc_hidden_weak.
25581 (towupper): Rename to __towupper and define as weak alias of
25582 __towupper. Use libc_hidden_weak.
25583 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25584 (__towupper): Likewise.
25585 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25586 __towlower instead of towlower.
25587
25588 2015-06-02 Roland McGrath <roland@hack.frob.com>
25589
25590 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25591 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25592
25593 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25594
25595 * sysdeps/aarch64/libm-test-ulps: Update.
25596
25597 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25598
25599 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25600 Define.
25601 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25602 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25603 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25604 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25605 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25606 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25607 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25608
25609 2015-06-01 Martin Sebor <msebor@redhat.com>
25610
25611 [BZ #18116]
25612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25613 (__setcontext): Use extended four-operand version of mtsf whenever
25614 possible.
25615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25616 (__novec_swapcontext): Likewise.
25617
25618 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25619
25620 * benchtests/scripts/compare_bench.py: New file.
25621 * benchtests/scripts/import_bench.py (mean): New function.
25622 (split_list): Likewise.
25623 (do_for_all_timings): Likewise.
25624 (compress_timings): Likewise.
25625
25626 * benchtests/scripts/import_bench.py: New file.
25627 * benchtests/scripts/validate_benchout.py: Import import_bench
25628 instead of jsonschema.
25629 (validate_bench): Remove function.
25630 (main): Use import_bench.
25631
25632 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25633
25634 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25635 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25636
25637 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25638
25639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25640
25641 2015-05-28 Roland McGrath <roland@hack.frob.com>
25642
25643 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25644 set THREAD_SELF->tid to a magic value and futex-wake it.
25645 Pass its address to the thread_exit system call.
25646 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25647 bit is clear.
25648 * sysdeps/nacl/lowlevellock.h: New file.
25649 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25650
25651 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25652 Add TIMEOUT to current time, don't subtract it.
25653
25654 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25655
25656 [BZ #2981]
25657 [BZ #18422]
25658 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25659 ($(objpfx)tst-audit2.out): Also depend on
25660 $(objpfx)tst-auditmod9b.so.
25661 * elf/tst-audit2.c: Include <dlfcn.h>.
25662 (calloc_called): New.
25663 (calloc): Allow to be called more than once.
25664 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25665
25666 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25667
25668 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25669 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25670
25671 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25672
25673 * stdlib/monetary.h: Fix comment.
25674
25675 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25676
25677 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25678 Avoid using variables in #defines that might cause shadowing.
25679 (INTERNAL_VSYSCALL_CALL): Likewise.
25680
25681 2015-05-26 Roland McGrath <roland@hack.frob.com>
25682
25683 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25684
25685 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25686 * nptl/lll_timedlock_wait.c: ... to this new file.
25687 * nptl/Makefile (libpthread-routines): Add it.
25688 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25689 * nptl/lll_timedwait_tid.c: ... to this new file.
25690 * nptl/Makefile (libpthread-routines): Add it.
25691 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25692 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25693 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25694 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25695 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25696 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25697 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25698 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25699 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25700 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25701
25702 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25703
25704 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25705 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25706 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25707 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25708 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25709 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25710 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25711 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25712 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25713 * sysdeps/unix/sysv/linux/tile/sysdep.h
25714 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25715 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25716 using vDSO syscall macro.
25717
25718 2015-05-26 Andriy Rysin <arysin@gmail.com>
25719
25720 [BZ #17293]
25721 * uk_UA: Fix sorting order for Ukrainian locale
25722
25723 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25724
25725 * stdlib/monetary.h: Fix comment.
25726
25727 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25728
25729 [BZ #18234]
25730 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25731 st_mtim and st_ctim members.
25732 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25733 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25734 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25735 (struct stat64): Likewise.
25736 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25737 (struct stat64): Likewise.
25738 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25739 (struct stat64): Likewise.
25740
25741 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25742
25743 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25744 Define and include sysdep-vdso.h.
25745 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25746 Likewise.
25747 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25748 Likewise.
25749 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25750 Define with VDSO_SYMBOL and use PTR_MANGLE.
25751 (__vdso_clock_gettime): Likewise.
25752 (__vdso_clock_getres): Likewise.
25753 (_libc_vdso_platform_setup): Likewise.
25754 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25755 Likewise.
25756 (_libc_vdso_platform_setup): Likewise.
25757 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25758 Likewise.
25759 (__vdso_clock_gettime): Likewise.
25760 (__vdso_clock_getres): Likewise.
25761 (__vdso_get_tbfreq): Likewise.
25762 (__vdso_getcpu): Likewise.
25763 (__vdso_time): Likewise.
25764 (__vdso_sigtramp_rt64): Likewise.
25765 (__vdso_signtramp32): Likewise.
25766 (__vdso_sigtramp_rt32): Likewise.
25767 (_libc_vdso_platform_setup): Likewise.
25768 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25769 Likewise.
25770 (__vdso_clock_gettime): Likewise.
25771 (__vdso_clock_getres): Likewise.
25772 (_libc_vdso_platform_setup): Likewise.
25773 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25774 Likewise.
25775 (__vdso_clock_gettime): Likewise.
25776 (_libc_vdso_platform_setup): Likewise.
25777 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25778 Likewise.
25779 (__vdso_getcpu): Likewise.
25780 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25781 Use VDSO_SYMBOL macro to define.
25782 (__vdso_clock_gettime): Likewise.
25783 (__vdso_clock_getres): Likewise.
25784 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25785 Likewise.
25786 (__vdso_clock_gettime): Likewise.
25787 (__vdso_clock_getres): Likewise.
25788 (__vdso_get_tbfreq): Likewise.
25789 (__vdso_getcpu): Likewise.
25790 (__vdso_time): Likewise.
25791 (__vdso_sigtramp_rt64): Likewise.
25792 (__vdso_signtramp32): Likewise.
25793 (__vdso_sigtramp_rt32): Likewise.
25794 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25795 Likewise.
25796 (__vdso_clock_gettime): Likewise.
25797 (__vdso_clock_getres): Likewise.
25798 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25799 Likewise.
25800 (__vdso_clock_gettime): Likewise.
25801 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25802 Likewise.
25803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25804 macro.
25805 (INTERNAL_VSYSCALL): Likewise.
25806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25807 Remove macro.
25808 (INTERNAL_VSYSCALL): Likewise.
25809 (INTERNAL_VSYSCALL_NCS): Likewise.
25810 (INTERNAL_VSYSCALL_CALL): New macro.
25811 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25812 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25813 Likewise.
25814 (INTERNAL_VSYSCALL): Likewise.
25815 (INTERNAL_VSYSCALL_NCS): Likewise.
25816 (INTERNAL_VSYSCALL_CALL): New macro.
25817 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25819 (INLINE_VSYSCALL): Remove macro.
25820 (INTERNAL_VSYSCALL): Remove macro.
25821 (INTERNAL_VSYSCALL_NCS): Remove macro.
25822 (INTERNAL_VSYSCALL_CALL): New macro.
25823 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25824 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25825 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25826 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25827 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25829 (INLINE_VSYSCALL): Remove macro.
25830 (INTERNAL_VSYSCALL): Likewise.
25831 (INTERNAL_VSYSCALL_NCS): Likewise.
25832 (INTERNAL_VSYSCALL_CALL): New macro.
25833 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25834 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25835 PTR_DEMANGLE on vDSO pointer.
25836 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25837 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25838 macro.
25839 (INTERNAL_SYSCALL): Likewise.
25840 (INTERNAL_VSYSCALL_NCS): Remove macro.
25841 (INTERNAL_VSYSCALL_CALL): New macro.
25842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25843 Remove macro.
25844 (INTERNAL_VSYSCALL): Likewise.
25845 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25846 sysdep-vdso.h instead of libc-vdso.h.
25847 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25848 definition.
25849 (INLINE_VSYSCALL): Likewise.
25850 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25851 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25852 definition.
25853 (INLINE_VSYSCALL): Likewise.
25854 (INTERNAL_VSYSCALL): Likewise.
25855 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25856 * sysdeps/unix/sysv/linux/timespec_get.c
25857 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25858 (timespec_get): Use ANSI prototype.
25859 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25860 and definition for Linux.
25861
25862 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25863
25864 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25865 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25866
25867 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25868
25869 [BZ #2981]
25870 [BZ #18410]
25871 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25872 for missing DT_PLTRELSZ.
25873
25874 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25875
25876 Remove obsolete aliases that broke 'locale -a'
25877 [BZ #18412]
25878 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25879 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25880 breaking some applications that use 'locale -a' output.
25881 Change the encoding of this file from Latin-1 to ASCII to avoid
25882 other potential problems with people grepping this file.
25883
25884 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25885
25886 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25887 -fasynchronous-unwind-tables.
25888 (CFLAGS-sendto.c): Likewise.
25889 (CFLAGS-sendmsg.c): Likewise.
25890 (CFLAGS-connect.c): Likewise.
25891 (CFLAGS-recvmsg.c): Likewise.
25892 (CFLAGS-recvfrom.c): Likewise.
25893 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25894 (SOCKETCALL): New macro: non-cancellable socketcall.
25895 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25896 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25897 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25898 * sysdeps/unix/sysv/linux/accept.c: New file.
25899 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25900 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25901 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25902 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25903 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25904 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25905 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25906 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25907 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25908 * sysdeps/unix/sysv/linux/send.c: Likewise.
25909 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25910 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25911 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25912 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25913 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25914 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25915 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25916 prototype.
25917 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25918 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25919 instead of __internal_xxx function.
25920 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25921 prototype.
25922 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25923 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25924 instead of __internal_xxx function.
25925 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25926 prototype.
25927 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25928 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25929 instead of __internal_xxx function.
25930 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25931 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25932 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25933 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25934 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25935 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25936 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25937 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25938 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25939 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25940 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25941 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25942 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25943 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25944 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25945 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25946 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25947 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25948 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25949 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25952 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25953 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25954 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25955 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25956 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25957 * sysdeps/unix/sysv/linux/send.S: Likewise.
25958 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25959 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25960 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25961 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25962 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25963 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25964 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25965 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25966 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25967 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25968 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25969 socketcall is implemented in GLIBC.
25970
25971 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25972
25973 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25974 (__fma): Ignore uninitialized warnings around packing.
25975 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25976 (__fmaf): Ignore uninitialized warnings around packing.
25977 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25978 (__fmal): Ignore uninitialized warnings around packing.
25979
25980 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25981 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25982 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25983 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25984
25985 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25986 switch statement into default case.
25987 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25988
25989 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25990 a conditional in forcing "inexact".
25991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25992 Likewise.
25993
25994 2015-05-22 Roland McGrath <roland@hack.frob.com>
25995
25996 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25997 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25998 for each INTERNAL_SYSCALL use.
25999
26000 2015-05-22 Joseph Myers <joseph@codesourcery.com>
26001
26002 [BZ #438]
26003 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26004 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26005 variable.
26006
26007 [BZ #18444]
26008 * string/basename.c (basename): Rename to __basename and define as
26009 weak alias of __basename. Use libc_hidden_weak.
26010 * include/string.h (__basename): Declare. Use libc_hidden_proto.
26011 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26012 __basename instead of basename.
26013 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26014 Remove variable.
26015 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26016
26017 2015-05-18 Florian Weimer <fweimer@redhat.com>
26018
26019 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26020 (_IO_JUMPS_FILE_plus): New.
26021 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26022 _IO_CAST_FIELD_ACCESS.
26023 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26024 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26025 * libio/freopen.c (freopen): Likewise.
26026 * libio/freopen64.c (freopen64): Likewise.
26027 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26028 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26029 * libio/iofwide.c (_IO_fwide): Likewise.
26030 * libio/memstream.c (open_memstream): Likewise.
26031 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26032 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26033 * libio/oldiopopen.c (_IO_old_popen): Likewise.
26034
26035 2015-05-21 Joseph Myers <joseph@codesourcery.com>
26036
26037 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26038 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26039 NADJ.
26040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26041 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26042 NADJ.
26043 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26044 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26045 NADJ.
26046
26047 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26048 (p == 4) case.
26049
26050 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26051 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26052 Remove variable.
26053 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26054 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26055 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26056
26057 2015-05-21 Florian Weimer <fweimer@redhat.com>
26058
26059 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26060 Adjust jump table label generation macros.
26061
26062 2015-05-21 Florian Weimer <fweimer@redhat.com>
26063
26064 * stdio-common/vfprintf.c (vfprintf): Move local variables
26065 args_malloced, specs, specs_malloced, and the code after
26066 do_positional to the printf_positional function.
26067 (printf_positional): New function.
26068
26069 2015-05-21 Florian Weimer <fweimer@redhat.com>
26070
26071 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26072 function.
26073 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26074 STEP4_TABLE, process_arg): Move macro definitions
26075 out of the vfprintf function. (Cosmetic change only.)
26076
26077 2015-05-21 Carlos O'Donell <carlos@redhat.com>
26078
26079 * benchtests/Makefile (stdio-common-bench): Define.
26080 (benchset): Add stdio-common-bench.
26081 * sprintf-inputs: New file.
26082 * sprintf-source.c: New file.
26083
26084 2015-05-21 Andreas Schwab <schwab@suse.de>
26085
26086 [BZ #13028]
26087 [BZ #17053]
26088 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26089 of struct __res_state.
26090 * resolv/res_send.c (__libc_res_nsend): Likewise.
26091 (get_nsaddr): New function.
26092 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26093 statp directly.
26094
26095 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26096
26097 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26098 -D_POSIX_C_SOURCE=199506L.
26099
26100 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26101
26102 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26103 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26104 Do not mention otherwise.
26105 [POSIX] (_XOPEN_VERSION): Do not expect.
26106 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26107 [POSIX] (_POSIX2_C_BIND): Likewise.
26108 [POSIX] (_POSIX2_VERSION): Likewise.
26109 [POSIX] (_XOPEN_XPG2): Likewise.
26110 [POSIX] (_XOPEN_XPG3): Likewise.
26111 [POSIX] (_XOPEN_XPG4): Likewise.
26112 [POSIX] (_XOPEN_UNIX): Likewise.
26113 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26114 [POSIX] (_POSIX_BARRIERS): Likewise.
26115 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26116 [POSIX] (_POSIX_CPUTIME): Likewise.
26117 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26118 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26119 [POSIX] (_POSIX_SHELL): Likewise.
26120 [POSIX] (_POSIX_SPAWN): Likewise.
26121 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26122 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26123 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26124 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26125 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26126 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26127 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26128 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26129 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26130 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26131 [POSIX] (_POSIX2_PBS): Likewise.
26132 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26133 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26134 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26135 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26136 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26137 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26138 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26139 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26140 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26141 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26142 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26143 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26144 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26145 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26146 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26147 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26148 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26149 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26150 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26151 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26152 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26153 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26154 [POSIX] (_SC_2_C_BIND): Likewise.
26155 [POSIX] (_SC_2_C_VERSION): Likewise.
26156 [POSIX] (_SC_2_PBS): Likewise.
26157 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26158 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26159 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26160 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26161 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26162 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26163 [POSIX] (_SC_BARRIERS): Likewise.
26164 [POSIX] (_SC_BASE): Likewise.
26165 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26166 [POSIX] (_SC_DEVICE_IO): Likewise.
26167 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26168 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26169 [POSIX] (_SC_FD_MGMT): Likewise.
26170 [POSIX] (_SC_FIFO): Likewise.
26171 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26172 [POSIX] (_SC_FILE_LOCKING): Likewise.
26173 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26174 [POSIX] (_SC_IOV_MAX): Likewise.
26175 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26176 [POSIX] (_SC_NETWORKING): Likewise.
26177 [POSIX] (_SC_PAGE_SIZE): Likewise.
26178 [POSIX] (_SC_PASS_MAX): Likewise.
26179 [POSIX] (_SC_PIPE): Likewise.
26180 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26181 [POSIX] (_SC_REGEXP): Likewise.
26182 [POSIX] (_SC_SHELL): Likewise.
26183 [POSIX] (_SC_SIGNALS): Likewise.
26184 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26185 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26186 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26187 [POSIX] (_SC_USER_GROUPS): Likewise.
26188 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26189 [POSIX] (_SC_STREAMS): Likewise.
26190 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26191 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26192 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26193 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26194 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26195 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26196 [POSIX] (_PC_FILESIZEBITS): Likewise.
26197 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26198 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26199 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26200 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26201 [POSIX] (uid_t): Likewise.
26202 [POSIX] (gid_t): Likewise.
26203 [POSIX] (off_t): Likewise.
26204 [POSIX] (pid_t): Likewise.
26205 [POSIX] (cuserid): Allow.
26206 (_SC_2_CHAR_TERM): Require constant.
26207 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26208 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26209 variable.
26210
26211 2015-05-20 Roland McGrath <roland@hack.frob.com>
26212
26213 * sysdeps/nacl/pthread-pids.h: New file.
26214 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26215 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26216
26217 * nptl/pthread-pids.h: New file.
26218 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26219 * nptl/nptl-init.c: Include <pthread-pids.h>.
26220 (__pthread_initialize_minimal_internal):
26221 Call __pthread_initialize_pids instead of set_tid_address syscall.
26222
26223 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26224 * sysdeps/posix/usleep.c: ... here.
26225
26226 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26227
26228 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26229 call_pselect6 object.
26230 [$(subdir) = io]: Remove call_sync_file_range object.
26231 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26233 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26234 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26235
26236 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26237
26238 * math/s_cproj.c: Add include "math_private.h".
26239 * math/s_cprojf.c: Likewise.
26240 * math/s_cprojl.c: Likewise.
26241
26242 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26243
26244 [BZ #18244]
26245 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26246 high mantissa bit when testing whether P is a NaN.
26247 * math/libm-test.inc (remainder_test_data): Add more tests.
26248 (remquo_test_data): Likewise.
26249
26250 [BZ #18049]
26251 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26252 below -32, return the argument, with underflow if subnormal.
26253 * math/auto-libm-test-in: Add more tests of atanh.
26254 * math/auto-libm-test-out: Regenerated.
26255
26256 2015-05-19 Roland McGrath <roland@hack.frob.com>
26257
26258 [BZ #18434]
26259 * nptl/tst-sem15.c: New file.
26260 * nptl/Makefile (tests): Add it.
26261 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26262 s/<</>>/ to fix typo in EOVERFLOW check.
26263 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26264
26265 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26266
26267 * manual/strings.texi (envz_remove): Fix typo in safety
26268 annotations.
26269
26270 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26271 Steve Ellcey <sellcey@imgtec.com>
26272
26273 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26274 in order to avoid strict alias warnings.
26275 (iruserok_af): Ditto for ra.
26276
26277 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26278
26279 [BZ #17581]
26280 * malloc/hooks.c
26281 (magicbyte): Convert to a function and avoid returning 0x01.
26282 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26283 (mem2chunk_check): Fix unsigned comparisons to zero.
26284 Hoist defs of sz and magic.
26285
26286 2015-05-19 Richard Henderson <rth@redhat.com>
26287
26288 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26289
26290 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26291
26292 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26293
26294 [BZ #16159]
26295 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26296 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26297 (reused_arena): Find a non-corrupt arena.
26298 (heap_trim): Pass arena to unlink.
26299 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26300 malloc_printerr.
26301 (top_check): Likewise.
26302 (free_check): Likewise.
26303 (realloc_check): Likewise.
26304 * malloc/malloc.c (malloc_printerr): Add arena argument.
26305 (unlink): Likewise.
26306 (munmap_chunk): Adjust.
26307 (ARENA_CORRUPTION_BIT): New macro.
26308 (arena_is_corrupt): Likewise.
26309 (set_arena_corrupt): Likewise.
26310 (sysmalloc): Use mmap if there are no usable arenas.
26311 (_int_malloc): Likewise.
26312 (__libc_malloc): Don't fail if arena_get returns NULL.
26313 (_mid_memalign): Likewise.
26314 (__libc_calloc): Likewise.
26315 (__libc_realloc): Adjust for additional argument to
26316 malloc_printerr.
26317 (_int_free): Likewise.
26318 (malloc_consolidate): Likewise.
26319 (_int_realloc): Likewise.
26320 (_int_memalign): Don't touch corrupt arenas.
26321 * malloc/tst-malloc-backtrace.c: New test case.
26322
26323 * Makefile (summarize-tests): Fix return value on success.
26324
26325 * manual/string.texi (Envz Functions): Add envz_remove.
26326
26327 2015-05-18 Roland McGrath <roland@hack.frob.com>
26328
26329 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26330 (invalid_name): New function, broken out of ...
26331 (__opendirat): ... here. Call it.
26332 (need_isdir_precheck): New function, broken out of ...
26333 (__opendirat): ... here. Call it.
26334 Use __fxstatat64, not __xstatat64.
26335 (opendir_oflags): New function, broken out of ...
26336 (__opendirat): ... here. Call it.
26337 (opendir_tail): New function, broken out of ...
26338 (__opendirat): ... here. Call it.
26339 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26340 opendir_tail, rather than punting to __opendirat.
26341 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26342
26343 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26344
26345 * .gitignore: Ignore generated *.pyc.
26346
26347 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26348
26349 * include/stdio.h: Define __need_wint_t.
26350 * test-skeleton.c: Avoid `for' loop initial declaration.
26351 * nptl/tst-initializers1.c: Use test-skeleton.c.
26352
26353 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26354
26355 [BZ #18418]
26356 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26357
26358 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26359
26360 [BZ #16352]
26361 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26362 (__ieee754_atanh): Force underflow exception for results with
26363 small absolute value.
26364 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26365 (__ieee754_atanhf): Force underflow exception for results with
26366 small absolute value.
26367 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26368 (__ieee754_atanh): Force underflow exception for results with
26369 small absolute value.
26370 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26371 (__ieee754_atanhf): Force underflow exception for results with
26372 small absolute value.
26373 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26374 (__ieee754_atanhl): Force underflow exception for results with
26375 small absolute value.
26376 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26377 (__ieee754_atanhl): Force underflow exception for results with
26378 small absolute value.
26379 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26380 (__ieee754_atanhl): Force underflow exception for results with
26381 small absolute value.
26382 * math/auto-libm-test-in: Do not allow missing underflow
26383 exceptions from atanh.
26384 * math/auto-libm-test-out: Regenerated.
26385
26386 [BZ #18221]
26387 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26388 2**-28 as threshold for returning x or +/- 1/x.
26389 * math/auto-libm-test-in: Add more tests of tan.
26390 * math/auto-libm-test-out: Regenerated.
26391
26392 [BZ #18220]
26393 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26394 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26395 * math/auto-libm-test-in: Add another test of lgamma.
26396 * math/auto-libm-test-out: Regenerated.
26397
26398 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26399
26400 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26401 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26402 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26403 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26404 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26405 (ADD2A): Use fabs. (SUB2A): Use fabs.
26406 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26407 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26409 (log1): Use fabs. (my_log2): Use fabs.
26410 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26411 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26412 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26413 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26414 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26415 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26416 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26417 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26418 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26419 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26420 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26421
26422 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26423
26424 [BZ #18217]
26425 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26426 as threshold for returning 1 - x.
26427 * math/auto-libm-test-in: Add more tests of erfc.
26428 * math/auto-libm-test-out: Regenerated.
26429
26430 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26431
26432 [BZ #18196]
26433 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26434 threshold for large arguments.
26435 * math/auto-libm-test-in: Add another test of atan.
26436 * math/auto-libm-test-out: Regenerated.
26437
26438 [BZ #16339]
26439 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26440 (__log1p): Force underflow exception for results with small
26441 absolute value.
26442 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26443 (__log1pf): Force underflow exception for results with small
26444 absolute value.
26445 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26446 (__log1p): Force underflow exception for results with small
26447 absolute value.
26448 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26449 (__log1pf): Force underflow exception for results with small
26450 absolute value.
26451 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26452 (__log1pl): Force underflow exception for results with small
26453 absolute value.
26454 * math/auto-libm-test-in: Do not allow missing underflow
26455 exceptions from log1p.
26456 * math/auto-libm-test-out: Regenerated.
26457
26458 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26459 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26460
26461 [BZ #16704]
26462 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26463
26464 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26465
26466 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26467 (libmvec): New variable.
26468 * configure.ac: Added option for mathvec build.
26469 * configure: Regenerated.
26470 * mathvec/Depend: New file.
26471 * mathvec/Makefile: New file.
26472 * shlib-versions: Added libmvec.
26473 * math/Makefile: Added rule for libm.so installation.
26474
26475 * bits/math-vector.h: New file.
26476 * bits/libm-simd-decl-stubs.h: New header.
26477 * math/Makefile (headers): Added new header
26478 libm-simd-decl-stubs.h.
26479 * math/math.h (__MATHCALL_VEC): New macro.
26480
26481 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26482 for conditions in testing functions.
26483 * math/Makefile: Added call of libm-have-vector-test.sh.
26484 * math/libm-test.inc (HAVE_VECTOR): New macros.
26485
26486 * math/libm-test.inc: START refactored.
26487 * math/test-double.c (TEST_MATHVEC): Add define.
26488 * math/test-float.c: Likewise.
26489 * math/test-idouble.c: Likewise.
26490 * math/test-ifloat.c: Likewise.
26491 * math/test-ildoubl.c: Likewise.
26492 * math/test-ldouble.c: Likewise.
26493 * sysdeps/generic/math-tests-arch.h
26494 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26495 architecture check.
26496
26497 * math/test-double.c (FUNC_TEST): New macro.
26498 * math/test-float.c: Likewise.
26499 * math/test-idouble.c: Likewise.
26500 * math/test-ifloat.c: Likewise.
26501 * math/test-ildoubl.c: Likewise.
26502 * math/test-ldouble.c: Likewise.
26503 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26504
26505 2015-05-13 Roland McGrath <roland@hack.frob.com>
26506
26507 * sysdeps/nacl/fdopendir.c: New file.
26508
26509 * dirent/scandir-tail.c: New file.
26510 * dirent/scandir64-tail.c: New file.
26511 * dirent/Makefile (routines): Add them.
26512 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26513 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26514 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26515 [!SCANDIR] (SCANDIR_TAIL): New macro.
26516 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26517 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26518 (SCANDIRAT): Macro removed.
26519 (SCANDIR_TAIL): New macro.
26520 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26521 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26522 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26523 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26524 (READDIR): Macro removed.
26525 (SCANDIR_TAIL): New macro.
26526 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26527 (SCANDIR_TAIL): New macro.
26528
26529 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26530 * dirent/scandir-cancel.c: ... to this new file.
26531 * dirent/Makefile (routines): Add it.
26532 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26533 * sysdeps/unix/sysv/linux/i386/scandir64.c
26534 (SKIP_SCANDIR_CANCEL): Macro removed.
26535 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26536
26537 * dirent/tst-scandir.c: New file.
26538 * dirent/tst-scandir64.c: New file.
26539 * dirent/Makefile (tests): Add them.
26540
26541 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26542
26543 [BZ #18409]
26544 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26545
26546 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26547
26548 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26549 list.
26550
26551 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26552
26553 * benchtests/bench-strcoll.c: New benchmark.
26554 * benchtests/Makefile: Generate locales and run benchmark.
26555 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26556 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26557 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26558 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26559 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26560 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26561 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26562 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26563 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26564 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26565 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26566 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26567 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26568 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26569 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26570 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26571 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26572 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26573 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26574 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26575 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26576 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26577 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26578 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26579
26580 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26581
26582 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26583 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26584
26585 2015-05-12 Roland McGrath <roland@hack.frob.com>
26586
26587 * posix/uname-values.h: New file.
26588 * posix/uname.c: Include that instead of <config-name.h>.
26589 * sysdeps/nacl/uname-values.h: New file.
26590 * sysdeps/arm/nacl/uname-values.h: New file.
26591
26592 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26593
26594 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26595 splitting into fields.
26596
26597 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26598
26599 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26600 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26601 * locale/localeinfo.h: Add enum collation_encoding_type.
26602 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26603 * programs/ld-collate.c (collate_output): Add encoding type info.
26604 * string/strcoll_l.c (STRDIFF): New function.
26605 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26606 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26607
26608 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26609
26610 [BZ #18397]
26611 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26612 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26613 <fpu_control.h> instead of <math/fpu_control.c>.
26614 * sysdeps/mips/mips32/fpu/Makefile: New file.
26615
26616 2015-05-11 Andreas Schwab <schwab@suse.de>
26617
26618 [BZ #18007]
26619 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26620 nss_endgrent.
26621 (_nss_compat_endgrent): Call nss_endgrent.
26622 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26623 nss_endpwent.
26624 (_nss_compat_endpwent): Call nss_endpwent.
26625 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26626 needent, call nss_setspent only if non-zero.
26627 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26628 (internal_endspent): Don't call nss_endspent.
26629 (_nss_compat_endspent): Call nss_endspent.
26630 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26631 Remove. All uses removed.
26632 (internal_setent): Remove parameter stayopen, add parameter
26633 stream. Use it instead of global variable.
26634 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26635 (internal_endent, internal_getent): Add parameter stream. Use it
26636 instead of global variable.
26637 (CONCAT(_nss_files_end,ENTNAME))
26638 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26639 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26640 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26641 uses removed.
26642 (internal_setent, internal_endent): Add parameter stream. Use it
26643 instead of global variable.
26644 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26645 stream.
26646 (get_next_alias): Add parameter stream.
26647 (_nss_files_getaliasent_r): Pass global stream.
26648 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26649 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26650 (_nss_files_gethostbyname4_r): Pass local stream to
26651 internal_setent, internal_getent and internal_endent. Remove
26652 locking.
26653
26654 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26655
26656 * tst-strfmon1.c (tests): Update expected currency symbol.
26657
26658 2015-05-08 Roland McGrath <roland@hack.frob.com>
26659
26660 * sysdeps/nacl/gethostname.c: New file.
26661
26662 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26663
26664 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26665 and sinh.
26666 * math/auto-libm-test-out: Regenerated.
26667 * sysdeps/i386/fpu/libm-test-ulps: Update.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26669
26670 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26671
26672 [BZ #18125]
26673 * stdlib/tst-setcontext3.c: New file.
26674 * stdlib/tst-setcontext3.sh: New file.
26675 * stdlib/Makefile (tests): Add tst-setcontext3.
26676 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26677 to verify test program created output file.
26678 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26679 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26680 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26681 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26682
26683 2015-05-06 Roland McGrath <roland@hack.frob.com>
26684
26685 [BZ #18383]
26686 * elf/tst-tlsalign.c: New file.
26687 * elf/tst-tlsalign-static.c: New file.
26688 * elf/tst-tlsalign-lib.c: New file.
26689 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26690 (tests-static): Add tst-tlsalign-static.
26691 (modules-names): Add tst-tlsalign-lib.
26692 (test-xfail-tst-tlsalign): New variable.
26693 (test-xfail-tst-tlsalign-static): New variable.
26694
26695 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26696 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26697
26698 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26699
26700 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26701 csqrt, erfc, sin and sincos.
26702 * math/auto-libm-test-out: Regenerated.
26703 * sysdeps/i386/fpu/libm-test-ulps: Update.
26704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26705
26706 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26707
26708 * sysdeps/aarch64/libm-test-ulps: Update.
26709
26710 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26711
26712 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26713 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26714 * math/auto-libm-test-out: Regenerated.
26715 * sysdeps/i386/fpu/libm-test-ulps: Update.
26716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26717
26718 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26719
26720 [BZ #18265]
26721 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26722 (wcsncpy): Likewise.
26723
26724 2015-05-05 Florian Weimer <fweimer@redhat.com>
26725
26726 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26727 Assume __ASSUME_FALLOCATE is always true.
26728 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26729 (__posix_fallocate64_l64): Likewise.
26730 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26731 (posix_fallocate): Likewise.
26732 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26733 (__posix_fallocate64_l64): Likewise.
26734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26735 [!__ASSUME_FALLOCATE]: Add comment.
26736
26737 2015-05-05 Florian Weimer <fweimer@redhat.com>
26738
26739 * sysdeps/unix/sysv/linux/i386/Makefile
26740 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26741 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26742 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26743 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26744 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26745 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26746 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26747
26748 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26749
26750 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26751 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26752 tgamma.
26753 * math/auto-libm-test-out: Regenerated.
26754 * sysdeps/i386/fpu/libm-test-ulps: Update.
26755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26756
26757 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26758
26759 * math/auto-libm-test-in: Add more tests of tgamma.
26760 * math/auto-libm-test-out: Regenerated.
26761 * sysdeps/i386/fpu/libm-test-ulps: Update.
26762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26763
26764 * math/auto-libm-test-in: Add more tests of tanh.
26765 * math/auto-libm-test-out: Regenerated.
26766 * sysdeps/i386/fpu/libm-test-ulps: Update.
26767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26768
26769 * math/auto-libm-test-in: Add more tests of tan.
26770 * math/auto-libm-test-out: Regenerated.
26771 * sysdeps/i386/fpu/libm-test-ulps: Update.
26772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26773
26774 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26775 * math/auto-libm-test-out: Regenerated.
26776 * sysdeps/i386/fpu/libm-test-ulps: Update.
26777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26778
26779 * math/auto-libm-test-in: Add another test of pow.
26780 * math/auto-libm-test-out: Regenerated.
26781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26782
26783 * math/auto-libm-test-in: Add more tests of lgamma.
26784 * math/auto-libm-test-out: Regenerated.
26785 * sysdeps/i386/fpu/libm-test-ulps: Update.
26786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26787
26788 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26789 log1p.
26790 * math/auto-libm-test-out: Regenerated.
26791 * sysdeps/i386/fpu/libm-test-ulps: Update.
26792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26793
26794 2015-05-01 Mark Wielaard <mjw@redhat.com>
26795
26796 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26797 Elf64_Chdr structs and ELFCOMPRESS constants.
26798
26799 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26800
26801 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26802 expm1.
26803 * math/auto-libm-test-out: Regenerated.
26804 * sysdeps/i386/fpu/libm-test-ulps: Update.
26805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26806
26807 * math/auto-libm-test-in: Add more tests of erf and erfc.
26808 * math/auto-libm-test-out: Regenerated.
26809 * sysdeps/i386/fpu/libm-test-ulps: Update.
26810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811
26812 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26813
26814 * config.h.in (HAVE_AARCH64_BE): Add.
26815
26816 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26817
26818 * math/auto-libm-test-in: Add more tests of csqrt.
26819 * math/auto-libm-test-out: Regenerated.
26820 * sysdeps/i386/fpu/libm-test-ulps: Update.
26821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26822
26823 * math/auto-libm-test-in: Add more tests of cosh and sinh.
26824 * math/auto-libm-test-out: Regenerated.
26825 * sysdeps/i386/fpu/libm-test-ulps: Update.
26826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26827
26828 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26829
26830 2015-04-29 Roland McGrath <roland@hack.frob.com>
26831
26832 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26833 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26834
26835 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26836 (euidaccess, eaccess): Define as weak aliases.
26837
26838 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26839 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26840 but __suseconds_t is often 'long int' so some sources assume that
26841 type is being used (e.g. they use %ld to print tv_usec).
26842
26843 2015-04-29 Florian Weimer <fweimer@redhat.com>
26844
26845 [BZ #18007]
26846 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26847 (CVE-2014-8121)
26848 * nss/tst-nss-getpwent.c: New file.
26849 * nss/Makefile (tests): Add new test.
26850
26851 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26852
26853 [BZ #18346]
26854 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26855 exponents less than 48 as cases where high part of mantissa needs
26856 examining to determine whether argument is integral.
26857 * math/libm-test.inc (round_test_data): Add more tests.
26858
26859 2015-04-28 Mark Wielaard <mjw@redhat.com>
26860
26861 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26862
26863 2015-04-27 David S. Miller <davem@davemloft.net>
26864
26865 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26866 __tls_get_addr.
26867 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26868
26869 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26870
26871 [BZ#18333]
26872 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26873
26874 2015-04-27 Florian Weimer <fweimer@redhat.com>
26875
26876 [BZ#18333]
26877 * time/tzset.c (parse_tzname): Return error on memory allocation
26878 failure.
26879 * test-skeleton.c (struct temp_name_list): Change type of name
26880 member to non-const.
26881 (add_temp_file): Create a copy of the file name.
26882 (delete_temp_files): Deallocate memory.
26883 (create_temp_file): Add comment.
26884
26885 2015-04-24 Florian Weimer <fweimer@redhat.com>
26886
26887 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26888 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26889
26890 2015-04-24 Roland McGrath <roland@hack.frob.com>
26891
26892 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26893 * sysdeps/arm/configure: Regenerated.
26894
26895 2015-04-24 Florian Weimer <fweimer@redhat.com>
26896
26897 [BZ #17715]
26898 * time/tzfile.c (__tzfile_read): Check for large values of
26899 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26900 * time/tzset.c (__tzstring_len): New function, based on the old
26901 __tzstring function.
26902 (__tzstring): Call __tzstring_len.
26903 (parse_tzname): New helper function extracted from
26904 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26905 the input string.
26906 (parse_offset): New helper function extracted from
26907 __tzset_parse_tz. Replace switch with fallthrough with
26908 initialization before sscanf.
26909 (parse_rule): Likewise.
26910 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26911 new-style function definition.
26912 * timezone/Makefile (tests): Add tst-tzset.
26913 (tst-tzset.out): Dependencies on time zone files.
26914 (tst-tzset-ENV): Set TZDIR.
26915 (testdata/XT%): Copy crafted time zone files.
26916 * timezone/README: Mention crafted time zone files.
26917 * timezone/testdata/XT1, timezone/testdata/XT2,
26918 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26919 files.
26920 * timezone/tst-tzset.c: New test.
26921
26922 2015-04-24 Florian Weimer <fweimer@redhat.com>
26923
26924 * Makeconfig (+gccwarn): Remove -Winline.
26925
26926 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26927
26928 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26929
26930 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26931
26932 * NEWS: Mention sysconf() cache information support for s390.
26933 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26934
26935 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26936
26937 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26938 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26939 (__nearbyint): Likewise.
26940 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26941 (copysignl): Likewise.
26942
26943 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26944
26945 [BZ #18287]
26946 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26947 based on padding. (CVE-2015-1781)
26948
26949 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26950
26951 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26952 libc-vdso.h.
26953 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26954 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26955 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26956 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26957 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26958 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26959 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26960 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26961 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26962 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26963 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26964 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26965 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26966 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26967 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26968 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26969 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26971 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26972 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26973 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26974 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26975 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26976
26977 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26978
26979 * stdlib/setenv.c (__add_to_environ):
26980 Dump core quickly if setenv (..., NULL, ...) is called.
26981 This time, do it the right way, and pacify GCC with a pragma.
26982
26983 2015-04-17 Roland McGrath <roland@hack.frob.com>
26984
26985 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26986 IMAP->l_prev cannot be null, and #if out the code for the contrary
26987 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26988 believe that NS (&_dl_ns[NSID]) could point outside the array.
26989
26990 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26991 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26992 before using NSID as an index.
26993
26994 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
26995
26996 [BZ #17825]
26997 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26998 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26999 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27000
27001 2015-04-17 Roland McGrath <roland@hack.frob.com>
27002
27003 Add preliminary port to Google Native Client on ARM.
27004 * abi-tags (.*-.*-nacl.*): New entry.
27005 * sysdeps/arm/nacl: New directory.
27006 * sysdeps/nacl: New directory.
27007
27008 2015-04-16 David S. Miller <davem@davemloft.net>
27009
27010 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27011 lowlevellock-futex.h
27012
27013 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
27014
27015 * sysdeps/tile/configure.ac: New file.
27016 * sysdeps/tile/configure: Regenerated.
27017
27018 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27019
27020 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
27021 conditionals for weak_alias and libc_hidden_weak.
27022 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27023 libc_hidden_weak and weak_alias.
27024 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27025 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27026 and weak_alias for static one.
27027
27028 2015-04-15 David S. Miller <davem@davemloft.net>
27029
27030 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27031
27032 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27033
27034 [BZ #18206]
27035 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27036 Use signed comparision instead of substraction to avoid
27037 overflow bug.
27038 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27039 Take the sign of ret.
27040 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27041 Do not expect precise return values. Only the sign matters.
27042 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27043 * wcsmbs/test-wcsncmp.c: New File.
27044 * string/test-strncmp.c: Add wcsncmp support.
27045
27046 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
27047
27048 [BZ #6792]
27049 * math/w_log1p.c: New file.
27050 * math/w_log1pf.c: Likewise.
27051 * math/w_log1pl.c: Likewise.
27052 * math/Makefile (libm-calls): Add w_log1p.
27053 * math/s_log1pl.c (log1pl): Remove weak_alias.
27054 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27055 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27056 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27057 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27058 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27059 [NO_LONG_DOUBLE] (log1pl): Likewise.
27060 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27061 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27062 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27063 (log1p): Remove long_double_symbol.
27064 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27065 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27066 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27067 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27068 remove weak_alias for corresponding log1p function.
27069 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27070 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27071 * sysdeps/ia64/fpu/w_log1p.c: New file.
27072 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27073 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27074 * math/libm-test.inc (log1p_test_data): Add errno expectations.
27075
27076 2015-04-10 Joseph Myers <joseph@codesourcery.com>
27077
27078 [BZ #18247]
27079 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27080 decimal exponent by 1.
27081 * stdlib/tst-strtod-round-data: Add more tests.
27082 * stdlib/tst-strtod-round.c (tests): Regenerated.
27083
27084 2015-04-09 Joseph Myers <joseph@codesourcery.com>
27085
27086 * math/auto-libm-test-in: Add more tests of clog and clog10.
27087 * math/auto-libm-test-out: Regenerated.
27088 * sysdeps/i386/fpu/libm-test-ulps: Update.
27089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27090
27091 2015-04-09 Roland McGrath <roland@hack.frob.com>
27092
27093 * Makeconfig (module-cppflags): Exclude all .v.i files.
27094 (skip-module-cppflags): Variable removed.
27095
27096 * configure.ac (libc_config_ok): Initialize before reading
27097 preconfigure scripts, not after.
27098 * configure: Regenerated.
27099
27100 * test-skeleton.c (TIMEOUT): Move #define to top level.
27101 (main): Grok environment variable TEST_DIRECT. If set, print
27102 test expectation details into that file and then behave as if
27103 given --direct.
27104
27105 2015-04-09 Florian Weimer <fweimer@redhat.com>
27106
27107 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27108 warning on 32-bit.
27109
27110 2015-04-08 David S. Miller <davem@davemloft.net>
27111
27112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27113
27114 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27115
27116 * math/auto-libm-test-in: Add more tests of atanh.
27117 * math/auto-libm-test-out: Regenerated.
27118 * sysdeps/i386/fpu/libm-test-ulps: Update.
27119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27120
27121 * math/auto-libm-test-in: Add more tests of atan.
27122 * math/auto-libm-test-out: Regenerated.
27123 * sysdeps/i386/fpu/libm-test-ulps: Update.
27124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27125
27126 2015-04-08 Florian Weimer <fweimer@redhat.com>
27127
27128 * elf/pldd.c (main): Rewrite to use struct
27129 scratch_buffer instead of extend_alloca.
27130 * elf/pldd-xx.c (find_maps): Likewise.
27131 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27132 <alloca.h>.
27133 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27134 scratch_buffer instead of extend_alloca.
27135 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27136 grp/compat-initgroups.c.
27137 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27138 Rewrite to use struct scratch_buffer instead of extend_alloca.
27139 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27140 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27141
27142 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27143
27144 * math/auto-libm-test-in: Add more tests of cbrt.
27145 * math/auto-libm-test-out: Regenerated.
27146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27147
27148 * math/auto-libm-test-in: Add more tests of cabs.
27149 * math/auto-libm-test-out: Regenerated.
27150 * sysdeps/i386/fpu/libm-test-ulps: Update.
27151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27152
27153 [BZ #18210]
27154 [BZ #18211]
27155 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27156 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27157 computations.
27158 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27159 clog10.
27160 * math/auto-libm-test-out: Regenerated.
27161 * sysdeps/i386/fpu/libm-test-ulps: Update.
27162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27163
27164 [BZ #18197]
27165 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27166 (atan): Set FE_TONEAREST mode for internal computations.
27167 * math/auto-libm-test-in: Add more tests of atan.
27168 * math/auto-libm-test-out: Regenerated.
27169
27170 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27171
27172 [BZ #17930]
27173 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27174
27175 2015-04-07 Florian Weimer <fweimer@redhat.com>
27176
27177 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27178
27179 2015-04-07 Florian Weimer <fweimer@redhat.com>
27180
27181 * include/scratch_buffer.h: New file.
27182 * malloc/scratch_buffer_grow.c: Likewise.
27183 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27184 * malloc/scratch_buffer_set_array_size.c: Likewise.
27185 * malloc/tst-scratch_buffer.c: Likewise.
27186 * malloc/Makefile (routines): Add scratch_buffer_grow.
27187 (tests): Add test case.
27188 * malloc/Versions (GLIBC_PRIVATE): Export
27189 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27190 __libc_scratch_buffer_set_array_size.
27191
27192 2015-04-06 Richard Henderson <rth@redhat.com>
27193
27194 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27195 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27196
27197 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27198 unsigned int before printing.
27199
27200 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27201
27202 [BZ #17596]
27203 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27204 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27205
27206 2015-04-02 Florian Weimer <fweimer@redhat.com>
27207
27208 * include/libc-internal.h (libc_max_align_t): Define.
27209
27210 2015-04-02 Andreas Schwab <schwab@suse.de>
27211
27212 [BZ #16850]
27213 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27214
27215 2015-04-02 Mel Gorman <mgorman@suse.de>
27216
27217 [BZ #17195]
27218 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27219 as well as the main arena.
27220
27221 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27222
27223 [BZ #18185]
27224 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27225 sharing L2 cache to 2 for Silvermont/Knights Landing.
27226
27227 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27228
27229 [BZ #17711]
27230 * config.make.in (have-protected-data): New.
27231 * configure.ac: Check linker support for protected data symbol.
27232 * configure: Regenerated.
27233 * elf/Makefile (modules-names): Add tst-protected1moda and
27234 tst-protected1modb if $(have-protected-data) is yes.
27235 (tests): Add tst-protected1a and tst-protected1b if
27236 $(have-protected-data) is yes.
27237 ($(objpfx)tst-protected1a): New.
27238 ($(objpfx)tst-protected1b): Likewise.
27239 (tst-protected1modb.so-no-z-defs): Likewise.
27240 * elf/tst-protected1a.c: New file.
27241 * elf/tst-protected1b.c: Likewise.
27242 * elf/tst-protected1mod.h: Likewise.
27243 * elf/tst-protected1moda.c: Likewise.
27244 * elf/tst-protected1modb.c: Likewise.
27245
27246 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 [BZ #17711]
27249 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27250 indicates it is called from do_lookup_x on relocation against
27251 protected data, skip the data definion in the executable from
27252 copy reloc.
27253 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27254 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27255 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27256 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27257 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27258 otherwise to 0.
27259 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27260 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27261 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27262 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27263 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27264 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27265
27266 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27267
27268 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27269 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27270
27271 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27272
27273 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27274 THREAD_SETMEM_NC.
27275 * sysdeps/x86_64/nptl/tls.h: Ditto.
27276
27277 2015-03-27 Roland McGrath <roland@hack.frob.com>
27278
27279 * dlfcn/tststatic.c (main): Converted to ...
27280 (do_test): ... this.
27281 (TEST_FUNCTION): New macro.
27282 Include test-skeleton.c.
27283
27284 2015-03-26 Alan Modra <amodra@gmail.com>
27285
27286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27287 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27288 zero for undefined weak.
27289 (elf_machine_plt_conflict): Similarly.
27290
27291 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27292
27293 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27294 atanh.
27295 * math/auto-libm-test-out: Regenerated.
27296 * sysdeps/i386/fpu/libm-test-ulps: Update.
27297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27298
27299 * math/auto-libm-test-in: Add another test of asin.
27300 * math/auto-libm-test-out: Regenerated.
27301 * sysdeps/i386/fpu/libm-test-ulps: Update.
27302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27303
27304 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27305 Remove macro.
27306 (LLL_EBX_REG): Likewise.
27307 (LLL_ENTER_KERNEL): Likewise.
27308
27309 * math/auto-libm-test-in: Add more tests of asin.
27310 * math/auto-libm-test-out: Regenerated.
27311 * sysdeps/i386/fpu/libm-test-ulps: Update.
27312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27313
27314 [BZ #18138]
27315 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27316 libc_do_syscall_args): New structure.
27317 (INTERNAL_SYSCALL_MAIN_0): New macro.
27318 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27319 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27320 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27321 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27322 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27323 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27324 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27325 Replace conditional definitions by conditional definitions of ....
27326 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27327 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27328 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27329 (libpthread-sysdep_routines): Add libc-do-syscall.
27330 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27331 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27332 to __NR_futex not 240.
27333
27334 2015-03-25 Alan Modra <amodra@gmail.com>
27335
27336 * NEWS: Advertise TLS optimization.
27337 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27338 (DT_PPC_NUM): Increment.
27339 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27340 (CHECK_STATIC_TLS): Use here.
27341 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27342 TLS descriptors.
27343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27344 * sysdeps/powerpc/dl-tls.c: New file.
27345 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27346 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27347 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27348 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27352
27353 2015-03-25 Alan Modra <amodra@gmail.com>
27354
27355 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27356 for overlapping .opd entries" to "support...".
27357 * sysdeps/powerpc/powerpc64/configure: Regenerate
27358
27359 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27360
27361 * math/auto-libm-test-in: Add more tests of acos.
27362 * math/auto-libm-test-out: Regenerated.
27363 * sysdeps/i386/fpu/libm-test-ulps: Update.
27364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27365
27366 * math/auto-libm-test-in: Add more tests of expm1.
27367 * math/auto-libm-test-out: Regenerated.
27368 * sysdeps/i386/fpu/libm-test-ulps: Update.
27369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27370
27371 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27372
27373 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27374 * math/auto-libm-test-out: Regenerated.
27375 * sysdeps/i386/fpu/libm-test-ulps: Update.
27376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27377
27378 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27380
27381 * math/auto-libm-test-in: Add more tests of log2.
27382 * math/auto-libm-test-out: Regenerated.
27383 * sysdeps/i386/fpu/libm-test-ulps: Update.
27384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27385
27386 2015-03-23 Roland McGrath <roland@hack.frob.com>
27387
27388 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27389 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27390 _IO_IS_APPENDING bit in READ_WRITE instead.
27391
27392 2015-03-23 Florian Weimer <fweimer@redhat.com>
27393
27394 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27395 (__determine_cpumask_size): Replace extend_alloca with a
27396 variable-length array. Do not treat res == 0 as an error.
27397
27398 2015-03-23 Florian Weimer <fweimer@redhat.com>
27399
27400 [BZ #18100]
27401 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27402 and integer overflow.
27403 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27404 (main): Add integer overflow tests.
27405 * manual/pattern.texi (Calling Wordexp): Document additional use
27406 for WRDE_SYNTAX.
27407
27408 2015-03-23 Alan Modra <amodra@gmail.com>
27409
27410 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27411 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27412 and false branch of conditional.
27413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27414 Likewise.
27415
27416 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27417
27418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27419 libc-modules.h
27420 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27421 unused declaration of _hurd_intr_rpc_msg_in_trap.
27422 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27423 defined instead of whether it is non-zero.
27424 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27425 input constraint instead of both input and output constraint. Use ecx
27426 clobber instead of %ecx.
27427 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27428 mutex_unlock): Use a statement expression instead of an expression list.
27429 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27430 type to vm_size_t instead of vm_address_t.
27431 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27432 defined instead of whether it is non-zero.
27433 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27434 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27435 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27436 comparisons with mapaddr.
27437 * nscd/nscd-client.h: Include <time.h>.
27438 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27439 9th parameter to __vm_region instead of int.
27440 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27441 * scripts/check-local-headers.sh (exclude): Add device/,
27442 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27443 cthreads.h.
27444
27445 2015-03-19 Roland McGrath <roland@hack.frob.com>
27446
27447 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27448 to account for alignment padding.
27449 * sysdeps/arm/memmove.S: Likewise.
27450
27451 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27452
27453 * sysdeps/unix/sysv/linux/generic/README: New file.
27454
27455 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27456
27457 [BZ #18138]
27458 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27459 (futex_abstimed_wait)
27460 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27461 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27462 of lll_futex_timed_wait.
27463
27464 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27465
27466 [BZ #17542]
27467 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27468
27469 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27470
27471 [BZ #17090]
27472 [BZ #17620]
27473 [BZ #17621]
27474 [BZ #17628]
27475 * NEWS: Update.
27476 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27477 entries with Static TLS too. Skip entries past the end of the
27478 allocated DTV, from Alan Modra.
27479 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27480 Static TLS DTV entry set up from...
27481 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27482 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27483 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27484 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27485 for Static TLS.
27486 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27487 that the slot we find is associated with the given map before
27488 using its generation count.
27489 * nptl_db/db_info.c: Include ldsodefs.h.
27490 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27491 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27492 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27493 (link_map::l_tls_offset): New struct field.
27494 (dtv_t::counter): Likewise.
27495 (rtld_global): New struct.
27496 (_rtld_global): New rtld variable.
27497 (dl_tls_dtv_slotinfo_list): New rtld global field.
27498 (dtv_slotinfo_list): New struct.
27499 (dtv_slotinfo): Likewise.
27500 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27501 (td_lookup): Rename to...
27502 (td_mod_lookup): ... this. Use new mod parameter instead of
27503 LIBPTHREAD_SO.
27504 * nptl_db/td_thr_tlsbase.c: Include link.h.
27505 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27506 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27507 addresses even if the DTV is out of date or missing them.
27508 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27509 index zero-length arrays.
27510 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27511 (td_lookup): Make it a macro implemented in terms of...
27512 (td_mod_lookup): ... this declaration.
27513 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27514 (DB_MAIN_VARIABLE): Likewise.
27515
27516 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 [BZ #18134]
27519 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27520
27521 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27522
27523 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27524
27525 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27526
27527 [BZ #18128]
27528 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27529 (atomic_add, atomic_increment_and_test)
27530 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27531
27532 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27533
27534 * stdlib/setenv.c (__add_to_environ):
27535 Dump core quickly if setenv (..., NULL, ...) is called.
27536
27537 2015-03-13 Roland McGrath <roland@hack.frob.com>
27538
27539 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27540 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27541 all the necessary asm magic in one place.
27542 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27543 using those.
27544
27545 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27546
27547 [BZ #14906]
27548 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27549 traced file mtime. Use consistent log message.
27550 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27551 (register_traced_file): Call install_watches. Always set mtime.
27552 (invalidate_cache): Iterate over all trace files. Call install_watches.
27553 (inotify_check_files): Don't inline. Handle watching parent
27554 directories and configuration file movement in and out.
27555 (handle_inotify_events): New function.
27556 (main_loop_poll): Call handle_inotify_events.
27557 (main_loop_epoll): Likewise.
27558 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27559 (struct traced_file): Use array of inotify fds. Add parent directory,
27560 and basename.
27561 (struct database_dyn): Remove unused file_mtime.
27562 (init_traced_file): New inline function.
27563 (define_traced_file): New macro.
27564 * nss/nss_db/db-init.c: Use define_traced_file.
27565 (_nss_db_init): Use init_traced_file.
27566 * nss/nss_files/files-init.c: Use define_traced_file.
27567 (_nss_files_init): Use init_traced_file.
27568
27569 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27570
27571 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27572 [_LIBC]: Do not include <stdlib.h>.
27573 [!_LIBC] (abort): Remove declaration.
27574 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27575 _FP_STATIC_ASSERT instead of conditionally calling abort.
27576 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27577 (_FP_EXTEND_CNAN): Likewise.
27578 (FP_TRUNC): Likewise.
27579 (__FP_CLZ): Likewise.
27580 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27581
27582 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27583
27584 * manual/string.texi (XPG basename): Fix prototype.
27585
27586 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27587
27588 [BZ #18080]
27589 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27590 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27591 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27592 (__setcontext): Likewise.
27593 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27594 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27595 Call rt_sigprocmask syscall one time to set new signal mask
27596 and retrieve the current signal mask instead of two calls.
27597 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27598 (__swapcontext): Likewise.
27599 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27600 * stdlib/tst-setcontext2.c: New file.
27601
27602 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27603
27604 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27605
27606 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27607
27608 [BZ #18093]
27609 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27610 the wrong size.
27611
27612 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27613
27614 [BZ #18043]
27615 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27616
27617 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27618
27619 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27620 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27621 Remove define.
27622 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27623 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27624 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27625 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27626 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27627 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27628 define.
27629 * nptl_db/td_symbol_list.c (td_lookup): Remove
27630 HAVE_ASM_GLOBAL_DOT_NAME code.
27631 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27632 HAVE_ASM_GLOBAL_DOT_NAME check.
27633 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27634 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27635 (DOT_LABEL): Remove define.
27636 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27637 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27638 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27639 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27640 (__TLS_GET_ADDR): Likewise.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27642 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27643
27644 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27645
27646 [BZ #18111]
27647 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27648 (_FPU_SETCW): Initialize cw from fpsr before storing.
27649 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27650 (fesetexceptflag): Rewrite using fpu_control.h.
27651 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27652
27653 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27654
27655 [BZ #18110]
27656 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27657 asms.
27658 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27659
27660 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27661
27662 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27663 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27664 abort.
27665 (_FP_FMA): Likewise.
27666 (_FP_DIV): Likewise.
27667
27668 2015-03-10 Roland McGrath <roland@hack.frob.com>
27669
27670 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27671 with 0 in that case.
27672 * Makefile (summarize-tests): New canned sequence, factored out of
27673 commands for targets tests and xtests. Display summary lines that
27674 don't start with PASS: or XFAIL: rather than ones that do start with
27675 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27676 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27677 do start with ERROR: or FAIL:.
27678 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27679 (except for [$(build-shared) = yes]).
27680 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27681 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27682 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27683 * nptl/Makefile: Revert 2015-03-04 changes.
27684 [$(CXX) empty] (tests-unsupported): New variable.
27685 * debug/Makefile: Likewise.
27686
27687 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27688 gnulib file. Replace __attribute with __attribute__ throughout.
27689
27690 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27691
27692 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27693
27694 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27695
27696 [BZ #18104]
27697 * math/auto-libm-test-in: Add another test of pow.
27698 * math/auto-libm-test-out: Regenerated.
27699
27700 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27701
27702 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27703 $(config-cflags-nofma).
27704
27705 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27706
27707 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27708 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27709 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27710 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27711 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27712 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27713 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27714 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27715 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27716 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27717 Add comment on closing #endif.
27718
27719 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27720
27721 * posix/wordexp.c (CHAR_IN_SET): New macro.
27722 (parse_param): Use it.
27723
27724 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27725
27726 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27727
27728 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27729
27730 [BZ #18043]
27731 * posix/wordexp.c (parse_param): Fix buffer overflow.
27732 * posix/wordexp-test.c (test_case): Add test case.
27733
27734 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27735
27736 [BZ #18042]
27737 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27738 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27739
27740 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27741
27742 [BZ #18043]
27743 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27744 (do_bz18043): Delete.
27745 (at_page_end): New.
27746 (testit): Refactor to have words at the edge of unreadable page.
27747
27748 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27749
27750 [BZ #16734]
27751 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27752 Cleanup read-only streams as well.
27753 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27754
27755 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27756
27757 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27758 <bits/libc-lockP.h>
27759
27760 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27761
27762 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27763 on [__KERNEL__].
27764 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27765 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27766 * soft-fp/op-common.h (_FP_DECL): Likewise.
27767
27768 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27769
27770 * elf/ifuncdep2.c (global): Replace
27771 __attribute__((visibility("protected"))) with
27772 asm (".protected global").
27773 * elf/ifuncmod1.c (global): Likewise.
27774 * elf/ifuncmod5.c (global): Likewise.
27775
27776 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27777
27778 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27779 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27780
27781 2015-03-06 Roland McGrath <roland@hack.frob.com>
27782
27783 * manual/install.texi (Configuring and compiling):
27784 Document test-wrapper-env-only.
27785 * INSTALL: Regenerated.
27786
27787 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27788
27789 [BZ #18043]
27790 * posix/wordexp.c (parse_param): Fix buffer overflow.
27791 * posix/wordexp-test.c (do_bz18043): Add test case.
27792
27793 2015-03-06 Vincent Bernat <vincent@bernat.im>
27794
27795 * time/tst-strptime2.c (do_test): Ensure failing tests are
27796 reported correctly.
27797 * time/tst-strptime3.c (do_test): Likewise.
27798
27799 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27800
27801 Fix aio_error thread-safety.
27802 * sysdeps/pthread/aio_error.c: New file
27803 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27804 synchronization.
27805
27806 2015-03-06 Florian Weimer <fweimer@redhat.com>
27807
27808 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27809 (group_number, vfprintf): Use it.
27810 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27811 (JUMP, REF): Use it.
27812 (WORK_BUFFER_SIZE): New enum constant.
27813 (process_arg, vfprintf): Use it.
27814
27815 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27816
27817 * manual/errno.texi (Error Messages): Complete example function
27818 by adding missing #define.
27819 (program_invocation_name): Add statement indicating GNU
27820 extension and reference which header file declares the variable.
27821 (program_invocation_short_name): Likewise.
27822
27823 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27824
27825 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27826 compatibility note.
27827
27828 2015-03-05 Roland McGrath <roland@hack.frob.com>
27829
27830 * Makeconfig (test-wrapper-env-only): New variable.
27831 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27832 then use that with $(test-wrapper-env-only) rather than using
27833 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27834
27835 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27836
27837 [BZ #18082]
27838 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27839 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27840 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27841 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27842 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27843 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27844 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27845 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27846 Likewise.
27847 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27848 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27849 Likewise.
27850 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27851 Likewise.
27852 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27853 Likewise.
27854 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27855 Likewise.
27856 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27858 Likewise.
27859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27860 Likewise.
27861 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27862 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27863
27864 2015-03-04 Roland McGrath <roland@hack.frob.com>
27865
27866 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27867 (ETH_ALEN): New macro.
27868 (struct ether_addr): Use it for length of ether_addr_octet.
27869
27870 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27871 (setdb): Don't call __nss_configure_lookup for "rpc".
27872 (do_test): Don't call test_rpc.
27873 (output_rpcent, test_rpc): Functions moved ...
27874 * sunrpc/test-rpcent.c: ... to this new file.
27875 * sunrpc/Makefile (tests): Add it.
27876
27877 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27878 __xpg_sigpause.
27879 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27880 * nptl/tst-signal6.c: Likewise.
27881 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27882 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27883
27884 * configure.ac (libc_cv_cxx_link_ok): New check.
27885 Reset CXX to empty if it fails to link.
27886 * configure: Regenerated.
27887 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27888 bug-atexit3-lib only if $(CXX) is nonempty.
27889 * nptl/Makefile (tests): Likewise for tst-cancel24.
27890 (tests, tests-static): Likewise for tst-cancel24-static.
27891 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27892 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27893 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27894 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27895
27896 2015-03-04 Andreas Schwab <schwab@suse.de>
27897
27898 [BZ #17631]
27899 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27900 for non-GCC compilers.
27901 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27902 Likewise.
27903
27904 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27905
27906 [BZ #17776]
27907 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27908 integer before bitwise and assembly operations.
27909 (feclearexcept): Likewise.
27910 * math/test-fenvinline.c: New file.
27911 * math/Makefile: Add test-fenvinline test.
27912
27913 2015-03-03 Alan Modra <amodra@gmail.com>
27914
27915 [BZ #16512]
27916 * scripts/localplt.awk: Strip off symbol version.
27917 * NEWS: Mention bug fix.
27918
27919 2015-03-02 Roland McGrath <roland@hack.frob.com>
27920
27921 * sysdeps/pthread/timer_routines.c
27922 (timer_free_list, thread_free_list, thread_active_list): Make static.
27923
27924 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27925
27926 [BZ #17779]
27927 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27928 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27929 Undefine.
27930 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27931 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27932 Likewise.
27933 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27934 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27935 Likewise.
27936
27937 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27938
27939 [BZ #18036]
27940 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27941 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27942
27943 2015-03-02 Andreas Schwab <schwab@suse.de>
27944
27945 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27946 variable name.
27947
27948 2015-03-02 Florian Weimer <fweimer@redhat.com>
27949
27950 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27951 Return error status.
27952
27953 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27954
27955 [BZ #15969]
27956 * locale/findlocale.c (_nl_find_locale): Introduce const
27957 version of loc_name and drop unsafe type casts.
27958
27959 2015-02-27 Roland McGrath <roland@hack.frob.com>
27960
27961 * dlfcn/tststatic2.c (main): Converted to ...
27962 (do_test): ... this.
27963 (TEST_FUNCTION): New macro.
27964 Include test-skeleton.c.
27965
27966 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27967
27968 [BZ #17711]
27969 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27970 (tests-pie): Add vismain.
27971 (CFLAGS-vismain.c): New.
27972 * elf/vismain.c: Add comments for PIE requirement.
27973
27974 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27975
27976 [BZ #18046]
27977 [BZ #18047]
27978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27979 0x1p-56L as threshold for just returning the argument.
27980 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27981 0x1p-32L as threshold for just returning the argument.
27982 * math/auto-libm-test-in: Add more tests of atanh.
27983 * math/auto-libm-test-out: Regenerated.
27984 * sysdeps/i386/fpu/libm-test-ulps: Update.
27985 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27986
27987 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27988
27989 * string/bcopy.c (bcopy): Call memmove for performance.
27990
27991 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27992
27993 * string/bzero.c (__bzero): Call memset for performance.
27994
27995 2015-02-27 John David Anglin <dave.anglin@bell.net>
27996
27997 [BZ #18068]
27998 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27999 to 00100000.
28000
28001 2015-02-27 Joseph Myers <joseph@codesourcery.com>
28002
28003 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28004
28005 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28006
28007 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28008 (__kernel_standard): Use CSTR macro when setting exc.name.
28009 * sysdeps/ieee754/Makefile [$(subdir) = math]
28010 (CFLAGS-k_standard.c): Remove variable.
28011
28012 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28013 setting p and q from "else if" to "else".
28014 (qzero): Likewise.
28015 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28016 (qone): Likewise.
28017 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28018 (qzerof): Likewise.
28019 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28020 (qonef): Likewise.
28021 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28022 (qzero): Likewise.
28023 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28024 (qone): Likewise.
28025
28026 [BZ #18038]
28027 [BZ #18039]
28028 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28029 return pi/2 for arguments below 0x1p-113L.
28030 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28031 return pi/2 for arguments below 0x1p-106L.
28032 * math/auto-libm-test-in: Add more tests of acos.
28033 * math/auto-libm-test-out: Regenerated.
28034
28035 [BZ #16351]
28036 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28037 (MO): New macro.
28038 (__ieee754_asin): Force underflow exception for results with small
28039 absolute value.
28040 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28041 (MO): New macro.
28042 (__ieee754_asinf): Force underflow exception for results with
28043 small absolute value.
28044 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28045 (__ieee754_asin): Force underflow exception for results with small
28046 absolute value.
28047 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28048 (__ieee754_asinf): Force underflow exception for results with
28049 small absolute value.
28050 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28051 (__ieee754_asinl): Force underflow exception for results with
28052 small absolute value.
28053 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28054 (__ieee754_asinl): Force underflow exception for results with
28055 small absolute value.
28056 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28057 (__ieee754_asinl): Force underflow exception for results with
28058 small absolute value.
28059 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28060 Include <math.h>.
28061 * math/auto-libm-test-in: Do not mark underflow exceptions as
28062 possibly missing for bug 16351.
28063 * math/auto-libm-test-out: Regenerated.
28064
28065 [BZ #18030]
28066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28067 of power of 2 down when low part has opposite sign.
28068 * math/libm-test.inc (logb_test_data): Add more tests.
28069
28070 2015-02-26 Andreas Schwab <schwab@suse.de>
28071
28072 [BZ #18032]
28073 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28074 over collating symbol inside a bracket expression. Minor cleanup.
28075 * posix/tst-fnmatch3.c (do_test): Add test case.
28076
28077 2015-02-26 Joseph Myers <joseph@codesourcery.com>
28078
28079 [BZ #18029]
28080 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28081 Adjust exponent of power of 2 down when low part has opposite
28082 sign.
28083 * math/libm-test.inc (ilogb_test_data): Add more tests.
28084
28085 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
28086
28087 [BZ #15969]
28088 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28089 the previous change.
28090
28091 [BZ #15969]
28092 * locale/findlocale.c (_nl_find_locale): Retry archive search
28093 after alias expansion.
28094
28095 2015-02-25 Roland McGrath <roland@hack.frob.com>
28096
28097 * iconv/tst-iconv3.c (main): Converted to ...
28098 (do_test): ... this.
28099 (TEST_FUNCTION): New macro.
28100 Include test-skeleton.c.
28101
28102 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28103 (convert): Make function static.
28104 (test_unalign): Likewise. Add const to argument pointee types.
28105 (main): Replace with static function do_test.
28106 Print "Succeeded." only if RET is zero.
28107 (TEST_FUNCTION): New macro.
28108 Include test-skeleton.c.
28109
28110 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28111 returns a null pointer.
28112
28113 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28114
28115 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28116 to __memcpy_ppc only for static builds.
28117
28118 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28119
28120 [BZ #18020]
28121 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28122 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28123 * math/auto-libm-test-in: Add more tests of asinh.
28124 * math/auto-libm-test-out: Regenerated.
28125 * sysdeps/i386/fpu/libm-test-ulps: Update.
28126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28127
28128 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28129
28130 [BZ #15850]
28131 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28132 and ip6_mtuinfo definitions here.
28133 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28134 in this define too. Update comment.
28135
28136 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28137
28138 * elf/sprof.c (load_shobj): Tweak error message to match others.
28139
28140 2015-02-24 Kevin Easton <kevin@guarana.org>
28141
28142 [BZ #16145] (partial fix)
28143 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28144 to reduce lock contention.
28145
28146 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28147
28148 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28149 (struct timex): Update time comment.
28150 (ADJ_SETOFFSET): Define.
28151
28152 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28153
28154 [BZ #18019]
28155 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28156 2**56 not 2**28 as threshold for log (2x) formula.
28157 * math/auto-libm-test-in: Add more tests of acosh.
28158 * math/auto-libm-test-out: Regenerated.
28159 * sysdeps/i386/fpu/libm-test-ulps: Update.
28160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28161
28162 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28163
28164 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28165 parenthesis around the buf assignment.
28166 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28167
28168 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28169
28170 [BZ #16783]
28171 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28172 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28173 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28174 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28175 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28176 * math/libm-test.inc (scalb_test_data): Add more tests.
28177
28178 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28179
28180 [BZ #17916]
28181 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28182 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28183
28184 2015-02-24 Eric Rannaud <e@nanocritical.com>
28185
28186 [BZ #17523]
28187 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28188 * io/bits/fcntl2.h (open): Use it.
28189 (openat): Likewise.
28190 * io/open.c (__libc_open): Likewise.
28191 * io/open64.c (__libc_open64): Likewise.
28192 * io/open64_2.c (__open64_2): Likewise.
28193 * io/open_2.c (__open_2): Likewise.
28194 * io/openat.c (__openat): Likewise.
28195 * io/openat64.c (__openat64): Likewise.
28196 * io/openat64_2.c (__openat64_2): Likewise.
28197 * io/openat_2.c (__openat_2): Likewise.
28198 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28199 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28200 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28201 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28202 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28203 (__open_nocancel): Likewise.
28204 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28205 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28206 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28207
28208 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
28210 [BZ #14841]
28211 * resolv/gethnamaddr.c (getanswer): Skip logging if
28212 RES_USE_DNSSEC is set.
28213 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28214
28215 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28216
28217 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28218
28219 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28220
28221 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28222 201304L, for Unicode 7.
28223
28224 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28225
28226 [BZ #17836]
28227 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28228 shared library. Add gmon-start.os otherwise.
28229 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28230 $(objpfx)gmon-start.os if builing shared library.
28231 ($(objpfx)g$(static-start-installed-name)): Likewise.
28232
28233 2015-02-23 Andreas Schwab <schwab@suse.de>
28234
28235 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28236
28237 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28238
28239 [BZ #17269]
28240 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28241 (enlarge_userbuf): Likewise.
28242
28243 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28244
28245 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28246 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28247 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28248 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28249
28250 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28251
28252 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28253 expression inside statement expression.
28254
28255 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28256
28257 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28258 <sysdeps/nptl/lowlevellock.h> and remove macros and
28259 functions that are now defined there.
28260 (SYS_futex): Remove.
28261 (lll_compare_and_swap): Remove.
28262 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28263
28264 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28265
28266 [BZ #17999]
28267 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28268 instead of scandirat.
28269 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28270 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28271 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28272 __scandirat.
28273 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28274 (__scandirat): Declare. Use libc_hidden_proto.
28275 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28276 Remove variable.
28277 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28278
28279 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28280
28281 [BZ #15319]
28282 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28283 (MO): New macro.
28284 (__ieee754_atan2): For results with small absolute value, force
28285 underflow exception and remove excess range and precision from
28286 return value.
28287 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28288 (MO): New macro.
28289 (__ieee754_atan2f): For results with small absolute value, force
28290 underflow exception and remove excess range and precision from
28291 return value.
28292 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28293 (MO): New macro.
28294 (__atan): For results with small absolute value, force underflow
28295 exception and remove excess range and precision from return value.
28296 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28297 (MO): New macro.
28298 (__atanf): For results with small absolute value, force underflow
28299 exception and remove excess range and precision from return value.
28300 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28301 <math.h>.
28302 (__ieee754_atan2): Force underflow exception for results with
28303 small absolute value.
28304 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28305 <math_private.h>.
28306 (atan): Force underflow exception for results with small absolute
28307 value.
28308 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28309 (__atanf): Force underflow exception for results with small
28310 absolute value.
28311 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28312 <math.h>.
28313 (__atanl): Force underflow exception for results with small
28314 absolute value.
28315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28316 (__atanl): Force underflow exception for results with small
28317 absolute value.
28318 * sysdeps/x86/fpu/bits/mathinline.h
28319 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28320 (__ieee754_atan2): Only define inline for long double.
28321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28322 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28323 * math/auto-libm-test-in: Do not mark underflow exceptions as
28324 possibly missing for bug 15319. Add more tests of atan2.
28325 * math/auto-libm-test-out: Regenerated.
28326 * math/libm-test.inc (casin_test_data): Do not mark underflow
28327 exceptions as possibly missing for bug 15319.
28328 (casinh_test_data): Likewise.
28329 * sysdeps/i386/fpu/libm-test-ulps: Update.
28330
28331 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28332
28333 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28334 * sysdeps/mips/bits/endian.h: Fix comments.
28335
28336 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28337
28338 [BZ #17996]
28339 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28340 (hdestroy_r): Likewise.
28341 (hsearch_r): Likewise.
28342 (__hcreate_r): Declare and use libc_hidden_proto.
28343 (__hdestroy_r): Likewise.
28344 (__hsearch_r): Likewise.
28345 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28346 (hcreate): Call __hcreate_r instead of hcreate_r.
28347 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28348 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28349 as weak alias of __hcreate_r.
28350 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28351 __hdestroy_r.
28352 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28353 __hsearch_r.
28354 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28355 Remove variable.
28356 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28357 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28358 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28359 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28360
28361 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28362
28363 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28364 arena_lock into a single arena_get.
28365
28366 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28367
28368 * dl-reloc.c: Inlucde libc-internal.h.
28369 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28370 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28371 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28372 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28373 (grow_heap): Likewise.
28374 * malloc/malloc.c: Include libc-internal.h.
28375 (do_check_malloc): Call powerof2.
28376 (sysmalloc): Use pagesize. Call ALIGN_UP.
28377 (systrim): Use pagesize.
28378 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28379 (__libc_valloc): Use pagesize.
28380 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28381
28382 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28383
28384 [BZ #17991]
28385 * include/sys/resource.h (__getrlimit64): Declare. Use
28386 libc_hidden_proto.
28387 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28388 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28389 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28390 getrlimit64.
28391 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28392 __getrlimit64.
28393 [!getrlimit64] (getrlimit64): Define as weak alias of
28394 __getrlimit64. Use libc_hidden_weak.
28395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28396 using __getrlimit64 not __new_getrlimit64.
28397 (__GI_getrlimit64): Likewise.
28398 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28399 Likewise.
28400 (__GI_getrlimit64): Likewise.
28401 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28403 (getrlimit): Add __getrlimit64 alias.
28404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28405 Likewise.
28406 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28407 Remove variable.
28408 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28409 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28410
28411 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28412
28413 * libio/fileops.c: Add missing sys/mman.h
28414 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28415
28416 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28417
28418 * manual/math.texi (Errors in Math Functions): Clarify goals
28419 regarding inexact and underflow exceptions.
28420
28421 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28422
28423 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28424 * sysdeps/mips/memset.S: Ditto.
28425
28426 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28427
28428 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28429
28430 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28431
28432 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28433 (__v1longjmp): Remove versioned symbol.
28434 (__v1siglongjmp): Remove alias and versioned symbol.
28435 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28436 (__v2siglongjmp): Likewise.
28437
28438 2015-02-16 Torvald Riegel <triegel@redhat.com>
28439
28440 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28441
28442 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28443
28444 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28445
28446 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28447
28448 [BZ #17987]
28449 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28450 zero result does not depend on the sign resulting from
28451 subtraction.
28452 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28453 Likewise.
28454 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28455 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28456 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28457 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28458 * math/libm-test.inc (remquo_test_data): Add more tests.
28459
28460 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28461
28462 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28463 Problem reported by J William Piggott.
28464
28465 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28466
28467 [BZ #17978]
28468 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28469 products 4 * y and 2 * y where those would overflow.
28470 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28471 Likewise.
28472 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28473 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28474 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28475 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28476 * math/libm-test.inc (remquo_test_data): Add more tests.
28477
28478 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28479
28480 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28481 [defined _COMPILING_NEWLIB].
28482 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28483 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28484
28485 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28486 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28487
28488 2015-02-16 Torvald Riegel <triegel@redhat.com>
28489
28490 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28491 acquired.
28492
28493 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28494
28495 [BZ #17792]
28496 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28497 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28498 HOST_STACK_END_ADDR): Likewise.
28499
28500 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28501
28502 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28503 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28504 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28505
28506 2015-02-13 Roland McGrath <roland@hack.frob.com>
28507
28508 * sysdeps/generic/c++-types.data: New file.
28509 * sysdeps/generic/ld.abilist: New file.
28510 * sysdeps/generic/libBrokenLocale.abilist: New file.
28511 * sysdeps/generic/libanl.abilist: New file.
28512 * sysdeps/generic/libc.abilist: New file.
28513 * sysdeps/generic/libcrypt.abilist: New file.
28514 * sysdeps/generic/libdl.abilist: New file.
28515 * sysdeps/generic/libm.abilist: New file.
28516 * sysdeps/generic/libpthread.abilist: New file.
28517 * sysdeps/generic/libresolv.abilist: New file.
28518 * sysdeps/generic/librt.abilist: New file.
28519
28520 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28521
28522 [BZ #17569]
28523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28524 Compute absolute value of x as modified by fmod, not original
28525 value of x.
28526 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28527 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28528 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28529 RUN_TEST_ffI_f1_mod8.
28530 (remquo_test_data): Add more tests.
28531
28532 2015-02-13 Roland McGrath <roland@hack.frob.com>
28533
28534 * sysdeps/init_array/pt-crti.S: New file.
28535
28536 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28537
28538 [BZ #17967]
28539 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28540 __builtin_fmaf instead of relying on contraction of a * b + c.
28541
28542 2015-02-12 J William Piggott <elseifthen@gmx.com>
28543
28544 [BZ #17969]
28545 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28546 node.
28547
28548 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28549
28550 [BZ #17964]
28551 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28552 __builtin_fma instead of relying on contraction of a * b + c.
28553
28554 2015-02-12 Roland McGrath <roland@hack.frob.com>
28555
28556 * Makeconfig (ASFLAGS): Add -Werror=undef.
28557 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28558 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28559 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28560
28561 * Makeconfig (after-link): New variable.
28562 (+link-pie, +link-pie-tests): Use it.
28563 (+link-static, +link-static-tests): Likewise.
28564 (+link, +link-tests): Likewise.
28565 * Makerules (build-module, build-module-asneeded): Likewise.
28566 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28567 Likewise.
28568 * elf/Makefile ($(objpfx)ld.so): Likewise.
28569
28570 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28571
28572 [BZ #17965]
28573 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28574 both struct timeval and struct timespec.
28575
28576 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28577
28578 [BZ #16560]
28579 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28580 and redefine.
28581 (__ieee754_exp2l): Do not multiply small fractional parts by
28582 M_LN2l.
28583 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28584 small argument.
28585 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28586 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28587 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28588 * math/auto-libm-test-in: Add more tests of exp2.
28589 * math/auto-libm-test-out: Regenerated.
28590
28591 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28592
28593 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28594 unaligned path.
28595
28596 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28597
28598 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28599 little endian.
28600
28601 2015-02-12 Andreas Schwab <schwab@suse.de>
28602
28603 [BZ #15790]
28604 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28605 Filter out elision flags from value returned in kind.
28606 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28607 * nptl/tst-pthread-mutexattr.c: New file.
28608
28609 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28610
28611 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28612 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28613 into gnu-gnu, and update comment to refer to abi-tags.
28614
28615 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28616
28617 [BZ #15467]
28618 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28619 (__sincos): Set errno to EDOM for infinite argument.
28620 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28621 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28622 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28623 (__sincosl): Set errno to EDOM for infinite argument.
28624 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28625 (__sincosl): Set errno to EDOM for infinite argument.
28626 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28627 (__sincosl): Set errno to EDOM for infinite argument.
28628 * math/libm-test.inc (sincos_test_data): Test errno setting.
28629
28630 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28631
28632 * string/strxfrm_l.c: Remove #define STRCMP.
28633 * string/strcoll_l.c: Remove #define STRLEN.
28634 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28635 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28636
28637 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28638
28639 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28640 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28641 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28642 * sysdeps/mips/mips64/Makefile: ... here.
28643 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28644 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28645 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28646 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28647 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28648 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28649 * sysdeps/mips/mips64/n64/Implies: Likewise.
28650
28651 2015-02-10 Roland McGrath <roland@hack.frob.com>
28652
28653 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28654 <sys/time.h>, <string.h>, and <errno.h>.
28655 (dest_offset, dest_address, value, zero): Remove unused variables.
28656 (ldouble): Remove typedef.
28657 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28658 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28659 1). Fix code style.
28660 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28661 (check): Function removed.
28662 (CHECK): New macro.
28663 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28664 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28665 Don't call set_sigaction_FP and remove_sigaction_FP here.
28666 (ldouble_test): Just use 'long double' as macro argument, no need for
28667 the 'ldouble' typedef.
28668 (do_test): Set up SIGFPE handler at start, using plain signal rather
28669 than sigaction. Fix code style.
28670
28671 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28672
28673 [BZ #17949]
28674 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28675 jump label.
28676
28677 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28678
28679 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28680 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28681
28682 * sysdeps/powerpc/configure.ac: Remove file.
28683 * sysdeps/powerpc/configure: Likewise.
28684
28685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28686 [sysdep_routines]: Remove wordcopy-power6 object.
28687 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28688 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28690 (__memmove_ppc32): Likewise.
28691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28692 file.
28693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28694 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28695 Remove preprocessor.
28696
28697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28698 [sysdep_routines]: Remove wide chars objects.
28699 [wcsmbs]: New rule for wide char objects.
28700
28701 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28702 Remove wordcopy-power6 obejct.
28703 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28704 Use local call for wordcopy and memcpy symbols.
28705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28707 implementation for loader.
28708 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28709
28710 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28711 Remove wordcopy-power7 object.
28712 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28713 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28714 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28715 (_wordcopy_fwd_dest_aligned): Likewise.
28716 (_wordcopy_bwd_aligned): Likewise.
28717 (_wordcopy_bwd_dest_aligned): Likewise.
28718
28719 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28720 Rewrite to call __memmove_ppc instead of include default
28721 implementation.
28722
28723 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28724 Remove wide chars objects.
28725 [wcsmbs]: New rule for wide char objects.
28726
28727 2015-02-09 Andreas Schwab <schwab@suse.de>
28728
28729 [BZ #17912]
28730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28731 in terms of __O_DIRECTORY.
28732
28733 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28734
28735 * time/getdate.c: Include <stdbool.h>.
28736 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28737 call PTR_MANGLE.
28738 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28739 PTR_DEMANGLE.
28740
28741 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28742
28743 Add ersatz _Static_assert on older C hosts
28744 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28745 pre-C11 C platform that is not known to support _Static_assert.
28746
28747 2015-02-07 Richard Braun <rbraun@sceen.net>
28748
28749 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28750 sigstate.
28751 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28752
28753 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28754
28755 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28756 priority against unexistent AIO_PRIO_DELTA_MAX.
28757 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28758 instead of int.
28759 * misc/fchflags.c (fchflags): Likewise.
28760 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28761 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28762 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28763 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28764 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28765 Declare macros.
28766 [__USE_MISC] (chflags, fchflags): Declare functions.
28767 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28768 EINVAL when nfds is greater than FD_SETSIZE.
28769 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28770 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28771 45.
28772 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28773 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28774 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28775 MACH_RCV_TIMED_OUT.
28776 * hurd/hurd/signal.h (_hurd_self_sigstate,
28777 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28778 Explicit casts from void *.
28779 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28780 * abi-tags: Rename gnu-gnu os into gnu.
28781
28782 [BZ #4719]
28783 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28784 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28785 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28786 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28787 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28788 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28789
28790 [BZ #17944]
28791 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28792 duplicates ADDR->sun_path with sockaddr LEN limitation.
28793 * sysdeps/mach/hurd/connect.c: Include <string.h>
28794 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28795 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28796 * sysdeps/mach/hurd/sendto.c: Likewise.
28797 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28798 implementing it by hand.
28799
28800 2015-02-06 Roland McGrath <roland@hack.frob.com>
28801
28802 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28803 Use sfi_breg on ldr.
28804 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28805 Likewise.
28806
28807 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28808 it's defined.
28809 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28810 Test SIGSETXID only if it's defined.
28811
28812 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28813
28814 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28815 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28816
28817 * nptl/tst-align2.c: Moved ...
28818 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28819 * nptl/Makefile (tests): Remove tst-align2.
28820 * sysdeps/unix/sysv/linux/Makefile
28821 [$(subdir) = nptl] (tests): Add tst-align-clone.
28822 * nptl/tst-getpid1.c: Moved ...
28823 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28824 * nptl/tst-getpid2.c: Moved ...
28825 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28826 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28827 * sysdeps/unix/sysv/linux/Makefile
28828 [$(subdir) = nptl] (tests): ... here.
28829 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28830 * sysdeps/unix/sysv/linux/Makefile
28831 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28832
28833 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28834 Drop trailing \n from perror argument. Use return rather than exit.
28835
28836 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28837 on [SA_SIGINFO].
28838 * nptl/tst-cancel21.c (do_test): Likewise.
28839 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28840 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28841 [!SA_SIGINFO]: Make it a stub test.
28842
28843 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28844 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28845
28846 * posix/tst-getlogin.c: Move to ...
28847 * login/tst-getlogin.c: ... here.
28848 * posix/Makefile (tests): Move tst-getlogin to ...
28849 * login/Makefile (tests): ... here.
28850
28851 * libio/tst-atime.c (do_test): Move local variables SV and E
28852 inside [ST_NOATIME] conditional.
28853
28854 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28855
28856 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28857
28858 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28859 (wait_code): New function replaces macro.
28860 Call nanosleep rather than syscall.
28861
28862 * nptl/pt-system.c: Rewritten. Put everything under
28863 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28864 Use IFUNC to redirect when possible.
28865
28866 * nptl/pt-longjmp.c: Rewritten. Put everything under
28867 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28868 Use IFUNC to redirect when possible.
28869
28870 * nptl/pt-fork.c: Rewritten. Put everything under
28871 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28872 Use IFUNC to redirect when possible.
28873 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28874
28875 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28876 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28877 unconditionally nowadays. This included the only reference to
28878 __vdso_clock_gettime that appears outside libc proper.
28879 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28880 Remove version set (containing only __vdso_clock_gettime).
28881 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28882 Add attribute_hidden.
28883 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28884 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28885 libc_hidden_data_def.
28886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28888
28889 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28890 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28891 setrpcent, and getrpcport to ...
28892 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28893 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28894 getrpcbynumber_r, and getrpcent_r to ...
28895 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28896 * inet/getrpcbyname.c: Moved ...
28897 * sunrpc/getrpcbyname.c: ... here.
28898 * inet/getrpcbyname_r.c: Moved ...
28899 * sunrpc/getrpcbyname_r.c: ... here.
28900 * inet/getrpcbynumber.c: Moved ...
28901 * sunrpc/getrpcbynumber.c: ... here.
28902 * inet/getrpcbynumber_r.c: Moved ...
28903 * sunrpc/getrpcbynumber_r.c: ... here.
28904 * inet/getrpcent.c: Moved ...
28905 * sunrpc/getrpcent.c: ... here.
28906 * inet/getrpcent_r.c: Moved ...
28907 * sunrpc/getrpcent_r.c: ... here.
28908 * inet/Makefile (routines): Move those to ...
28909 * sunrpc/Makefile (routines): ... here.
28910 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28911 the $(subdirs) list.
28912 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28913 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28914 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28915 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28916
28917 * elf/Makefile (routines): Include $(all-dl-routines), not just
28918 $(dl-routines).
28919 (rtld-routines): Likewise. Use = rather than :=.
28920 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28921 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28922 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28923 * sysdeps/arm/Makefile: Likewise.
28924 * sysdeps/i386/Makefile: Likewise.
28925 * sysdeps/x86_64/Makefile: Likewise.
28926 * sysdeps/hppa/Makefile [$(subdir) = elf]
28927 (sysdep_routines, sysdep-rtld-routines): Don't add
28928 $(sysdep-dl-routines) to these.
28929 * sysdeps/ia64/Makefile: Likewise.
28930 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28931 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28932 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28933 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28934 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28935 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28936 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28937 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28938 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28939 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28940 these; sysdep-dl-routines alone is enough.
28941
28942 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28943
28944 [BZ #17932]
28945 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28946 where multiplication results in zero and third argument is finite
28947 and nonzero.
28948 * math/auto-libm-test-in: Add more tests of fma.
28949 * math/auto-libm-test-out: Regenerated.
28950
28951 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28952 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28953 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28954 (_FP_CMP_EQ): Likewise.
28955 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28956
28957 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28958 extra argument CHECK_NAN. Redefine as wrapper around
28959 _FP_EXTEND_CNAN.
28960
28961 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28962
28963 * version.h (RELEASE): Set to "stable".
28964 (VERSION): Set to "2.21"
28965 * include/features.h (__GLIBC_MINOR__): Set to 21.
28966
28967 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28968
28969 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28970 Paul Eggert <eggert@cs.ucla.edu>
28971
28972 [BZ #16618]
28973 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28975 size in bytes. Store needed elements in wpmax. Use needed size
28976 in bytes for extend_alloca.
28977
28978 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28979
28980 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28981 binutls 2.25, and texinfo 5.2.
28982 * INSTALL: Regenerate.
28983 * sysdeps/nios2/configure: Regenerate.
28984 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28985 * manual/contrib.texi: Update.
28986 * po/be.po: Update.
28987 * po/bg.po: Update.
28988 * po/ca.po: Update.
28989 * po/cs.po: Update.
28990 * po/da.po: Update.
28991 * po/de.po: Update.
28992 * po/el.po: Update.
28993 * po/eo.po: Update.
28994 * po/es.po: Update.
28995 * po/fi.po: Update.
28996 * po/fr.po: Update.
28997 * po/gl.po: Update.
28998 * po/hr.po: Update.
28999 * po/hu.po: Update.
29000 * po/ia.po: Update.
29001 * po/id.po: Update.
29002 * po/it.po: Update.
29003 * po/ja.po: Update.
29004 * po/ko.po: Update.
29005 * po/lt.po: Update.
29006 * po/nb.po: Update.
29007 * po/nl.po: Update.
29008 * po/pl.po: Update.
29009 * po/pt_BR.po: Update.
29010 * po/ru.po: Update.
29011 * po/rw.po: Update.
29012 * po/sk.po: Update.
29013 * po/sl.po: Update.
29014 * po/sv.po: Update.
29015 * po/tr.po: Update.
29016 * po/uk.po: Update.
29017 * po/vi.po: Update.
29018 * po/zh_CN.po: Update.
29019 * po/zh_TW.po: Update.
29020
29021 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29022 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29023 * sysdeps/hppa/dl-irel.h: Remove #warning.
29024 * sysdeps/hppa/entry.h: Provide prototype for
29025 __canonicalize_funcptr_for_compare and cast argument.
29026 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29027 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29028 * sysdeps/hppa/sotruss-lib.c: New file.
29029 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29030 (atomic_compare_and_exchange_val_acq): Use __typeof__.
29031 (atomic_compare_and_exchange_bool_acq): Likewise.
29032 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29033 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29034
29035 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29036 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29037 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29038
29039 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
29040
29041 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29042 called function in non-PIC case.
29043
29044 2015-01-31 David S. Miller <davem@davemloft.net>
29045
29046 * sysdeps/sparc/sparc32/bits/atomic.h
29047 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29048 unlock not after it.
29049 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29050 volatile register usage warnings from the compiler.
29051
29052 * sysdeps/sparc/nptl/sem_init.c: Delete.
29053 * sysdeps/sparc/nptl/sem_post.c: Delete.
29054 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29055 * sysdeps/sparc/nptl/sem_wait.c: Delete.
29056 * sysdeps/sparc/sparc32/sem_init.c: New file.
29057 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29058 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29059 padding explicitly initialized.
29060 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29061 padding for in-semaphore spinlock.
29062 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29063 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29064 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29065 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29066 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29067 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29068 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29069 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29070 version.
29071 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29072 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29073
29074 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
29075
29076 [BZ #17801]
29077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29078 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29079 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29080 New.
29081 (index_AVX_Fast_Unaligned_Load): Likewise.
29082 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29083 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29084 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29085 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29086 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29087 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29088 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29089 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29090 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29091
29092 2015-01-29 Andreas Schwab <schwab@suse.de>
29093
29094 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29095
29096 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29097
29098 [BZ #17892]
29099 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29100
29101 2015-01-28 Martin Sebor <msebor@redhat.com>
29102
29103 * math/README.libm-test: Clarify. Add "How to read the test output."
29104
29105 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29106
29107 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29108 Define to 0.
29109
29110 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29111
29112 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29113 (__HAVE_64B_ATOMICS): Define to 0.
29114
29115 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29116
29117 [BZ #17885]
29118 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29119 value to set as new flag.
29120
29121 [BZ #16576]
29122 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29123 and use _ARCH_PPCSQ instead.
29124 (__ieee754_sqrt): Likewise.
29125 (__ieee754_sqrtf): Likewise.
29126 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29127 _ARCH_PPCSQ is defined.
29128 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29129 fsqrt instruction.
29130 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29131 _ARCH_PPCSQ is defined.
29132 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29133 fsqrts instruction.
29134 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29135
29136 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29137
29138 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29139 bug (GCC BZ #64739).
29140
29141 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29142
29143 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29144 Mark _retval as used.
29145 (lll_futex_wake_unlock): Likewise.
29146 (lll_futex_timed_wait_requeue_pi): Likewise.
29147
29148 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29149 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29150 register variables.
29151
29152 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29153 libm_hidden_def.
29154
29155 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29156 (__bswap_64): Mark as __always_inline.
29157
29158 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29159
29160 [BZ #15378]
29161 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29162 when none of the search directories exist.
29163
29164 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29165
29166 [BZ #17869]
29167 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29168 power8 in .machine directive.
29169
29170 [BZ #17868]
29171 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29172 set dependency from opd value.
29173
29174 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29175
29176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29177 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29178 architecture.
29179
29180 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29181
29182 [BZ #17870]
29183 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29184 with uint64_t.
29185 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29186 (uint64_t) 1.
29187 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29188 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29189 Replace 1UL with (uint64_t) 1.
29190 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29191 int with uint64_t.
29192
29193 2015-01-23 Roland McGrath <roland@hack.frob.com>
29194
29195 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29196 (if_freenameindex): Likewise.
29197
29198 * resource/getrlimit64.c: Add missing libc_hidden_def.
29199
29200 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29201
29202 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29203 __label__.
29204 (_FP_FMA): Likewise.
29205 (_FP_TO_INT_ROUND): Likewise.
29206 (_FP_FROM_INT): Likewise.
29207
29208 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29209
29210 [BZ #16418]
29211 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29212 Make code racy and cancel safe.
29213
29214 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29215
29216 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29217 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29218 attribution.
29219
29220 * pwd/tst-getpw.c: Rewrite.
29221
29222 [BZ #17702]
29223 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29224 (modules-names): Add moddummy1 and moddummy2.
29225 ($(objpfx)tst-rec-dlopen): Define.
29226 * dlfcn/moddummy1.c: New file.
29227 * dlfcn/moddummy2.c: New file.
29228 * dlfcn/tst-rec-dlopen.c: New file.
29229 * elf/dl-cache.c (_dl_load_cache_lookup):
29230 Return char*. Copy result with alloca/strcpy/strdup.
29231 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29232 returns char*. Free cached. If not saving realname
29233 free cached.
29234 * elf/dl-open.c (dl_open_worker): Do not assert that
29235 _r_debug->r_state is RT_CONSISTENT.
29236 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29237 returns char*.
29238
29239 2015-01-21 Torvald Riegel <triegel@redhat.com>
29240 Carlos O'Donell <carlos@redhat.com>
29241
29242 [BZ #12674]
29243 * nptl/sem_waitcommon.c: New file.
29244 * nptl/sem_wait.c: Include sem_waitcommon.c.
29245 (__sem_wait_cleanup, do_futex_wait): Remove.
29246 (__new_sem_wait): Adapt.
29247 (__new_sem_trywait): New function.
29248 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29249 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29250 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29251 (sem_timedwait): Adapt.
29252 * nptl/sem_post.c (__new_sem_post): Adapt.
29253 (futex_wake): New function.
29254 (__old_sem_post): Add release MO fence.
29255 * nptl/sem_open.c (sem_open): Adapt.
29256 * nptl/sem_init.c (__new_sem_init): Adapt.
29257 (futex_private_if_supported): New function.
29258 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29259 (__old_sem_getvalue): Add using previous code.
29260 * sysdeps/nptl/internaltypes.h: Adapt.
29261 * nptl/tst-sem13.c (do_test): Adapt.
29262 * nptl/tst-sem11.c (main): Adapt.
29263 * nptl/sem_trywait.c: Remove.
29264 * nptl/DESIGN-sem.txt: Remove.
29265 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29266 (gen-as-const-headers): Remove structsem.sym.
29267 * nptl/structsem.sym: Remove.
29268 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29269 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29270 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29271 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29272 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29273 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29274 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29275 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29276 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29277 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29278 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29279 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29280 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29281 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29282 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29283 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29284 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29285 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29286 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29287 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29288 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29289 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29290
29291 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29292
29293 * INSTALL: Regenerated.
29294
29295 * po/libc.pot: Regenerated.
29296
29297 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29298 Sandra Loosemore <sandra@codesourcery.com>
29299 Andrew Jenner <andrew@codesourcery.com>
29300 Joseph Myers <joseph@codesourcery.com>
29301 Nathan Sidwell <nathan@codesourcery.com>
29302
29303 * NEWS: Mention new Nios II port.
29304 * sysdeps/nios2/Implies: New file.
29305 * sysdeps/nios2/Makefile: New file.
29306 * sysdeps/nios2/Subdirs: New file.
29307 * sysdeps/nios2/Versions: New file.
29308 * sysdeps/nios2/__longjmp.S: New file.
29309 * sysdeps/nios2/abort-instr.h: New file.
29310 * sysdeps/nios2/backtrace.c: New file.
29311 * sysdeps/nios2/bits/endian.h: New file.
29312 * sysdeps/nios2/bits/fenv.h: New file.
29313 * sysdeps/nios2/bits/link.h: New file.
29314 * sysdeps/nios2/bits/setjmp.h: New file.
29315 * sysdeps/nios2/bsd-_setjmp.S: New file.
29316 * sysdeps/nios2/bsd-setjmp.S: New file.
29317 * sysdeps/nios2/configure: New generated file.
29318 * sysdeps/nios2/configure.ac: New file.
29319 * sysdeps/nios2/crti.S: New file.
29320 * sysdeps/nios2/crtn.S: New file.
29321 * sysdeps/nios2/dl-init.c: New file.
29322 * sysdeps/nios2/dl-machine.h: New file.
29323 * sysdeps/nios2/dl-sysdep.h: New file.
29324 * sysdeps/nios2/dl-tls.h: New file.
29325 * sysdeps/nios2/dl-trampoline.S: New file.
29326 * sysdeps/nios2/gccframe.h: New file.
29327 * sysdeps/nios2/gmp-mparam.h: New file.
29328 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29329 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29330 * sysdeps/nios2/ldsodefs.h: New file.
29331 * sysdeps/nios2/libc-tls.c: New file.
29332 * sysdeps/nios2/libm-test-ulps: New file.
29333 * sysdeps/nios2/machine-gmon.h: New file.
29334 * sysdeps/nios2/math-tests.h: New file.
29335 * sysdeps/nios2/math_private.h: New file.
29336 * sysdeps/nios2/memusage.h: New file.
29337 * sysdeps/nios2/nptl/Makefile: New file.
29338 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29339 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29340 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29341 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29342 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29343 * sysdeps/nios2/nptl/tls.h: New file.
29344 * sysdeps/nios2/preconfigure: New file.
29345 * sysdeps/nios2/s_fma.c: New file.
29346 * sysdeps/nios2/s_fmaf.c: New file.
29347 * sysdeps/nios2/setjmp.S: New file.
29348 * sysdeps/nios2/sfp-machine.h: New file.
29349 * sysdeps/nios2/sotruss-lib.c: New file.
29350 * sysdeps/nios2/stackguard-macros.h: New file.
29351 * sysdeps/nios2/stackinfo.h: New file.
29352 * sysdeps/nios2/start.S: New file.
29353 * sysdeps/nios2/sysdep.h: New file.
29354 * sysdeps/nios2/tls-macros.h: New file.
29355 * sysdeps/nios2/tst-audit.h: New file.
29356 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29357 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29358 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29359 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29360 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29361 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29362 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29363 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29364 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29365 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29366 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29367 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29368 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29369 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29370 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29371 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29372 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29373 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29374 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29375 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29376 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29377 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29378 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29379 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29380 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29381 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29382 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29383 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29384 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29385 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29386 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29387 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29388 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29389 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29390 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29391 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29392 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29393 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29394 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29395 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29396 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29397 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29398 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29399 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29400
29401 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29402
29403 [BZ #17844]
29404 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29405 (getutent): Use weak_alias in non SHARED case
29406 and default_symbol_version in SHARED case.
29407 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29408 (getutent_r, pututline): Likewise.
29409 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29410 (getutid): Likewise.
29411 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29412 (getutid_r): Likewise.
29413 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29414 (getutline): Likewise.
29415 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29416 (getutline_r): Likewise.
29417 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29418 (updwtmp): Likewise.
29419
29420 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29421
29422 [BZ #17848]
29423 * sysdeps/s390/s390-32/memcmp.S
29424 (memcmp_g5): Rename to __memcmp_g5.
29425 * sysdeps/s390/s390-32/memcpy.S
29426 (memcpy_g5): Rename to __memcpy_g5.
29427 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29428 (memcpy_mvcle) Rename to __memcpy_mvcle.
29429 * sysdeps/s390/s390-32/memset.S
29430 (memset_g5): Rename to __memset_g5.
29431 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29432 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29433 and use prefixed functions.
29434 * sysdeps/s390/s390-32/multiarch/memcmp.S
29435 (memcmp_z196): Rename to __memcmp_z196.
29436 (memcmp_z10): Rename to __memcmp_z10.
29437 (memcmp): Set alias to __memcmp_g5.
29438 (bcmp): Set alias to __memcmp_g5.
29439 * sysdeps/s390/s390-32/multiarch/memcpy.S
29440 (memcpy_z196): Rename to __memcpy_z196.
29441 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29442 (memcpy_z10): Rename to __memcpy_z10.
29443 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29444 (memcpy): Set alias to __memcpy_g5.
29445 * sysdeps/s390/s390-32/multiarch/memset.S
29446 (memset_z196): Rename to __memset_z196.
29447 Jump to __memset_mvcle instead of memset_mvcle.
29448 (memset_z10): Rename to __memset_z10.
29449 Jump to __memset_mvcle instead of memset_mvcle.
29450 (memset_mvcle) Rename to __memset_mvcle.
29451 (memset): Set alias to __memset_g5.
29452 * sysdeps/s390/s390-64/memcmp.S
29453 (memcmp_z900): Rename to __memcmp_z900.
29454 * sysdeps/s390/s390-64/memcpy.S
29455 (memcpy_z900): Rename to __memcpy_z900.
29456 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29457 (memcpy_mvcle) Rename to __memcpy_mvcle.
29458 * sysdeps/s390/s390-64/memset.S
29459 (memset_z900): Rename to __memset_z900.
29460 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29461 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29462 and use prefixed functions.
29463 * sysdeps/s390/s390-64/multiarch/memcmp.S
29464 (memcmp_z196): Rename to __memcmp_z196.
29465 (memcmp_z10): Rename to __memcmp_z10.
29466 (memcmp): Set alias to __memcmp_z900.
29467 (bcmp): Set alias to __memcmp_z900.
29468 * sysdeps/s390/s390-64/multiarch/memcpy.S
29469 (memcpy_z196): Rename to __memcpy_z196.
29470 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29471 (memcpy_z10): Rename to __memcpy_z10.
29472 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29473 (memcpy): Set alias to __memcpy_z900.
29474 * sysdeps/s390/s390-64/multiarch/memset.S
29475 (memset_z196): Rename to __memset_z196.
29476 Jump to __memset_mvcle instead of memset_mvcle.
29477 (memset_z10): Rename to __memset_z10.
29478 Jump to __memset_mvcle instead of memset_mvcle.
29479 (memset_mvcle) Rename to __memset_mvcle.
29480 (memset): Set alias to __memset_z900.
29481
29482 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29483
29484 [BZ #17748]
29485 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29486 __fesetenv instead of fesetenv.
29487
29488 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29489
29490 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29491 macro.
29492
29493 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29494
29495 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29496 regression on LE.
29497
29498 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29499 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29500 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29501 strncmp-power8 object.
29502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29503 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29504 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29505 * NEWS: Update.
29506
29507 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29508 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29509
29510 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29511 trailing byte check.
29512
29513 2015-01-13 David S. Miller <davem@davemloft.net>
29514
29515 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29516
29517 2015-01-13 Roland McGrath <roland@hack.frob.com>
29518
29519 * login/logout.c (logout): Use memset rather than bzero.
29520 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29521 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29522 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29523 (_gethtbyaddr): Likewise.
29524 * locale/programs/simple-hash.c (bcopy): Macro removed.
29525
29526 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29527
29528 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29529 Add strcmp-power8 object.
29530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29531 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29532 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29533 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29534 __strcmp_power8 implementation.
29535 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29536 * NEWS: Update.
29537
29538 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29539 Add strncpy-power8 and stpncpy-power8 objects.
29540 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29541 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29542 implementations.
29543 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29544 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29545 __stpncpy_power8 implementation.
29546 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29547 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29548 __strncpy_power8 implementation.
29549 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29550 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29551 * NEWS: Update.
29552
29553 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29554 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29555 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29556
29557 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29558 strncat-power8 object.
29559 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29560 __strcat_power8 implementation.
29561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29562 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29563 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29564 optimized strcat for power8.
29565
29566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29567 strcpy-power8 and stpcpy-power8 objects.
29568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29569 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29570 implementations.
29571 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29572 multiarch stpcpy implementation for POWER8.
29573 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29574 multiarch strcpy implementation for POWER8.
29575 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29576 __strcpy_power8 function.
29577 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29578 stpcpy for POWER8.
29579 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29580 strcpy for POWER8.
29581 * NEWS: Update.
29582
29583 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29584
29585 [BZ #16009]
29586 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29587 weights and rules. Use do_xfrm_cached if data fits in cache,
29588 do_xfrm otherwise. Moved former main loop to...
29589 * (do_xfrm_cached): New function.
29590 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29591 find_idx, find_position and stack_push.
29592 * (find_idx): New function.
29593 * (find_position): Likewise.
29594 * localedata/sort-test.sh: Added test run for do_xfrm.
29595 * localedata/xfrm-test.c (main): Added command line option
29596 -nocache to run the test with strings that are too large for
29597 the STRXFRM cache.
29598
29599 2015-01-13 Torvald Riegel <triegel@redhat.com>
29600
29601 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29602 variable to lll_futex_wake call, not the value itself.
29603
29604 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29605
29606 [BZ #17803]
29607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29608 twom64. Adjust value to 0x1p-64L.
29609 (__scalblnl): Only return standard underflowing result for K <=
29610 -64 not K <= -63; adjust exponent for underflowing result by 64
29611 not 63.
29612 * math/libm-test.inc (scalbn_test_data): Add more tests.
29613 (scalbln_test_data): Likewise.
29614
29615 [BZ #17834]
29616 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29617 0x1p63L.
29618 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29619 not HX.
29620 * math/libm-test.inc (scalbn_test_data): Add more tests.
29621 (scalbln_test_data): Likewise.
29622
29623 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29624 Stefani Seibold <stefani@seibold.net>
29625
29626 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29627 (sysdep_routines): Add dl-vdso here, ...
29628 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29629 (sysdep_routines): ... not here.
29630 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29631 fallback when vDSO is not presented.
29632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29633 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29634 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29635 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29636 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29637 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29638 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29639 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29640 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29641 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29642 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29643 fallback configurable symbol when vDSO is not available.
29644 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29645 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29646 be able to redefine fallback symbol when vDSO is not available.
29647 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29648 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29649
29650 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29651
29652 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29653 (TLS_INIT_TP): Add tm_capable initialization.
29654 (TLS_DEFINE_INIT_TP): Likewise.
29655 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29656 TCB.
29657 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29658 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29659 calculation.
29660 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29661 transactoion is lock elision is built and TCB tm_capable is set.
29662 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29664 (INTERNAL_SYSCALL_NCS): Likewise.
29665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29666 (INTERNAL_SYSCALL_NCS): Likewise.
29667 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29668
29669 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29670 for powerpc.
29671 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29672 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29673 and remove it for 32 bits case.
29674 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29676 initialization.
29677 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29678 Disable lock elision with rdlocks if elision is not available.
29679
29680 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29681 (sysdep_routines): Add lock elision objects.
29682 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29683 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29684 [pthread_mutex_t] (__elision): Add field.
29685 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29686 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29687 elision definitions for powerpc.
29688 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29689 implementation of lock elision for powerpc.
29690 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29691 implementation of timed lock elision for powerpc.
29692 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29693 implementation of trylock with lock elision for powerpc.
29694 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29695 implementaion of unlock for lock elision for powerpc.
29696 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29697 automatic enable lock elision for mutexes.
29698 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29699 transaction execution definitions for powerpc.
29700 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29701 definitions.
29702 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29703 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29704 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29705 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29706 * NEWS: Update.
29707
29708 2015-01-09 Roland McGrath <roland@hack.frob.com>
29709
29710 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29711 for #include of <shm-directory.h>.
29712
29713 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29714
29715 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29716 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29717
29718 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29719
29720 [BZ #17791]
29721 * NEWS: Mention bug fix.
29722 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29723 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29724 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29725
29726 2015-01-09 Torvald Riegel <triegel@redhat.com>
29727
29728 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29729
29730 2015-01-09 Torvald Riegel <triegel@redhat.com>
29731
29732 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29733
29734 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29735
29736 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29737 pointer and cast to uintptr_t.
29738
29739 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29740
29741 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29742 removed.
29743 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29744
29745 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29746
29747 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29748 of 0.
29749
29750 2015-01-08 Roland McGrath <roland@hack.frob.com>
29751
29752 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29753 <nptl/pthreadP.h> instead.
29754 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29755
29756 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29757 already defined.
29758 [__SIGRTMIN] (init): Function removed.
29759 [__SIGRTMIN] (initialized): Variable removed.
29760 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29761 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29762 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29763 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29764 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29765 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29766 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29767 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29768 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29769 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29770 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29771 * sysdeps/nptl/allocrtsig.c: New file.
29772 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29773 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29774 * sysdeps/generic/testrtsig.h: File removed.
29775
29776 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29777 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29778
29779 * nptl/nptl-init.c (pthread_functions): Conditionalize
29780 .ptr__nptl_setxid initialization on [SIGSETXID].
29781
29782 * sysdeps/nptl/sys/procfs.h: New file.
29783 * nptl_db/Makefile (headers): Add it.
29784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29785
29786 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29787 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29788 * nptl/pthread_attr_setaffinity.c: Include it.
29789 * nptl/pthread_setattr_default_np.c: Likewise.
29790 * nptl/check-cpuset.h: New file.
29791
29792 2015-01-08 Richard Henderson <rth@redhat.com>
29793
29794 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29795 (CFLAGS-tst-execstack-prog.c): Likewise.
29796 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29797
29798 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29799 Sandra Loosemore <sandra@codesourcery.com>
29800 Andrew Jenner <andrew@codesourcery.com>
29801 Joseph Myers <joseph@codesourcery.com>
29802 Nathan Sidwell <nathan@codesourcery.com>
29803
29804 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29805 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29806 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29807 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29808 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29809 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29810 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29811 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29812 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29813 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29814 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29815 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29816 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29817 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29818 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29819 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29820 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29821
29822 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29823
29824 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29825 timespec struct member in syscall macro.
29826 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29827 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29828 first timeval struct member in syscall macro.
29829 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29830
29831 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29832
29833 [BZ #17748]
29834 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29835 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29836 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29837 __feupdateenv and define as weak alias of __feupdateenv. Use
29838 libm_hidden_weak.
29839 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29840 libm_hidden_def.
29841 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29842 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29843 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29844 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29845 libm_hidden_def.
29846 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29847 __feupdateenv and define as weak alias of __feupdateenv. Use
29848 libm_hidden_weak.
29849 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29850 libm_hidden_def.
29851 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29852 __feupdateenv and define as weak alias of __feupdateenv. Use
29853 libm_hidden_weak.
29854 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29855 libm_hidden_def.
29856 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29857 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29858 (__feupdateenv): Likewise.
29859 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29860 __feupdateenv and define as weak alias of __feupdateenv. Use
29861 libm_hidden_weak.
29862 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29863 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29864 libm_hidden_def.
29865 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29866 function.
29867 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29868 libm_hidden_def.
29869 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29870 __feupdateenv instead of feupdateenv.
29871 (default_libc_feupdateenv_test): Likewise.
29872 (libc_feresetround_ctx): Likewise.
29873
29874 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29875
29876 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29877 prototype.
29878
29879 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29880
29881 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29882 COLL_SYM in a couple of places to avoid uninitialized variable
29883 wanings on tilegx gcc 4.8.2.
29884
29885 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29886
29887 * sysdeps/aarch64/strcpy.S: New file.
29888 * sysdeps/aarch64/stpcpy.S: New file.
29889 * NEWS: Updated.
29890
29891 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29892
29893 * sysdeps/aarch64/strrchr.S: New file.
29894 * NEWS: Updated.
29895
29896 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29897
29898 [BZ #17658]
29899 * stdlib/setenv.c: Fix memory leak when setting large,
29900 duplicate string.
29901
29902 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29903
29904 [BZ #17273]
29905 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29906 and tabs from buffer before parsing fstab entry.
29907 * misc/tst-mntent.c (main): Add test for mount entry with
29908 trailing spaces and tabs.
29909
29910 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #17748]
29913 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29914 * math/fesetround.c (fesetround): Rename to __fesetround and
29915 define as weak alias of __fesetround. Use libm_hidden_weak.
29916 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29917 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29918 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29919 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29920 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29921 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29922 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29923 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29924 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29925 __fesetround_inline.
29926 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29927 __fesetround_inline instead of __fesetround.
29928 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29929 __fesetround and define as weak alias of __fesetround. Use
29930 libm_hidden_weak. Call __fesetround_inline instead of
29931 __fesetround.
29932 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29933 __fesetround and define as weak alias of __fesetround. Use
29934 libm_hidden_weak.
29935 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29936 Likewise.
29937 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29938 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29939 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29940 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29941 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29942 __fesetround and define as weak alias of __fesetround. Use
29943 libm_hidden_weak.
29944 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29945 __fesetround instead of fesetround.
29946 (default_libc_feholdexcept_setround): Likewise.
29947 (libc_feholdsetround_ctx): Likewise.
29948 (libc_feholdsetround_noex_ctx): Likewise.
29949
29950 [BZ #17748]
29951 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29952 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29953 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29954 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29955 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29956 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29957 define as weak alias of __fesetenv. Use libm_hidden_weak.
29958 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29959 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29960 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29961 define as weak alias of __fesetenv. Use libm_hidden_weak.
29962 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29963 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29964 define as weak alias of __fesetenv. Use libm_hidden_weak.
29965 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29966 libm_hidden_def.
29967 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29968 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29969 Likewise.
29970 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29971 define as weak alias of __fesetenv. Use libm_hidden_weak.
29972 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29973 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29974 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29975 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29976 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29977 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29978 __fesetenv instead of fesetenv.
29979 (libc_feresetround_noex_ctx): Likewise.
29980 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29981 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29982 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29983 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29984 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29985 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29986 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29987 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29988 (__feupdateenv): Likewise.
29989 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29990 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29991 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29992 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29993
29994 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29995
29996 [BZ #17806]
29997 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29998 addresses have been freed.
29999
30000 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
30001
30002 * resolv/res_init.c (__res_vinit): Improve comments about nserv
30003 and nservall.
30004
30005 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
30006
30007 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30008 Clean up check_pf allocation pattern. addresses
30009
30010 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30011
30012 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30013 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30014 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30015 * nptl/pthread_exit.c (__pthread_exit): Likewise.
30016 * nptl/pthread_join.c (pthread_join): Likewise.
30017 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30018 * sysdeps/posix/waitid.c (__waitid): Likewise.
30019 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30020 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30021 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30022 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30023 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30024 Likewise.
30025 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30026 (__libc_pread64): Likewise.
30027 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30028 (__libc_pwrite): Likewise.
30029 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30030 (__libc_pwrite64): Likewsie.
30031 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30032 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30033 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30034 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30035 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30036 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30037 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30039 Likewise.
30040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30041 (__libc_pread64): Likewise.
30042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30043 Likewise.
30044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30045 (__libc_pwrite64): Likewise.
30046 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30047 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30048 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30049 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30050 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30051 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30052 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30053 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30054 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30055 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30056 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30057 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30058 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30059 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30060 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30061 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30062 Likewise.
30063
30064 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
30065
30066 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30067 (CFLAGS-test-double.c): Likewise.
30068 (CFLAGS-test-ldouble.c): Likewise.
30069 (CPPFLAGS-test-ifloat.c): Likewise.
30070 (CPPFLAGS-test-idouble.c): Likewise.
30071 (CPPFLAGS-test-ildoubl.c): Likewise.
30072 (CFLAGS-test-test-fenv.c): Remove variable.
30073 (CFLAGS-test-misc.c): Likewise.
30074
30075 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
30076
30077 [BZ #17797]
30078 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30079 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30080 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30081 CLOCKS_PER_SEC == 1000000.
30082 * time/clocktest.c (main): Replace %ld with %jd and cast to
30083 intmax_t.
30084
30085 2015-01-05 Roland McGrath <roland@hack.frob.com>
30086
30087 * sysdeps/generic/unwind-resume.h: New file.
30088 * sysdeps/gnu/unwind-resume.c: Include it.
30089 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30090 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30091 argument list.
30092 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30093 global rather than static.
30094 (_Unwind_Resume): Update user.
30095 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30096 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30097 rather than static. Add __attribute__ ((cold)).
30098 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30099 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30100 * sysdeps/arm/arm-unwind-resume.S: New file.
30101 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30102 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30103 * sysdeps/arm/Makefile [$(subdir) = csu]
30104 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30105 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30106 Add rt-arm-unwind-resume.
30107 [$(subdir) = nptl]
30108 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30109 Add pt-arm-unwind-resume.
30110 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30111 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30112
30113 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30114
30115 [BZ #17748]
30116 * include/fenv.h (__feholdexcept): Declare. Use
30117 libm_hidden_proto.
30118 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30119 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30120 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30121 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30122 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30123 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30124 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30125 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30126 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30127 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30128 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30129 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30130 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30131 (feholdexcept): Likewise.
30132 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30133 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30134 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30135 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30136 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30137 __feholdexcept instead of feholdexcept.
30138 (default_libc_feholdexcept_setround): Likewise.
30139
30140 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30141
30142 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30143 to avoid using stl/str to align destination.
30144
30145 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30146
30147 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30148
30149 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30150
30151 [BZ #17796]
30152 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30153 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30154 Define as weak alias not strong alias.
30155
30156 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30157
30158 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30159 bltzal with addiupc.
30160 (RTLD_START): Ditto.
30161
30162 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30163
30164 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30165 for __vdso_* functions in declarations.
30166 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30167 definitions.
30168 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30169 INTERNAL_VSYSCALL): Use struct return types to check for error.
30170
30171 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30172 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30173 function with cast from llround().
30174 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30175 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30176 Define.
30177
30178 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30179
30180 [BZ #17793]
30181 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30182 Define as weak alias not strong alias.
30183
30184 [BZ #17635]
30185 * ctype/ctype-c99.c: New file. isblank implementation moved from
30186 ...
30187 * ctype/ctype-extn.c: ... here.
30188 (__isblank_l): Move to ...
30189 * ctype/ctype-c99_l.c: ... here. New file.
30190 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30191 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30192 Remove variable.
30193 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30194 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30195 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30196 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30197 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30198
30199 [BZ #17777]
30200 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30201 (posix_fadvise64): Define as weak alias not strong alias.
30202 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30203 (posix_fallocate64): Likewise.
30204 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30205 Remove variable.
30206 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30207 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30208 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30209 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30210 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30211
30212 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30213
30214 [BZ #16191]
30215 * NEWS: Mention bug fix.
30216 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30217 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30218 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30219 (HOST_STACK_END_ADDR): Likewise.
30220
30221 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30222
30223 [BZ #17748]
30224 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30225 * math/fegetround.c (fegetround): Rename to __fegetround and
30226 define as weak alias of __fegetround. Use libm_hidden_weak.
30227 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30228 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30229 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30230 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30231 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30232 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30233 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30234 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30235 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30236 Undefine after rather than before function definition; use
30237 parentheses around function name in definition.
30238 (__fegetround): Also undefine macro after function definition.
30239 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30240 __fegetround and define as weak alias of __fegetround. Use
30241 libm_hidden_weak. Do not undefine as macro.
30242 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30243 Likewise.
30244 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30245 __fegetround and define as weak alias of __fegetround. Use
30246 libm_hidden_weak.
30247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30248 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30249 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30250 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30251 __fegetround and define as weak alias of __fegetround. Use
30252 libm_hidden_weak.
30253 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30254 __fegetround instead of fegetround.
30255
30256 [BZ #17782]
30257 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30258 Condition macro definition on [__USE_MISC].
30259
30260 [BZ #17781]
30261 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30262 (struct sigaction): Change type of sa_flags field to int.
30263
30264 [BZ #17780]
30265 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30266 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30267 __glibc_reserved0.
30268
30269 * nptl/version.c (banner): Use single year in copyright notice.
30270
30271 * NEWS: Update copyright dates.
30272 * catgets/gencat.c (print_version): Likewise.
30273 * csu/version.c (banner): Likewise.
30274 * debug/catchsegv.sh: Likewise.
30275 * debug/pcprofiledump.c (print_version): Likewise.
30276 * debug/xtrace.sh (do_version): Likewise.
30277 * elf/ldconfig.c (print_version): Likewise.
30278 * elf/ldd.bash.in: Likewise.
30279 * elf/pldd.c (print_version): Likewise.
30280 * elf/sotruss.sh: Likewise.
30281 * elf/sprof.c (print_version): Likewise.
30282 * iconv/iconv_prog.c (print_version): Likewise.
30283 * iconv/iconvconfig.c (print_version): Likewise.
30284 * locale/programs/locale.c (print_version): Likewise.
30285 * locale/programs/localedef.c (print_version): Likewise.
30286 * login/programs/pt_chown.c (print_version): Likewise.
30287 * malloc/memusage.sh (do_version): Likewise.
30288 * malloc/memusagestat.c (print_version): Likewise.
30289 * malloc/mtrace.pl: Likewise.
30290 * manual/libc.texinfo: Likewise.
30291 * nptl/version.c (banner): Likewise.
30292 * nscd/nscd.c (print_version): Likewise.
30293 * nss/getent.c (print_version): Likewise.
30294 * nss/makedb.c (print_version): Likewise.
30295 * posix/getconf.c (main): Likewise.
30296 * scripts/test-installation.pl: Likewise.
30297 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30298
30299 2015-01-02 Will Newton <will.newton@linaro.org>
30300
30301 * sysdeps/arm/armv7/configure: Removed.
30302 * sysdeps/arm/armv7/configure.ac: Likewise.
30303
30304 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30305
30306 * All files with FSF copyright notices: Update copyright dates
30307 using scripts/update-copyrights.
30308 * intl/plural.c: Regenerated.
30309 * locale/programs/charmap-kw.h: Likewise.
30310 * locale/programs/locfile-kw.h: Likewise.
30311
30312 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30313
30314 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30315
30316 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30317
30318 [BZ #17748]
30319 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30320 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30321 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30322 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30323 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30324 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30325 define as weak alias of __fegetenv. Use libm_hidden_weak.
30326 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30327 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30328 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30329 define as weak alias of __fegetenv. Use libm_hidden_weak.
30330 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30331 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30332 define as weak alias of __fegetenv. Use libm_hidden_weak.
30333 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30334 libm_hidden_def.
30335 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30336 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30337 Likewise.
30338 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30339 define as weak alias of __fegetenv. Use libm_hidden_weak.
30340 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30341 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30342 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30343 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30344 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30345 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30346 __fegetenv instead of fegetenv.
30347 (libc_feholdsetround_noex_ctx): Likewise.
30348
30349 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30350
30351 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30352 (Elf_MIPS_ABIFlags_v0): New structure.
30353 (EF_MIPS_FP64): Define.
30354 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30355 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30356 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30357 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30358 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30359 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30360 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30361 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30362 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30363 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30364 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30365 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30366 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30367 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30368 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30369 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30370 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30371 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30372 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30373 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30374 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30375 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30376 field.
30377 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30378 EF_MIPS_FP64.
30379 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30380 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30381 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30382 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30383 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30384 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30385 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30386 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30387 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30388 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30389 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30390 record the current FP ABI extension.
30391 (mips-mode-switch): Define to show if kernel headers support mode
30392 switching.
30393 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30394 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30395 supported SYSV ABI version to 3.
30396 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30397 feature.
30398
30399 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30400 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30401
30402 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30403 path.
30404 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30405
30406 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30407
30408 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30409 __fegetround and redefine to call __fegetround. Remove condition
30410 on [!__NO_MATH_INLINES].
30411 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30412 function.
30413 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30414 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30415 Remove macro.
30416 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30417 instead of <fenv_libc.h>.
30418 (__llrintl): Call fegetround instead of __fegetround.
30419 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30420 instead of <fenv_libc.h>.
30421 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30422 (__lrintl): Call fegetround instead of __fegetround.
30423 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30424 instead of <fenv_libc.h>.
30425 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30426 (__rintl): Call fegetround instead of __fegetround.
30427
30428 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30429
30430 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30431 arrays.
30432
30433 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30434
30435 [BZ #17775]
30436 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30437 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30438 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30439
30440 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30441
30442 * sysdeps/i386/tls-macros.h: Include <features.h>.
30443 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30444 (TLS_IE): Likewise.
30445 (TLS_LD): Likewise.
30446 (TLS_GD): Likewise.
30447 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30448 define for GCC >= 5.0.
30449
30450 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30451
30452 * math/test-fenv.c (test_single_exception, set_single_exc,
30453 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30454 feexcp_mask_test, feenable_test, fe_single_test): Add
30455 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30456 case where they are not used.
30457 * math/libm-test.inc: Likewise.
30458 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30459 unused in the absence of FP rounding/exception support.
30460 * stdio-common/tst-printf-round.c: Likewise.
30461 * stdlib/tst-strtod-round.c: Likewise.
30462 * stdlib/tst-strtod-underflow.c: Likewise.
30463
30464 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30465
30466 [BZ #17723]
30467 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30468 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30469 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30470 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30471 libm_hidden_weak.
30472 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30473 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30474 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30475 libm_hidden_def.
30476 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30477 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30478 libm_hidden_weak.
30479 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30480 Likewise.
30481 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30482 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30483 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30484 libm_hidden_weak.
30485 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30486 libm_hidden_def.
30487 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30488 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30489 (__feraiseexcept): Likewise.
30490 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30491 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30492 libm_hidden_weak.
30493 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30494 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30495 libm_hidden_def.
30496 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30497 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30498 Use libm_hidden_def.
30499 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30500 libm_hidden_def.
30501 (feraiseexcept): Define as weak not strong alias. Use
30502 libm_hidden_weak.
30503 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30504 New inline function. Factored out of ...
30505 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30506 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30507 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30508 feraiseexcept.
30509 * math/w_acos.c (__acos): Likewise.
30510 * math/w_asin.c (__asin): Likewise.
30511 * math/w_ilogb.c (__ilogb): Likewise.
30512 * math/w_j0.c (y0): Likewise.
30513 * math/w_j1.c (y1): Likewise.
30514 * math/w_jn.c (yn): Likewise.
30515 * math/w_log.c (__log): Likewise.
30516 * math/w_log10.c (__log10): Likewise.
30517 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30518 * sysdeps/aarch64/fpu/math_private.h
30519 (libc_feupdateenv_test_aarch64): Likewise.
30520 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30521 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30522 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30523 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30524 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30525 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30526 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30527 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30528 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30529 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30530
30531 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30532
30533 [BZ #17732]
30534 * io/test-utime.c (main): Replace %ld with %jd and cast to
30535 intmax_t.
30536 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30537 * nptl/tst-mutex5.c: Include <stdint.h>.
30538 (do_test): Replace %ld with %jd and cast to intmax_t.
30539 * posix/tst-regex.c (run_test): Likewise.
30540 (run_test_backwards): Likewise.
30541 * rt/tst-clock.c: Include <stdint.h>.
30542 (clock_test): Replace %ld with %jd and cast to intmax_t.
30543 * rt/tst-cpuclock1.c: Include <stdint.h>.
30544 (do_test): Replace %lu with %ju and cast to uintmax_t.
30545 * rt/tst-cpuclock2.c: Include <stdint.h>.
30546 (do_test): Replace %lu with %ju and cast to uintmax_t.
30547 * rt/tst-mqueue1.c: Include <stdint.h>.
30548 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30549 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30550 intmax_t.
30551 * rt/tst-mqueue4.c (do_test): Likewise.
30552 * rt/tst-timer4.c: Include <stdint.h>.
30553 (check_ts): Replace %ld with %jd and cast to intmax_t.
30554 (do_test): Likewise.
30555 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30556 and cast to intmax_t.
30557 * sysdeps/pthread/tst-timer.c (main): Likewise.
30558 * time/clocktest.c (main): Likewise.
30559 * time/tst-posixtz.c (do_test): Likewise.
30560 * timezone/tst-timezone.c (main): Likewise.
30561
30562 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30563 H.J. Lu <hongjiu.lu@intel.com>
30564
30565 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30566 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30567 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30568 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30569 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30570 version if bit_Fast_Unaligned_Load is set.
30571 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30572 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30573 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30574 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30575 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30576 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30578 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30579 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30580 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30581 to 4.
30582 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30583 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30584 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30585 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30586
30587 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30588
30589 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30590 instead of #if to avoid a Wundef warning.
30591 * stdlib/tst-limits.c (do_test): Likewise.
30592
30593 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30594 parallel other exception macros.
30595 (fegetenv): Convert from macro to extern inline so that it applies
30596 retroactively to inline functions already seen by the compiler.
30597 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30598
30599 * posix/Makefile (before-compile): Use $(objpfx) for
30600 posix-conf-vars-def.h.
30601
30602 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30603
30604 * posix/getconf.c (main): Use size_t for type of I.
30605 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30606 NSPEC.
30607
30608 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30609 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30610 * posix/posix-envs.def: Likewise.
30611 * sysdeps/posix/sysconf.c: Likewise.
30612 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30613 (specs): Remove array.
30614 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30615 array.
30616
30617 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30618 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30619 (__sysconf): Use CONF_IS_* macros.
30620
30621 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30622 ($(objpfx)posix-conf-vars-def.h): New target.
30623 * posix/posix-conf-vars.list: New file.
30624 * posix/posix-conf-vars.h: New file.
30625 * posix/confstr.c: Include posix-conf-vars.h.
30626 (confstr): Use CONF_IS_* macros.
30627 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30628 CONF_IS_* macros.
30629 * scripts/gen-posix-conf-vars.awk: New file.
30630
30631 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30632
30633 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30634 fegetround): Add no-op macros to avoid linknamespace issues.
30635
30636 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30637 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30638
30639 * sysdeps/unix/sysv/linux/tile/sysdep.h
30640 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30641 assembly-specific section to avoid a redefinition warning.
30642
30643 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30644 long before casting to pointer to avoid a cast warning.
30645
30646 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30647
30648 * sysdeps/tile/tilegx/Implies: New file.
30649
30650 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30651
30652 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30653
30654 2014-12-23 Florian Weimer <fweimer@redhat.com>
30655
30656 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30657
30658 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30659
30660 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30661 not define.
30662 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30663 <kernel-features.h>.
30664 (__utimes) [__NR_utimes]: Make code unconditional.
30665 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30666 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30667 (__ASSUME_UTIMES): Do not undefine.
30668 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30669 (__ASSUME_UTIMES): Likewise.
30670 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30671 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30672 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30673 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30674
30675 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30676
30677 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30678
30679 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30680
30681 [BZ #17747]
30682 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30683 alias to weak alias for j0l, y0l.
30684 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30685 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30686
30687 [BZ #17746]
30688 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30689 conversion.
30690
30691 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30692
30693 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30694 to zero if not already defined.
30695
30696 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30697
30698 [BZ #17724]
30699 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30700 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30701 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30702 (char *) casts added.
30703 * sysdeps/ieee754/k_standardf.c: New file.
30704 * sysdeps/ieee754/k_standardl.c: Likewise.
30705 * math/Makefile (libm-support): Remove k_standard.
30706 (libm-calls): Add k_standard.
30707
30708 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30709
30710 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30711 Optimize to avoid an unnecessary FPCR read.
30712
30713 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30714
30715 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30716 Optimize to reduce FPCR/FPSR accesses.
30717
30718 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30719
30720 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30721 Call libc_fetestexcept_aarch64.
30722
30723 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30724
30725 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30726 Call libc_fesetround_aarch64.
30727
30728 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30729
30730 [BZ #17733]
30731 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30732 (__bind): Do not define as weak alias.
30733 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30734 define.
30735 (__getsockname): Do not define as weak alias.
30736
30737 2014-12-22 Will Newton <will.newton@linaro.org>
30738
30739 * manual/install.texi: Document that we require bison 2.7
30740 or above.
30741 * INSTALL: Regenerate.
30742 * configure.ac: Use AC_CHECK_PROG_VER instead of
30743 AC_PATH_PROG when checking for bison and check for
30744 version 2.7 or above.
30745 * configure: Regenerate.
30746
30747 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30748
30749 [BZ #17745]
30750 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30751 * sysdeps/tile/ffsll.c (ffsll): To here.
30752
30753 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30754
30755 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30758 if not defined.
30759 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30760 definition.
30761 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30762 hidden ___tls_get_addr.
30763 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30764 hidden __tls_get_addr.
30765 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30766 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30767 Likewise.
30768
30769 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30770
30771 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30772 _dl_init call.
30773
30774 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30775
30776 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30777 from "call _dl_init@PLT".
30778 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30779
30780 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30781
30782 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30783 guarantees.
30784
30785 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30786
30787 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30788
30789 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30790
30791 [BZ #17744]
30792 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30793 strnlen.
30794
30795 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30796
30797 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30798 of multu on MIPSr6.
30799 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30800 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30801 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30802 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30803 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30804
30805 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30806
30807 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30808 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30809 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30810 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30811 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30812 mips32r6/mips64r6.
30813 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30814
30815 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30816
30817 * string/strncat.c (STRNCAT): Simplify implementation.
30818
30819 2014-12-19 David S. Miller <davem@davemloft.net>
30820
30821 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30822 access the quad as both a long double and as a series of 4 words.
30823
30824 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30825 link_map->l_info array access.
30826
30827 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30828
30829 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30830
30831 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30832 * math/atest-exp2.c (TIMEOUT): Likewise.
30833 * math/atest-sincos.c (TIMEOUT): Likewise.
30834
30835 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30836
30837 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30838 -Wno-error with -fno-builtin-lround.
30839
30840 2014-12-19 Torvald Riegel <triegel@redhat.com>
30841
30842 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30843 Contains futex constants and functions moved over from ...
30844 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30845 <lowlevellock-futex.h>.
30846 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30847 (lll_timedwait_tid): Add comments and parentheses around macro
30848 arguments.
30849
30850 2014-12-19 Torvald Riegel <triegel@redhat.com>
30851
30852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30853 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30854 (__lll_private_flag): Remove.
30855 (lll_futex_wait): Likewise.
30856 (lll_futex_timed_wait): Likewise.
30857 (lll_futex_wake): Likewise.
30858 (lll_futex_requeue): Likewise.
30859 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30860 (__lll_timedwait_tid): Spell out argument names.
30861 (lll_timedwait_tid): Add comments and parentheses around macro
30862 arguments.
30863 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30864 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30865
30866 2014-12-19 Torvald Riegel <triegel@redhat.com>
30867
30868 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30869 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30870 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30871 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30872 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30873 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30874 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30875 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30876 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30877 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30878 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30879 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30880 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30881 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30882 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30883 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30884 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30885 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30886 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30887
30888 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30889
30890 * sysdeps/x86_64/x32/Makefile: New file.
30891
30892 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30893
30894 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30895 1L with (mp_limb_t) 1.
30896
30897 2014-12-17 Roland McGrath <roland@hack.frob.com>
30898
30899 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30900 * nptl/libc_pthread_init.c: ... here.
30901 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30902 * nptl/register-atfork.c: ... here.
30903
30904 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30905 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30906 Use assert_perror to check its return value.
30907 (__gai_create_helper_thread): Likewise.
30908
30909 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30910
30911 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30912
30913 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30914
30915 [BZ #17725]
30916 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30917 __profil_counter.
30918 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30919 Likewise.
30920 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30921 Likewise.
30922 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30923 Likewise.
30924 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30925 (profil_counter): Likewise.
30926 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30927 (profil_counter): Likewise.
30928 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30929 Likewise.
30930 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30931 Likewise.
30932 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30933 (profil_counter): Likewise.
30934 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30935 Likewise.
30936 [!__profil_counter] (profil_counter): Define as weak alias of
30937 __profil_counter.
30938 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30939 (profil_counter): Rename to __profil_counter.
30940 [!__profil_counter] (profil_counter): Define as weak alias of
30941 __profil_counter.
30942 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30943 (profil_counter): Rename to __profil_counter.
30944 [!__profil_counter] (profil_counter): Define as weak alias of
30945 __profil_counter.
30946 * sysdeps/posix/profil.c: Update comment referring to
30947 profil_counter.
30948 (__profil): Use __profil_counter instead of profil_counter.
30949 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30950 __profil_counter. Use __profil_counter_ushort and
30951 __profil_counter_uint in definitions.
30952 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30953 instead of profil_counter_uint and profil_counter_ushort.
30954
30955 [BZ #17722]
30956 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30957 define as weak alias of __inet_makeaddr.
30958 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30959 as weak alias of __inet_addr.
30960 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30961 as weak alias of __inet_pton. Use libc_hidden_weak.
30962 * include/arpa/inet.h (__inet_pton): Declare. Use
30963 libc_hidden_proto.
30964 (inet_makeaddr): Don't use libc_hidden_proto.
30965 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30966 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30967 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30968 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30969 Remove variable.
30970 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30971 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30972
30973 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30974
30975 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30976
30977 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30978
30979 * stdio-common/bug-vfprintf-nargs.c (do_test):
30980 Cast value to intptr_t to avoid format warning
30981 for usage with PRIdPTR printing macro.
30982
30983 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30984
30985 * libio/tst-widetext.c (do_test):
30986 Use format type %td instead of %Zd for ptrdiff_t
30987 in order to avoid format warning.
30988
30989 2014-12-17 Andreas Schwab <schwab@suse.de>
30990
30991 * nscd/mem.c (gc): Add size_t cast to match printf format.
30992
30993 2014-12-16 Roland McGrath <roland@hack.frob.com>
30994
30995 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30996 (init): Apply PTR_MANGLE to pointers before storing them.
30997 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30998 before using them.
30999
31000 2014-12-16 Joseph Myers <joseph@codesourcery.com>
31001
31002 [BZ #17719]
31003 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31004 define as weak alias of __memrchr.
31005 (__memrchr): Do not define as strong alias of memrchr.
31006 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31007 Remove variable.
31008 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31009 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31010 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31011
31012 [BZ #17717]
31013 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31014 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
31015 (if_indextoname): Rename to __if_indextoname and define as weak
31016 alias of __if_indextoname. Use libc_hidden_weak.
31017 (if_freenameindex): Rename to __if_freenameindex and define as
31018 weak alias of __if_freenameindex.
31019 (if_nameindex): Rename to __if_nameindex and define as weak alias
31020 of __if_nameindex.
31021 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31022 __if_nametoindex and define as weak alias of __if_nametoindex.
31023 Use libc_hidden_weak.
31024 (if_freenameindex): Rename to __if_freenameindex and define as
31025 weak alias of __if_freenameindex.
31026 (if_nameindex): Rename to __if_nameindex and define as weak alias
31027 of __if_nameindex.
31028 (if_indextoname): Rename to __if_indextoname and define as weak
31029 alias of __if_indextoname. Use libc_hidden_weak.
31030 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31031 __if_nametoindex and define as weak alias of __if_nametoindex.
31032 Use libc_hidden_weak.
31033 (if_freenameindex): Rename to __if_freenameindex and define as
31034 weak alias of __if_freenameindex. Use libc_hidden_weak.
31035 (if_nameindex_netlink): Use __if_freenameindex instead of
31036 if_freenameindex.
31037 (if_nameindex): Rename to __if_nameindex and define as weak alias
31038 of __if_nameindex. Use libc_hidden_weak.
31039 (if_indextoname): Rename to __if_indextoname and define as weak
31040 alias of __if_indextoname. Use libc_hidden_weak.
31041 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31042 libc_hidden_proto.
31043 [!_ISOMAC] (__if_freenameindex): Likewise.
31044 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31045 if_nametoindex.
31046 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31047 variable.
31048 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31049 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31050 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31051 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31052 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31053 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31054 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31055
31056 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31057 Remove variable.
31058 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31059 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31060
31061 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31062
31063 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31064 subscript above bounds'
31065
31066 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31067 bounds.
31068
31069 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
31070
31071 * libio/tst-fopenloc.c: Use test-skeleton.c.
31072
31073 * stdlib/tst-bsearch.c: Use test-skeleton.c.
31074 (entry): Rename to ITEM.
31075 (do_test, comp): Adjust.
31076
31077 * stdio-common/tst-fseek.c: Use test-skeleton.c.
31078
31079 2014-12-16 Torvald Riegel <triegel@redhat.com>
31080
31081 * string/tester.c: Include <libc-internal.h>.
31082 (test_memset): Ignore -Wmemset-transposed-args.
31083
31084 2014-12-16 Torvald Riegel <triegel@redhat.com>
31085
31086 * misc/tst-mntent2.c (do_test): Fix warning.
31087
31088 2014-12-16 Torvald Riegel <triegel@redhat.com>
31089
31090 * elf/tst-unique4lib.cc(a): Mark as used.
31091
31092 2014-12-16 Florian Weimer <fweimer@redhat.com>
31093
31094 [BZ #17630]
31095 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31096 names.
31097
31098 2014-12-16 Allan McRae <allan@archlinux.org>
31099
31100 * stdio-common/Makefile (tests): Re-add bug26.
31101
31102 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31103
31104 [BZ #17657]
31105 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31106 static array.
31107
31108 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31109
31110 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31111 (__lll_lock_wait): Likewise.
31112 (__lll_timedlock_wait): Likewise.
31113 (__lll_timedwait_tid): Likewise.
31114 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31115 (__lll_robust_timedlock_wait): Likewise.
31116 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31117 (lll_cond_trylock): Likewise.
31118 (__lll_lock): Likewise.
31119 (__lll_robust_lock): Likewise.
31120 (__lll_cond_lock): Likewise.
31121 (lll_robust_cond_lock): Likewise.
31122 (__lll_timedlock): Likewise.
31123 (__lll_robust_timedlock): Likewise.
31124 (__lll_unlock): Likewise.
31125 (__lll_robust_unlock): Likewise.
31126 (lll_wait_tid): Likewise.
31127 (lll_timedwait_tid): Likewise.
31128
31129 2014-12-15 Torvald Riegel <triegel@redhat.com>
31130
31131 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31132
31133 2014-12-15 Torvald Riegel <triegel@redhat.com>
31134
31135 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31136
31137 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31138
31139 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31140 * stdio-common/tst-sprintf.c: Likewise.
31141
31142 2014-12-15 Torvald Riegel <triegel@redhat.com>
31143
31144 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31145
31146 2014-12-15 Jeff Law <law@redhat.com>
31147
31148 [BZ #16617]
31149 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31150 on the heap. (CVE-2012-3406)
31151 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31152 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31153 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31154
31155 2014-12-15 Will Newton <will.newton@linaro.org>
31156
31157 * manual/install.texi: Bump required version of texinfo
31158 to 4.7 from 4.5.
31159 * INSTALL: Regenerated.
31160 * configure.ac: Check for makeinfo version 4.7 and above.
31161 * configure: Regenerated.
31162
31163 2014-12-12 Roland McGrath <roland@hack.frob.com>
31164
31165 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31166 PREFIX, string constant to insert between directory and name.
31167 * sysdeps/posix/shm_open.c: Update caller.
31168 * sysdeps/posix/shm_unlink.c: Likewise.
31169 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31170 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31171 (SEM_SHM_PREFIX): New macro.
31172 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31173 [$(have-thread-library) = no].
31174 * nptl/Makefile (libpthread-routines): Add shm-directory.
31175 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31176 * sysdeps/nptl/shm-directory.h: New file.
31177 * sysdeps/posix/shm-directory.c
31178 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31179 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31180 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31181 INTERNAL_SYSCALL.
31182 (__where_is_shmfs): Function removed.
31183 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31184 Variables removed.
31185 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31186 Use SHM_GET_NAME.
31187 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31188
31189 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31190 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31191 unconditional for use inside libpthread.
31192 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31193
31194 2014-12-12 Roland McGrath <roland@hack.frob.com>
31195
31196 * nptl/pthread_getaffinity.c: New file.
31197 * nptl/pthread_setaffinity.c: New file.
31198 * nptl/pthread_getname.c: New file.
31199 * nptl/pthread_setname.c: New file.
31200
31201 * nptl/pthread_create.c (START_THREAD_DEFN)
31202 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31203
31204 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31205 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31206
31207 * resolv/res_send.c (send_vc): Disable warning resplen may
31208 be used uninitialized.
31209
31210 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31211
31212 * nptl/tst-mutex6.c
31213 (ATTR_NULL): New define checks ATTR against NULL.
31214 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31215 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31216
31217 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31218
31219 [BZ #17581]
31220 * malloc/hooks.c
31221 (mem2mem_check): Revert my previous change.
31222 (malloc_check_get_size): Revert my previous change.
31223 (mem2chunk_check): Revert my previous change.
31224
31225 2014-12-11 Roland McGrath <roland@hack.frob.com>
31226
31227 * sysdeps/posix/shm-directory.c: New file.
31228 * sysdeps/posix/shm-directory.h: New file.
31229 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31230 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31231 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31232 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31233 Transmute EPERM to EACCES.
31234 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31235 from ...
31236 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31237 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31238
31239 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31240
31241 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31242 pointer and cast to uintptr_t.
31243 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31244 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31245 Add cast to avoid warning.
31246 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31247
31248 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31249
31250 * nptl/semaphore.h: Move to ...
31251 * sysdeps/pthread/semaphore.h: ... here.
31252 * Makefile (installed-headers): Change nptl/semaphore.h to
31253 sysdeps/pthread/semaphore.h.
31254
31255 2014-12-11 Roland McGrath <roland@hack.frob.com>
31256
31257 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31258 generated error format strings.
31259
31260 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31261 -Wformat-extra-args warnings for scanf formats.
31262 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31263 test of zero-length format (duh).
31264 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31265 corner-case scanf format test.
31266 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31267 generated fprintf format string.
31268 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31269 corner-case sprintf format tests.
31270 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31271 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31272 -Wformat-extra-args warnings throughout.
31273 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31274 (CFLAGS-scanf4.c): Likewise.
31275 (CFLAGS-scanf7.c): Likewise.
31276 (CFLAGS-tst-sprintf.c): Likewise.
31277 (CFLAGS-tst-printf.c): Likewise.
31278 (CFLAGS-tst-printfsz.c): Likewise.
31279
31280 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31281
31282 * include/cpio.h: New file.
31283 * include/fmtmsg.h: Likewise.
31284
31285 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31286 corresponding format argument to size_t.
31287 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31288 arguments.
31289 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31290 corresponding format argument to size_t.
31291 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31292 arguments.
31293 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31294 corresponding format argument to size_t.
31295 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31296 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31297 (CFLAGS-tst-mbswcs2.c): Likewise.
31298 (CFLAGS-tst-mbswcs3.c): Likewise.
31299 (CFLAGS-tst-mbswcs4.c): Likewise.
31300 (CFLAGS-tst-mbswcs5.c): Likewise.
31301 (CFLAGS-tst-trans.c): Likewise.
31302
31303 2014-12-11 Roland McGrath <roland@hack.frob.com>
31304
31305 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31306 rather than assuming they won't contain any '%'s.
31307
31308 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31309
31310 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31311 inhibit_loop_to_libcall to avoid recursive calls.
31312 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31313 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31314
31315 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31316
31317 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31318 prototype.
31319
31320 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31321
31322 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31323 integer value instead of boolean.
31324
31325 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31326
31327 * malloc/malloc.c: Fix powerof2 check.
31328
31329 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31330
31331 * locale/programs/locfile.h (maybe_swap_uint32):
31332 Remove inline and add unused attribute.
31333
31334 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31335
31336 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31337 Truncating assembler expression to a .long expression.
31338
31339 2014-12-11 Andreas Schwab <schwab@suse.de>
31340
31341 * elf/rtld.c (struct map_args): Constify str member.
31342 (do_preload): Constify fname argument.
31343
31344 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31345
31346 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31347 constants definition.
31348
31349 2014-12-11 Andreas Schwab <schwab@suse.de>
31350
31351 [BZ #16657]
31352 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31353 FORCE_ELISION instead of DO_ELISION.
31354 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31355 Remove.
31356 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31357 Likewise.
31358
31359 * iconvdata/gconv-modules: Remove duplicate entry.
31360
31361 2014-12-11 Will Newton <will.newton@linaro.org>
31362
31363 Merge gettext 0.19.3 into intl/.
31364
31365 This involves a number of cosmetic changes to comments
31366 and ANSI function definitions and prototypes throughout
31367 all the files. The gettext copyright header is used but
31368 with the date ranges taken from the glibc copy.
31369
31370 * NEWS: Add gettext merge to 2.21.
31371 * intl/bindtextdom.c: Switch to gettext copyright.
31372 Use ANSI definitions and prototypes.
31373 Use gl_* locking primitives rather than __libc_* ones.
31374 Use __builtin_expect rather than __glibc_likely/unlikely.
31375 * intl/dcgettext.c: Switch to gettext copyright.
31376 Use ANSI definitions and prototypes.
31377 * intl/dcigettext.c: Switch to gettext copyright.
31378 Use ANSI definitions and prototypes.
31379 (INTDIV0_RAISES_SIGFPE): New define.
31380 Use gl_* locking primitives rather than __libc_* ones.
31381 Include eval-plural.h instead of plural-eval.c.
31382 Use __builtin_expect rather than __glibc_likely/unlikely.
31383 * intl/dcngettext.c: Switch to gettext copyright.
31384 Use ANSI definitions and prototypes.
31385 * intl/dgettext.c: Likewise.
31386 * intl/dngettext.c: Likewise.
31387 * intl/plural-eval.c: Renamed to...
31388 * intl/eval-plural.h: ...this.
31389 * intl/explodename.c: Switch to gettext copyright.
31390 Use ANSI definitions and prototypes.
31391 (_nl_explode_name): Use strchr instead of __rawmemchr.
31392 * intl/finddomain.c: Switch to gettext copyright.
31393 Use ANSI definitions and prototypes.
31394 Use gl_* locking primitives rather than __libc_* ones.
31395 (_nl_find_domain): Use malloc rather than alloca for
31396 allocation of temporary locale name.
31397 * intl/gettext.c: Switch to gettext copyright.
31398 Use ANSI definitions and prototypes.
31399 * intl/gettextP.h: Switch to gettext copyright.
31400 Use ANSI definitions and prototypes.
31401 Use gl_* locking primitives rather than __libc_* ones.
31402 * intl/gmo.h: Switch to gettext copyright.
31403 (struct sysdep_string): Move struct segment_pair outside of
31404 struct definition.
31405 * intl/hash-string.c: Use ANSI definitions and prototypes.
31406 * intl/hash-string.h: Switch to gettext copyright.
31407 Use ANSI definitions and prototypes.
31408 * intl/l10nflist.c: Switch to gettext copyright.
31409 Use ANSI definitions and prototypes.
31410 (_nl_normalize_codeset): Avoid integer overflow.
31411 * intl/loadinfo.h: Switch to gettext copyright.
31412 Use ANSI definitions and prototypes.
31413 (LIBINTL_DLL_EXPORTED): New define.
31414 (PATH_SEPARATOR): New define.
31415 * intl/loadmsgcat.c: Switch to gettext copyright.
31416 * intl/localealias.c: Switch to gettext copyright.
31417 Use ANSI definitions and prototypes.
31418 (_nl_expand_alias): Use PATH_SEPARATOR.
31419 * intl/ngettext.c: Switch to gettext copyright.
31420 Use ANSI definitions and prototypes.
31421 * intl/plural-exp.c: Likewise.
31422 * intl/plural-exp.h: Switch to gettext copyright.
31423 Use ANSI definitions and prototypes.
31424 (struct expression): Move definition of enum operator outside
31425 of struct definition.
31426 * intl/plural.c: Regenerate.
31427 * intl/plural.y: Switch to gettext copyright.
31428 Use ANSI definitions and prototypes.
31429 Port to bison 3.0.
31430 * intl/textdomain.c: Switch to gettext copyright.
31431 Use ANSI definitions and prototypes.
31432 Use gl_* locking primitives rather than __libc_* ones.
31433
31434 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31435
31436 * debug/warning-nop.c: Add used atrribute.
31437
31438 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31439
31440 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31441
31442 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31443 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31444 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31445
31446 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31447 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31448
31449 [BZ #17634]
31450 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31451 Undefine after defining function. Define as weak alias of
31452 __wcschr. Use libc_hidden_weak.
31453 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31454 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31455 (libc_hidden_def): Also define __GI___wcschr alias.
31456 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31457 __wcschr and define as weak alias of __wcschr.
31458 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31459 __wcschr.
31460 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31461 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31462 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31463 libc_hidden_weak. Do not use libc_hidden_def.
31464 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31465 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31466 __GI___wcschr alias.
31467 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31468 [IS_IN (libc)] (wcschr): Define as macro expanding to
31469 __redirect_wcschr.
31470 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31471 [IS_IN (libc)] (__wcschr_power6): Likewise.
31472 [IS_IN (libc)] (__wcschr_power7): Likewise.
31473 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31474 instead of wcschr.
31475 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31476 __libc_wcschr.
31477 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31478 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31479 __wcschr and define as weak alias of __wcschr. Use
31480 libc_hidden_builtin_def.
31481 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31482 as weak alias of __wcschr. Use libc_hidden_weak.
31483 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31484 wcschr.
31485 * time/era.c (_nl_init_era_entries): Likewise.
31486 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31487 variable.
31488 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31489 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31490
31491 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31492
31493 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31494 format for long int variable.
31495
31496 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31497
31498 [BZ #10672]
31499 * manual/search.texi: (Array Sort Function): Remove claim how to make
31500 qsort stable.
31501
31502 2014-12-10 Andreas Schwab <schwab@suse.de>
31503
31504 [BZ #12847]
31505 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31506 user-controlled locks.
31507
31508 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31509
31510 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31511 register.
31512
31513 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31514
31515 * configure.ac (--disable-werror): New configure option.
31516 (enable_werror): New AC_SUBST.
31517 * configure: Regenerated.
31518 * config.make.in (enable-werror): New variable.
31519 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31520 -Wno-error=undef.
31521 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31522 * manual/install.texi (Configuring and compiling): Document
31523 --disable-werror.
31524 * INSTALL: Regenerated.
31525 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31526 (CFLAGS-tst-chk2.c): Likewise.
31527 (CFLAGS-tst-chk3.c): Likewise.
31528 (CFLAGS-tst-chk4.cc): Likewise.
31529 (CFLAGS-tst-chk5.cc): Likewise.
31530 (CFLAGS-tst-chk6.cc): Likewise.
31531 (CFLAGS-tst-lfschk1.c): Likewise.
31532 (CFLAGS-tst-lfschk2.c): Likewise.
31533 (CFLAGS-tst-lfschk3.c): Likewise.
31534 (CFLAGS-tst-lfschk4.cc): Likewise.
31535 (CFLAGS-tst-lfschk5.cc): Likewise.
31536 (CFLAGS-tst-lfschk6.cc): Likewise.
31537
31538 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31539 (main): Disable -Wdeprecated-declarations around calls to
31540 register_printf_function.
31541
31542 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31543 (do_test): Disable -Wdiv-by-zero around some calls to
31544 fwrite_unlocked and fread_unlocked.
31545
31546 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31547 (DIAG_POP_NEEDS_COMMENT): Likewise.
31548 (_DIAG_STR1): Likewise.
31549 (_DIAG_STR): Likewise.
31550 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31551 * stdio-common/bug21.c: Include <libc-internal.h>.
31552 (do_test): Disable -Wformat around call to sscanf.
31553 * stdio-common/scanf14.c: Include <libc-internal.h>.
31554 (main): Disable -Wformat around some calls to scanf functions.
31555
31556 2014-12-09 Torvald Riegel <triegel@redhat.com>
31557
31558 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31559
31560 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31561
31562 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31563 stack variable alignment.
31564
31565 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31566
31567 [BZ #17682]
31568 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31569 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31570 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31571 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31572 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31573 __getrlimit instead of getrlimit.
31574 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31575 __gettimeofday instead of gettimeofday.
31576 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31577 Likewise.
31578 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31579 Likewise.
31580 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31581 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31582 Remove variable.
31583 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31584 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31585
31586 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31587
31588 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31589 for wide-character tests.
31590
31591 2014-12-04 Roland McGrath <roland@hack.frob.com>
31592
31593 * io/openat64.c: #include <libc-internal.h>
31594 (__openat64): Prototypify. Use ignore_value on MODE.
31595 * io/openat.c: Likewise.
31596 * misc/reboot.c: #include <libc-internal.h>
31597 (reboot): Prototypify. Use ignore_value on HOWTO.
31598 * misc/ptrace.c: #include <libc-internal.h>
31599 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31600
31601 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31602
31603 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31604 XPG4, UNIX98 and XOPEN2K.
31605 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31606 Remove variable.
31607 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31608
31609 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31610
31611 * libio/fileops.c: Use ISO C style for function definitions.
31612 * libio/iofopen.c: Likewise.
31613 * libio/wfileops.c: Likewise.
31614
31615 [BZ #17653]
31616 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31617 offset on EOF.
31618 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31619 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31620 (fgets_func): Function pointer to fgets and fgetws.
31621 (do_ftell_test): Add test to verify ftell value after read
31622 EOF.
31623 (do_test): Set fgets_func.
31624
31625 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31626 O_TRUNC flag for w and w+ modes.
31627 (do_rewind_test): Likewise.
31628 (do_ftell_test): Likewise.
31629 (do_write_test): Likewise.
31630
31631 [BZ #17647]
31632 * libio/fileops.c (do_ftell): Seek only when there are
31633 unflushed writes.
31634 * libio/wfileops.c (do_ftell_wide): Likewise.
31635 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31636 test case.
31637 (do_one_test): Call it.
31638
31639 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31640
31641 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31642 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31643 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31644 Remove variable.
31645 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31646 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31647 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31648
31649 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31650
31651 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31652 Remove variable.
31653 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31654
31655 [BZ #17668]
31656 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31657 as weak alias of __getifaddrs. Use libc_hidden_weak.
31658 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31659 __freeifaddrs. Use libc_hidden_weak.
31660 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31661 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31662 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31663 __freeifaddrs. Use libc_hidden_weak.
31664 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31665 __getifaddrs and define as weak alias of __getifaddrs. Use
31666 libc_hidden_weak.
31667 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31668 __freeifaddrs. Use libc_hidden_weak.
31669 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31670 Remove variable.
31671 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31672 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31673
31674 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31675
31676 [BZ #17601]
31677 * sysdeps/mips/start.S (__start): Use indirect jump to call
31678 __libc_start_main.
31679
31680 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31681
31682 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31683
31684 * nptl/tst-mutex1.c: Include <stdbool.h>.
31685 [!ATTR] (ATTR_NULL): New macro.
31686 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31687 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31688 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31689
31690 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31691 to char *.
31692
31693 [BZ #17665]
31694 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31695 Change conditional to [__USE_MISC].
31696
31697 [BZ #17664]
31698 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31699 fgets_unlocked.
31700 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31701 __fgets_unlocked.
31702 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31703 fgets_unlocked.
31704 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31705 Remove variable.
31706 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31707 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31708 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31709 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31710 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31711 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31712 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31713 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31714 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31715
31716 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31717
31718 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31719
31720 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31721 Remove strpbrk objects.
31722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31723 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31724 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31725 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31726 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31727 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31728
31729 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31730 Remove strcspn objects.
31731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31732 (__libc_ifunc_impl_list): Remove strcspn implementation.
31733 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31734 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31735 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31736 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31737
31738 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31739 Remove strspn objetcs.
31740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31741 (__libc_ifunc_impl_list): Remove strspn implementation.
31742 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31743 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31744 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31745 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31746
31747 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31748
31749 [BZ #17581]
31750 * malloc/hooks.c
31751 (mem2mem_check): Add a terminator to the chain of checking blocks.
31752 (malloc_check_get_size): Use it here.
31753 (mem2chunk_check): Ditto.
31754
31755 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31756
31757 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31758 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31759
31760 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31761
31762 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31763
31764 * nptl/nptl-init.c: Include libc-internal.h.
31765 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31766
31767 * elf/ldconfig.c (search_dir): Expand comment.
31768
31769 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31770
31771 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31772 variable.
31773 (linknamespace-symlist-stdlibs-tests): Likewise.
31774 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31775 instead of $(objpfx)symlist-stdlibs.
31776 (linknamespace-libs-isoc): New variable.
31777 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31778 (linknamespace-libs-ISO): New variable.
31779 (linknamespace-libs-ISO99): Likewise.
31780 (linknamespace-libs-ISO11): Likewise.
31781 (linknamespace-libs-XPG3): Likewise.
31782 (linknamespace-libs-XPG4): Likewise.
31783 (linknamespace-libs-POSIX): Likewise.
31784 (linknamespace-libs-UNIX98): Likewise.
31785 (linknamespace-libs-XOPEN2K): Likewise.
31786 (linknamespace-libs-POSIX2008): Likewise.
31787 (linknamespace-libs-XOPEN2K8): Likewise.
31788 ($(objpfx)symlist-stdlibs): Replace by
31789 $(linknamespace-symlist-stdlibs-tests). Use
31790 $(linknamespace-libs-$*) as set of libraries.
31791 ($(linknamespace-header-tests)): Update dependencies. Use
31792 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31793 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31794 * conform/linknamespace.pl: Remove comment about considering
31795 definitions of symbols from irrelevant libraries.
31796
31797 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31798
31799 [BZ #13862]
31800 * elf/dl-tls.c: Include <atomic.h>.
31801 (oom): Remove #ifdef SHARED/#endif.
31802 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31803 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31804 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31805 big enough.
31806 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31807 * nptl/Makefile (tests): Add tst-stack4.
31808 (modules-names): Add tst-stack4mod.
31809 ($(objpfx)tst-stack4): New.
31810 (tst-stack4mod.sos): Likewise.
31811 ($(objpfx)tst-stack4.out): Likewise.
31812 ($(tst-stack4mod.sos)): Likewise.
31813 (clean): Likewise.
31814 * nptl/tst-stack4.c: New file.
31815 * nptl/tst-stack4mod.c: Likewise.
31816
31817 2014-11-27 J. Brown <jb999@gmx.de>
31818
31819 * sysdeps/x86/bits/string.h: Add recent CPUs.
31820
31821 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31822
31823 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31824 sigblock.
31825
31826 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31827 feof.
31828
31829 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31830 variable.
31831
31832 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31833
31834 * nscd/connections.c: Include libc-internal.h because of macro
31835 usage ignore_value.
31836
31837 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31838
31839 * string/bits/string3.h (__warn_memset_zero_len): Don't
31840 declare for gcc newer than 5.0.
31841 (memset): Don't test for zero-length __LEN for gcc newer than
31842 5.0.
31843
31844 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31845
31846 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31847 size_t for %zu format.
31848
31849 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31850 difference, not %ju.
31851
31852 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31853
31854 * include/libc-internal.h (ignore_value): New macro.
31855 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31856 with ignore_value.
31857
31858 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31859 definition.
31860
31861 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31862 pthread_cleanup_push to void *.
31863
31864 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31865 Undefine.
31866
31867 [BZ #16619]
31868 [BZ #16740]
31869 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31870 instead of 1L << 52.
31871
31872 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31873 * libio/bug-rewind2.c (do_test): Likewise.
31874
31875 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31876 * debug/test-strcpy_chk-ifunc.c: Likewise.
31877 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31878 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31879 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31880 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31881 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31882 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31883 * Rules [$(multi-arch) = no] (tests): Do not filter out
31884 $(tests-ifunc).
31885 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31886 * debug/Makefile (tests-ifunc): Remove variable.
31887 (tests): Do not add $(tests-ifunc).
31888 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31889 (tests): Do not add $(tests-ifunc).
31890 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31891 [TEST_IFUNC]: Remove conditionals.
31892 * string/test-string.h (TEST_IFUNC): Remove macro.
31893 [TEST_IFUNC]: Remove conditionals.
31894
31895 * string/test-strchr.c [!WIDE] (L): New macro.
31896 [WIDE] (L): Likewise.
31897 (check1): Use CHAR instead of char. Use L on string and character
31898 constants.
31899
31900 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31901
31902 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31903 tests.
31904 * sysdeps/powerpc/bits/atomic.h
31905 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31906 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31907 (atomic_exchange_and_add_acq): Likewise.
31908 (atomic_exchange_and_add_rel): Likewise.
31909 * sysdeps/powerpc/powerpc32/bits/atomic.h
31910 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31911 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31912 * sysdeps/powerpc/powerpc64/bits/atomic.h
31913 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31914 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31915
31916 2014-11-26 Torvald Riegel <triegel@redhat.com>
31917
31918 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31919 Change synchronization of __sched_fifo_min_prio and
31920 __sched_fifo_max_prio.
31921 * nptl/pthread_mutexattr_getprioceiling.c
31922 (pthread_mutexattr_getprioceiling): Likewise.
31923 * nptl/pthread_mutexattr_setprioceiling.c
31924 (pthread_mutexattr_setprioceiling): Likewise.
31925 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31926 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31927 Likewise.
31928
31929 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31930
31931 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31932 void.
31933
31934 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31935
31936 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31937 third argument const.
31938
31939 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31940
31941 fnmatch: work around GCC compiler warning bug with uninit var
31942 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31943 This works around a bug with x86-64 GCC 4.9.2 and earlier
31944 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31945 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31946 used uninitialized in this function [-Wmaybe-uninitialized]".
31947
31948 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31949
31950 * posix/bug-regex31.c (main): Return RES not 0.
31951
31952 2014-11-25 Anton Blanchard <anton@samba.org>
31953
31954 * sysdeps/powerpc/bits/atomic.h
31955 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31956
31957 2014-11-24 Sterling Augustine <saugustine@google.com>
31958
31959 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31960
31961 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31962
31963 [BZ #17608]
31964 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31965
31966 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31967
31968 [BZ #17633]
31969 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31970 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31971 variable.
31972 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31973 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31974
31975 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31976
31977 * string/strncpy.c (strncpy): Improve performance by using memset.
31978
31979 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31980
31981 * string/strcpy.c (strcpy):
31982 Improve performance by using strlen and memcpy.
31983
31984 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
31985
31986 * string/strcoll_l.c (get_next_seq): __always_inline.
31987 * string/strcoll_l.c (do_compare): __always_inline.
31988
31989 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31990
31991 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31992 defined.
31993 * include/mqueue.h: Likewise.
31994 * include/stdlib.h: Likewise.
31995
31996 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31997 (get_null_defines): Adjust.
31998 * sunrpc/Makefile: Adjust comment.
31999 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32000 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32001 (CFLAGS-interp.c): Likewise.
32002 (CFLAGS-ldconfig.c): Likewise.
32003 (CPPFLAGS-.os): Likewise.
32004 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32005 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32006 * extra-modules.mk (extra-modules.mk): Likewise.
32007 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32008 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32009 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32010 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32011 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32012 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32013 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32014 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32015 * iconvdata/Makefile (CPPFLAGS): Likewise.
32016 (cpp-srcs-left): Add libof for all iconvdata routines.
32017 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32018 * include/assert.h: Likewise.
32019 * include/ctype.h: Likewise.
32020 * include/errno.h: Likewise.
32021 * include/libc-symbols.h: Likewise.
32022 * include/math.h: Likewise.
32023 * include/netdb.h: Likewise.
32024 * include/resolv.h: Likewise.
32025 * include/stdio.h: Likewise.
32026 * include/stdlib.h: Likewise.
32027 * include/string.h: Likewise.
32028 * include/sys/stat.h: Likewise.
32029 * include/wctype.h: Likewise.
32030 * intl/l10nflist.c: Likewise.
32031 * libidn/idn-stub.c: Likewise.
32032 * libio/libioP.h: Likewise.
32033 * nptl/libc_multiple_threads.c: Likewise.
32034 * nptl/pthreadP.h: Likewise.
32035 * posix/regex_internal.h: Likewise.
32036 * resolv/res_hconf.c: Likewise.
32037 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32038 * sysdeps/arm/memmove.S: Likewise.
32039 * sysdeps/arm/sysdep.h: Likewise.
32040 * sysdeps/generic/_itoa.h: Likewise.
32041 * sysdeps/generic/symbol-hacks.h: Likewise.
32042 * sysdeps/gnu/errlist.awk: Likewise.
32043 * sysdeps/gnu/errlist.c: Likewise.
32044 * sysdeps/i386/i586/memcpy.S: Likewise.
32045 * sysdeps/i386/i586/memset.S: Likewise.
32046 * sysdeps/i386/i686/memcpy.S: Likewise.
32047 * sysdeps/i386/i686/memmove.S: Likewise.
32048 * sysdeps/i386/i686/mempcpy.S: Likewise.
32049 * sysdeps/i386/i686/memset.S: Likewise.
32050 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32051 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32052 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32053 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32054 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32055 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32056 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32066 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32067 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32068 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32069 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32070 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32071 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32075 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32076 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32079 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32080 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32081 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32090 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32091 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32092 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32093 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32096 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32097 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32098 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32102 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32103 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32104 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32105 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32106 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32107 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32108 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32109 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32111 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32112 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32113 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32114 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32115 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32116 * sysdeps/posix/closedir.c: Likewise.
32117 * sysdeps/posix/opendir.c: Likewise.
32118 * sysdeps/posix/readdir.c: Likewise.
32119 * sysdeps/posix/rewinddir.c: Likewise.
32120 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32121 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32122 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32123 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32124 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32125 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32129 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32131 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32132 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32133 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32134 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32135 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32136 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32137 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32138 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32139 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32140 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32141 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32142 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32145 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32146 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32148 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32149 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32151 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32155 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32156 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32157 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32158 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32159 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32160 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32161 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32162 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32163 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32164 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32165 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32166 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32167 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32168 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32169 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32170 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32171 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32172 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32173 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32174 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32175 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32176 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32177 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32178 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32179 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32180 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32181 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32183 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32184 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32185 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32186 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32187 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32188 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32189 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32191 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32192 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32193 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32194 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32195 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32196 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32197 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32198 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32199 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32200 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32201 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32202 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32203 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32204 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32205 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32206 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32207 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32208 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32209 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32210 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32211 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32212 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32216 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32218 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32219 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32220 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32221 * sysdeps/unix/alpha/sysdep.S: Likewise.
32222 * sysdeps/unix/alpha/sysdep.h: Likewise.
32223 * sysdeps/unix/make-syscalls.sh: Likewise.
32224 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32225 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32226 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32227 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32228 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32229 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32230 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32231 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32232 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32233 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32234 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32235 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32236 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32237 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32238 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32239 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32240 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32241 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32242 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32243 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32244 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32245 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32246 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32247 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32248 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32249 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32250 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32253 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32254 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32258 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32261 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32262 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32263 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32264 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32265 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32266 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32267 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32268 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32271 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32272 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32274 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32275 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32276 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32277 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32278 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32279 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32280 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32282 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32283 * sysdeps/x86_64/memcpy.S: Likewise.
32284 * sysdeps/x86_64/memmove.c: Likewise.
32285 * sysdeps/x86_64/memset.S: Likewise.
32286 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32288 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32289 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32290 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32291 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32293 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32294 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32295 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32296 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32297 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32298 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32301 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32302 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32303 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32304 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32305 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32306 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32307 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32308 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32309 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32310 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32311 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32312 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32313 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32314 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32315 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32316 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32317 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32318 * sysdeps/x86_64/strcmp.S: Likewise.
32319
32320 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32321
32322 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32323 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32324 * elf/rtld-Rules: Likewise.
32325 * elf/setup-vdso.h: Likewise.
32326 * include/assert.h: Likewise.
32327 * include/bits/stdlib-float.h: Likewise.
32328 * include/errno.h: Likewise.
32329 * include/sys/stat.h: Likewise.
32330 * include/unistd.h: Likewise.
32331 * sysdeps/aarch64/setjmp.S: Likewise.
32332 * sysdeps/alpha/setjmp.S: Likewise.
32333 * sysdeps/arm/__longjmp.S: Likewise.
32334 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32335 * sysdeps/arm/setjmp.S: Likewise.
32336 * sysdeps/arm/sysdep.h: Likewise.
32337 * sysdeps/generic/_itoa.h: Likewise.
32338 * sysdeps/generic/dl-sysdep.h: Likewise.
32339 * sysdeps/generic/ldsodefs.h: Likewise.
32340 * sysdeps/i386/dl-tls.h: Likewise.
32341 * sysdeps/i386/setjmp.S: Likewise.
32342 * sysdeps/m68k/setjmp.c: Likewise.
32343 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32344 * sysdeps/mach/hurd/opendir.c: Likewise.
32345 * sysdeps/posix/getcwd.c: Likewise.
32346 * sysdeps/posix/opendir.c: Likewise.
32347 * sysdeps/posix/profil.c: Likewise.
32348 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32349 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32350 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32351 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32352 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32353 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32354 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32355 * sysdeps/s390/dl-tls.h: Likewise.
32356 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32357 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32358 * sysdeps/sh/sh3/setjmp.S: Likewise.
32359 * sysdeps/sh/sh4/setjmp.S: Likewise.
32360 * sysdeps/unix/alpha/sysdep.h: Likewise.
32361 * sysdeps/unix/arm/sysdep.S: Likewise.
32362 * sysdeps/unix/i386/sysdep.S: Likewise.
32363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32364 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32365 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32366 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32367 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32368 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32369 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32370 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32372 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32373 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32374 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32375 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32378 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32379 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32380 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32381 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32382 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32383 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32384 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32386 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32387 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32390 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32391 * sysdeps/x86_64/setjmp.S: Likewise.
32392
32393 * include/math.h: Use IS_IN instead of IS_IN_libm.
32394 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32396 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32397 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32398 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32399 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32400 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32402 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32403 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32404 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32405 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32406 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32407 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32408 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32409 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32410 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32411 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32412 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32413 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32414 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32415 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32416 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32417 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32418 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32419 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32420 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32421 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32422 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32423 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32424 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32425 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32426 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32428 Likewise.
32429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32430 Likewise.
32431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32432 Likewise.
32433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32434 Likewise.
32435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32436 Likewise.
32437 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32438 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32439 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32440 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32441 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32442 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32448 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32449 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32450 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32451 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32453 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32454 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32455 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32456 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32457 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32458 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32459 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32460 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32461 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32463 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32464
32465 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32466 * nptl/pthreadP.h: Likewise.
32467 * nptl_db/structs.def: Likewise.
32468 * sysdeps/arm/sysdep.h: Likewise.
32469 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32470 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32471 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32472 * sysdeps/unix/alpha/sysdep.h: Likewise.
32473 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32475 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32477 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32478 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32479 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32480 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32481 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32482 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32483 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32484 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32485 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32486 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32491 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32492 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32493 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32494 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32495 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32496 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32497 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32499
32500 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32501 * nptl/pthreadP.h: Likewise.
32502 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32503 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32504 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32505 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32506 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32507 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32508 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32509 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32510 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32511 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32512 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32513 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32515 Likewise.
32516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32517 Likewise.
32518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32520 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32523 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32524 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32525 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32526
32527 * dlfcn/dladdr.c: Use IS_IN.
32528 * dlfcn/dladdr1.c: Likewise.
32529 * dlfcn/dlclose.c: Likewise.
32530 * dlfcn/dlerror.c: Likewise.
32531 * dlfcn/dlinfo.c: Likewise.
32532 * dlfcn/dlmopen.c: Likewise.
32533 * dlfcn/dlopen.c: Likewise.
32534 * dlfcn/dlsym.c: Likewise.
32535 * dlfcn/dlvsym.c: Likewise.
32536
32537 * include/ifaddrs.h: Use IS_IN.
32538 * inet/check_pf.c: Likewise.
32539 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32540 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32541
32542 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32543 IS_IN_ldconfig.
32544 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32545 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32546
32547 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32548 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32549 IS_IN (libc).
32550
32551 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32552
32553 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32554 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32555 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32556 * include/libc-symbols.h (IS_IN_LIB): New macro.
32557 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32558 * include/netdb.h: Likewise.
32559 * include/stap-probe.h: Remove all uses of IN_LIB.
32560
32561 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32562 instead of IN_MODULE.
32563 * include/libc-symbols.h (IN_MODULE): Define using
32564 MODULE_NAME.
32565 (PASTE_NAME, PASTE_NAME1): New macros.
32566 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32567 of IN_LIB.
32568 (STAP_PROBE_ASM): Likewise.
32569
32570 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32571
32572 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32573 __mach_init in dlopened libc.
32574
32575 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32576
32577 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32578 * sysdeps/arm/preconfigure: Regenerate.
32579
32580 2014-11-21 Roland McGrath <roland@hack.frob.com>
32581
32582 * nptl/pthread_create.c (__pthread_create_2_1): Set
32583 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32584 when copying values from IATTR into PD.
32585
32586 2014-11-21 Will Newton <will.newton@linaro.org>
32587 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32588
32589 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32590 Refactor inline-asm. Also add comment.
32591
32592 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32593 ElfW macro instead of hardcoded Elf64 types.
32594 (la_aarch64_gnu_pltenter): Likewise.
32595 * sysdeps/aarch64/dl-machine.h
32596 (elf_machine_runtime_setup): Use ElfW(Addr).
32597
32598 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32599 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32600 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32601 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32602 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32603 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32604 (R_AARCH64_TLS_DTPMOD): This.
32605 (R_AARCH64_TLS_DTPREL64): Rename to ...
32606 (R_AARCH64_TLS_DTPREL): This.
32607 (R_AARCH64_TLS_TPREL64): Rename to ...
32608 (R_AARCH64_TLS_TPREL): This.
32609 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32610 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32611 R_AARCH64_TLS_TPREL64.
32612 (elf_machine_rela): Likewise.
32613
32614 2014-11-21 Torvald Riegel <triegel@redhat.com>
32615
32616 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32617 by setting it to 0. 64b atomics are not supported currently.
32618
32619 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32620
32621 [BZ #16469]
32622 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32623 search domain names.
32624
32625 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32626
32627 [BZ #16469]
32628 * NEWS: Update.
32629 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32630 trailing dot.
32631 * posix/tst-getaddrinfo5.c: New.
32632 * posix/Makefile (tests): Add it.
32633
32634 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32635
32636 [BZ #14498]
32637 * NEWS: Fixed.
32638 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32639 after parsing line but before break_if_match.
32640 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32641 if there is a protocol mismatch.
32642
32643 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32644
32645 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32646 because the potential race is on the user-supplied stream.
32647
32648 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32649
32650 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32651 string literal if not passed a buffer.
32652 * manual/job.texi (ctermid): Update reasoning, note deviation
32653 from posix, suggest mtasurace when not passed a buffer, for
32654 future non-preliminary safety notes.
32655
32656 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32657
32658 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32659 of not passing it a buffer.
32660 Reported by Peng Haitao.
32661
32662 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32663
32664 * manual/Makefile ($(objpfx)stamp-summary): Require
32665 check-safety.sh to pass.
32666 * manual/check-safety.sh: Wish for verification that every
32667 @deftypefn and @deftypefun is followed by a @safety remark.
32668
32669 2014-11-20 Roland McGrath <roland@hack.frob.com>
32670
32671 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32672
32673 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32674 PTHREAD_CANCEL_ASYNCHRONOUS.
32675 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32676 send SIGCANCEL.
32677
32678 * nptl/default-sched.h: New file.
32679 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32680 * nptl/pthread_create.c: Include it.
32681 (__pthread_create_2_1): Use collect_default_sched instead of making
32682 Linux syscalls here directly.
32683
32684 2014-11-20 Torvald Riegel <triegel@redhat.com>
32685
32686 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32687 __pthread_once): Use C11 atomics.
32688
32689 2014-11-20 Torvald Riegel <triegel@redhat.com>
32690
32691 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32692
32693 2014-11-20 Torvald Riegel <triegel@redhat.com>
32694
32695 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32696 atomic_thread_fence_acquire, atomic_thread_fence_release,
32697 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32698 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32699 atomic_compare_exchange_weak_relaxed,
32700 atomic_compare_exchange_weak_acquire,
32701 atomic_compare_exchange_weak_release,
32702 atomic_exchange_acquire, atomic_exchange_release,
32703 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32704 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32705 atomic_fetch_and_acquire,
32706 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32707
32708 2014-11-20 Torvald Riegel <triegel@redhat.com>
32709
32710 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32711 USE_ATOMIC_COMPILER_BUILTINS): Define.
32712 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32713 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32714 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32715 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32716 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32717 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32718 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32719 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32720 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32721 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32722 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32723 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32724 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32725 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32726 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32727 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32728 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32729 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32730 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32731 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32732 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32733 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32734 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32735 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32736 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32737 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32738 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32739 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32740 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32741 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32742 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32743 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32744 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32745 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32746 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32747 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32748 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32749 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32750 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32751 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32752
32753 2014-11-19 Roland McGrath <roland@hack.frob.com>
32754
32755 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32756 the sched_priority value here. It was already checked when the user
32757 called pthread_attr_setschedparam.
32758
32759 * nptl/tst-bad-schedattr.c: New file.
32760 * nptl/Makefile (tests): Add it.
32761
32762 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32763 Florian Weimer <fweimer@redhat.com>
32764 Joseph Myers <joseph@codesourcery.com>
32765 Adam Conrad <adconrad@0c3.net>
32766 Andreas Schwab <schwab@suse.de>
32767 Brooks <bmoses@google.com>
32768
32769 [BZ #17625]
32770 * wordexp-test.c (__dso_handle): Add prototype.
32771 (__register_atfork): Likewise.
32772 (__app_register_atfork): New function.
32773 (registered_forks): New global.
32774 (register_fork): New function.
32775 (test_case): Add 3 new tests for WRDE_CMDSUB.
32776 (main): Call __app_register_atfork.
32777 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32778 fork count is non-zero fail the test.
32779 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32780 is set.
32781 (parse_dollars): Remove check for WRDE_NOCMD.
32782 (parse_dquote): Likewise.
32783
32784 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32785
32786 * Makeconfig (built-modules): List non-library modules to be
32787 built.
32788 (module-cppflags): Include libc-modules.h for
32789 everything except shlib-versions.v.i.
32790 (CPPFLAGS): Use it.
32791 (before-compile): Add libc-modules.h.
32792 ($(common-objpfx)libc-modules.h,
32793 $(common-objpfx)libc-modules.stmp): New targets.
32794 (common-generated): Add libc-modules.h and libc-modules.stmp.
32795 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32796 * include/libc-symbols.h: Don't include libc-modules.h.
32797 * include/libc-modules.h: Remove file.
32798 * scripts/gen-libc-modules.awk: New script to generate
32799 libc-modules.h.
32800 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32801 Depend on libc-modules.stmp.
32802
32803 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32804
32805 * Makeconfig (in-module): Get value of libof set for the
32806 translation unit.
32807 (CPPFLAGS): Use $(in-module).
32808 * Makerules: Don't suffix routine names for nonlib.
32809 * include/libc-modules.h: New file.
32810 * include/libc-symbols.h: Include libc-modules.h
32811 (IS_IN): New macro to replace IS_IN_* macros.
32812 * elf/Makefile: Set libof-* for each routine.
32813 * elf/rtld-Rules: Likewise.
32814 * extra-modules.mk: Likewise.
32815 * iconv/Makefile: Likewise.
32816 * iconvdata/Makefile: Likewise.
32817 * locale/Makefile: Likewise.
32818 * malloc/Makefile: Likewise.
32819 * nss/Makefile: Likewise.
32820 * sysdeps/gnu/Makefile: Likewise.
32821 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32822 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32823 * sysdeps/s390/s390-64/Makefile: Likewise.
32824 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32825 CPPFLAGS for nscd instead of nonlib.
32826
32827 2014-11-18 Roland McGrath <roland@hack.frob.com>
32828
32829 * nptl/createthread.c: New file.
32830
32831 * nptl/createthread.c: Moved ...
32832 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32833
32834 * nptl/createthread.c: Add proper top-line comment.
32835 (do_clone): Folded into ...
32836 (create_thread): ... here. Take new arguments STOPPED_START and
32837 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32838 increment __nptl_threads, do event-reporting logic, do
32839 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32840 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32841 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32842 just send SIGCANCEL.
32843 * nptl/pthread_create.c: Forward-declare create_thread before
32844 including createthread.c.
32845 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32846 declaration, and new macro START_THREAD_SELF to replace argument.
32847 Remove return statement.
32848 (report_thread_creation): New function.
32849 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32850 synchronization logic, and __nptl_nthreads increment here, around
32851 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32852 PD->parent_cancelhandling here, before create_thread. When
32853 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32854 __deallocate_stack, and ENOMEM translation here.
32855
32856 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32857
32858 [BZ #17616]
32859 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32860 (mptwo): Rename to __mptwo.
32861 (__inv): Use __mptwo instead of mptwo.
32862 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32863 (mptwo): Rename to __mptwo.
32864 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32865 of mpone and __mptwo instead of mptwo.
32866 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32867 instead of mpone.
32868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32869 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32870 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32871 of mpone and __mptwo instead of mptwo.
32872 (__mpranred): Use __mpone instead of mpone.
32873 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32874 variable.
32875 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32876 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32877 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32878 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32879 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32880 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32881 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32882 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32883 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32884 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32885 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32886 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32887 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32888 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32889 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32890 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32891 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32892 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32893 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32894
32895 2014-11-18 Tom de Vries <tom@codesoucery.com>
32896
32897 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32898 replace BSD Handler xref with BSD Signal Handling.
32899
32900 2014-11-17 Richard Henderson <rth@redhat.com>
32901
32902 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32903 (_FP_PACK_RAW_2): Remove.
32904 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32905 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32906 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32907 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32908 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32909 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32910 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32911 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32912 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32913 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32914 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32915 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32916 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32917 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32918 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32919 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32920
32921 2014-11-14 Roland McGrath <roland@hack.frob.com>
32922
32923 * signal/signal.h [__USE_MISC]
32924 (struct sigvec): Remove type.
32925 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32926 (sigvec): Remove declaration.
32927 * sysdeps/posix/sigvec.c: Moved ...
32928 * signal/sigvec.c: ... here, replacing old file.
32929 (struct sigvec): New type, copied from old signal.h definition.
32930 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32931 (__sigvec): Convert definition to prototype.
32932 (sigvec): Replace weak_alias with compat_symbol.
32933 * signal/Versions (libc: GLIBC_2.21): New version set.
32934 * include/signal.h: Remove __sigvec declaration.
32935 * sysdeps/unix/bsd/sigvec.c: Remove file.
32936 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32937 * manual/signal.texi (BSD Handler): Remove subsection.
32938 Move siginterrupt up to ...
32939 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32940 (Blocking in BSD): Fold subsection into its parent.
32941 * NEWS: Mention sigvec removal.
32942
32943 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32944
32945 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32946 (DLA_FMS): Make definition conditional only on [__FMA4__].
32947 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32948 definition.
32949
32950 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32951 Make definition conditional only on [PROF].
32952 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32953 definition.
32954 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32955 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32956
32957 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32958 !__GNUC__].
32959 * include/signal.h (__sigpause): Move declaration above call to
32960 libc_hidden_proto.
32961 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32962 variable.
32963 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32964 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32965
32966 2014-11-14 David S. Miller <davem@davemloft.net>
32967
32968 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32969 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32970
32971 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32972
32973 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32974 * configure: Regenerated.
32975 * manual/install.texi (Tools for Compilation): Document a
32976 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32977 compiler verified to work.
32978 * INSTALL: Regenerated.
32979
32980 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32981 redeclare with asm name.
32982 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32983 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32984 including <string.h>.
32985 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32986 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32987 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32988 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32989 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32990 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32991 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32992
32993 2014-11-13 Joseph Myers <joseph@codesourcery.com>
32994
32995 * stdlib/strtol.c (__strtol): Use prototype definition.
32996
32997 [BZ #17594]
32998 * stdlib/strtol.c (SYM__): New macro.
32999 (SYM__1): Likewise.
33000 (__strtol): Likewise.
33001 (strtol): Rename to __strtol and define as weak alias of
33002 __strtol. Use libc_hidden_weak.
33003
33004 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33005
33006 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33007 Use numbered labels in inline assembly.
33008
33009 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33010
33011 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33012 Add setjmp LIBC_PROBE.
33013 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33014 Likewise.
33015 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33016 Add longjmp, longjmp_target LIBC_PROBE.
33017 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33018 Likewise.
33019
33020 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33021
33022 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33023 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33024 to get rid of unused variable warning.
33025
33026 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
33027
33028 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33029 Check for unwind_backtrace == NULL only in SHARED case.
33030 (__backchain_backtrace): Compile only in SHARED case.
33031 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33032 Likewise.
33033 (__backchain_backtrace): Declare as static.
33034
33035 2014-11-12 Roland McGrath <roland@hack.frob.com>
33036
33037 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33038 (__libc_multiple_threads_ptr): Variable moved ...
33039 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33040
33041 2014-11-12 Joseph Myers <joseph@codesourcery.com>
33042
33043 * conform/GlibcConform.pm: New file.
33044 * conform/conformtest.pl: Use GlibcConform module.
33045 * conform/linknamespace.pl: New file.
33046 * conform/list-header-symbols.pl: Likewise.
33047 * conform/Makefile (linknamespace-symlists-base): New variable.
33048 (linknamespace-symlists-tests): Likewise.
33049 (linknamespace-header-base): Likewise.
33050 (linknamespace-header-tests): Likewise.
33051 (tests-special): Add new tests.
33052 ($(linknamespace-symlists-tests)): New rule.
33053 (linknamespace-libs): New variable.
33054 ($(objpfx)symlist-stdlibs): New rule.
33055 ($(linknamespace-header-tests)): Likewise.
33056 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33057 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33058 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33059 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33060 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33061 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33062 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33063 (test-xfail-ISO/math.h/linknamespace): Likewise.
33064 (test-xfail-ISO/signal.h/linknamespace): Likewise.
33065 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33066 (test-xfail-ISO/time.h/linknamespace): Likewise.
33067 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33068 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33069 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33070 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33071 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33072 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33073 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33074 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33075 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33076 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33077 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33078 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33079 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33080 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33081 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33082 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33083 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33084 (test-xfail-XPG3/search.h/linknamespace): Likewise.
33085 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33086 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33087 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33088 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33089 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33090 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33091 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33092 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33093 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33094 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33095 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33096 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33097 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33098 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33099 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33100 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33101 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33102 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33103 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33104 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33105 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33106 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33107 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33108 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33109 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33110 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33111 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33112 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33113 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33114 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33115 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33116 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33117 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33118 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33119 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33120 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33121 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33122 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33123 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33124 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33125 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33126 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33127 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33128 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33129 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33130 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33131 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33132 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33133 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33134 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33135 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33136 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33137 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33138 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33139 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33140 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33141 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33142 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33143 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33144 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33145 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33146 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33147 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33148 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33149 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33150 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33151 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33152 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33153 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33154 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33155 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33156 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33157 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33158 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33159 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33160 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33161 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33162 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33163 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33164 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33165 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33166 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33167 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33168 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33169 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33170 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33171 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33172 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33173 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33174 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33175 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33176 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33177 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33178 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33179 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33180 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33181 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33182 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33183 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33184 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33185 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33186 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33187 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33188 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33189 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33190 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33191 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33192 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33193 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33194 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33195 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33196 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33197 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33198 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33199 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33200 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33201 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33202 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33203 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33204 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33205 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33206 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33207 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33208 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33209 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33210 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33211 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33212 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33213 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33214 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33215 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33216 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33217
33218 [BZ #17589]
33219 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33220 of fgets_unlocked.
33221
33222 [BZ #17585]
33223 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33224 (memmem): Rename to __memmem and define as weak alias of
33225 __memmem. Use libc_hidden_weak.
33226 (__memmem): Use libc_hidden_def.
33227 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33228 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33229 memmem.
33230
33231 [BZ #17582]
33232 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33233 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33234 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33235 and define as weak alias of __fgets_unlocked. Use
33236 libc_hidden_weak.
33237 (__fgets_unlocked): Use libc_hidden_def.
33238 * include/stdio.h (__fgets_unlocked): Declare. Use
33239 libc_hidden_proto.
33240 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33241 __fgets_unlocked instead of fgets_unlocked.
33242 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33243 (GET_NPROCS_CONF_PARSER): Likewise.
33244 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33245 (GET_NPROCS_CONF_PARSER): Likewise.
33246
33247 [BZ #17574]
33248 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33249 weak alias of __wmemset. Use libc_hidden_weak.
33250 (__wmemset): Use libc_hidden_def.
33251 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33252 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33253 of wmemset.
33254
33255 [BZ #17573]
33256 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33257 with asm name __mempcpy.
33258 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33259
33260 [BZ #17572]
33261 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33262 and define as weak alias of __rawmemchr.
33263 (__rawmemchr): Do not define as strong alias of rawmemchr.
33264
33265 [BZ #17571]
33266 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33267 alias of __qsort_r.
33268 (qsort): Call __qsort_r instead of qsort_r.
33269 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33270 (__qsort_r): Declare. Call libc_hidden_proto.
33271 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33272 instead of qsort_r.
33273 * nscd/gai.c (__qsort_r): Define to qsort_r.
33274 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33275 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33276 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33277
33278 [BZ #17570]
33279 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33280 define as weak alias of __malloc_info.
33281
33282 [BZ #17584]
33283 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33284 as weak alias of __rewinddir. Don't use libc_hidden_def.
33285 (__rewinddir): Use libc_hidden_def.
33286 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33287 as weak alias of __rewinddir. Don't use libc_hidden_def.
33288 (__rewinddir): Use libc_hidden_def.
33289 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33290 weak alias of __rewinddir. Don't use libc_hidden_def.
33291 (__rewinddir): Use libc_hidden_def.
33292 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33293 (__rewinddir): Use libc_hidden_proto.
33294 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33295 rewinddir.
33296 (__getcwd): Use __rewinddir instead of rewinddir.
33297
33298 [BZ #17583]
33299 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33300 alias of __fileno. Use libc_hidden_weak.
33301 (__fileno): Use libc_hidden_def.
33302 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33303 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33304 alias of __ftello.
33305 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33306 __ftello.
33307 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33308 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33309 libc_hidden_def.
33310 (fread_unlocked): Don't use libc_hidden_ver.
33311 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33312 and define as weak alias of __fread_unlocked. Don't use
33313 libc_hidden_def.
33314 (__fread_unlocked): Use libc_hidden_def.
33315 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33316 (ftello): Don't use libc_hidden_proto.
33317 (__ftello): Declare. Use libc_hidden_proto.
33318 (fread_unlocked): Don't use libc_hidden_proto.
33319 (__fread_unlocked): Declare. Use libc_hidden_proto.
33320 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33321 and __ftello instead of fileno, fread_unlocked and ftello.
33322
33323 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33324
33325 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33326 GOT12.
33327 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33328 Likewise.
33329 (_dl_start_user): Likewise.
33330 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33331
33332 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33333 Siddhesh Poyarekar <siddhesh@redhat.com>
33334
33335 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33336 Move argv and envp down instead of moving argc up.
33337 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33338
33339 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33340
33341 [BZ #17506]
33342 * test-skeleton.c (main): Return successful if one of
33343 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33344 * string/tst-strcoll-overflow.c: Define expected status.
33345
33346 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33347
33348 [BZ #17475]
33349 * locale/iso-639.def: Define Bhili and Tulu language codes.
33350
33351 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33352
33353 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33354
33355 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33356
33357 [BZ #17555]
33358 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33359
33360 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33361
33362 * configure.ac: Updated check of minimal required version to
33363 2.22.
33364 * manual/install.texi (Tools for Compilation): Updated version
33365 number.
33366 * configure: Regenerated.
33367 * INSTALL: Likewise.
33368
33369 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33370
33371 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33372 __tls_get_addr.
33373
33374 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33375
33376 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33377 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33378 (__waitpid): Don't define as alias. Use libc_hidden_def not
33379 libc_hidden_weak.
33380 (waitpid): Define as alias of __waitpid.
33381 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33382 __waitpid.
33383 (__waitpid): Don't define as alias. Use libc_hidden_def not
33384 libc_hidden_weak.
33385 (waitpid): Define as alias of __waitpid.
33386 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33387 __libc_waitpid alias.
33388 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33389 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33390 Likewise.
33391 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33392 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33393 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33394 alias.
33395 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33396 __waitpid.
33397 (__waitpid): Don't define as alias. Use libc_hidden_def not
33398 libc_hidden_weak.
33399 (waitpid): Define as alias of __waitpid.
33400
33401 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33402
33403 * manual/llio.texi: Add comment that write safety has been
33404 fixed in Linux.
33405
33406 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33407 (localplt-build-dso): Add elf/ld.so.
33408 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33409 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33410 and free for ld.so.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33412 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33414 Likewise.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33416 Likewise.
33417 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33418 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33419 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33420 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33421 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33422 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33423 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33424 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33425 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33426 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33427 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33428
33429 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33430
33431 [BZ #14132]
33432 * include/libc-symbols.h (INTUSE): Remove macro.
33433 (INTDEF): Likewise.
33434 (INTVARDEF): Likewise.
33435 (_INTVARDEF): Likewise.
33436 (INTDEF2): Likewise.
33437 (INTVARDEF2): Likewise.
33438 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33439 rtld_hidden_def instead of INTVARDEF.
33440 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33441 (_dl_starting_up_internal): Remove declaration.
33442 (_dl_starting_up): Use rtld_hidden_proto.
33443 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33444 declaration.
33445 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33446 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33447 _dl_starting_up.
33448 * elf/dl-writev.h (_dl_writev): Likewise.
33449 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33450 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33451 _dl_starting_up_internal.
33452
33453 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33454
33455 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33456 test-skeleton.c.
33457
33458 2014-11-05 Will Newton <will.newton@linaro.org>
33459
33460 * benchtests/Makefile: (bench-malloc): Add malloc thread
33461 scalability benchmark.
33462 * benchtests/bench-malloc-threads.c: New file.
33463
33464 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33465
33466 * sysdeps/aarch64/strchrnul.S: New file.
33467
33468 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33469
33470 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33471 definition.
33472 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33473 Likewise.
33474 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33475 Likewise.
33476 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33477 Likewise.
33478 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33479 Likewise.
33480 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33481 Likewise.
33482
33483 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33484
33485 * catgets/test-gencat.c: Use test-skeleton.c.
33486 * catgets/tst-catgets.c: Likewise.
33487 * csu/tst-empty.c: Likewise.
33488 * elf/tst-audit2.c: Likewise.
33489 * elf/tst-global1.c: Likewise.
33490 * elf/tst-pathopt.c: Likewise.
33491 * elf/tst-piemod1.c: Likewise.
33492 * elf/tst-tls10.c: Likewise.
33493 * elf/tst-tls11.c: Likewise.
33494 * elf/tst-tls12.c: Likewise.
33495 * gnulib/tst-gcc.c: Likewise.
33496 * iconvdata/tst-e2big.c: Likewise.
33497 * iconvdata/tst-loading.c: Likewise.
33498 * iconv/tst-iconv1.c: Likewise.
33499 * iconv/tst-iconv2.c: Likewise.
33500 * inet/test-inet6_opt.c: Likewise.
33501 * inet/tst-gethnm.c: Likewise.
33502 * inet/tst-network.c: Likewise.
33503 * inet/tst-ntoa.c: Likewise.
33504 * intl/tst-codeset.c: Likewise.
33505 * intl/tst-gettext2.c: Likewise.
33506 * intl/tst-gettext3.c: Likewise.
33507 * intl/tst-ngettext.c: Likewise.
33508 * intl/tst-translit.c: Likewise.
33509 * io/test-stat.c: Likewise.
33510 * libio/test-fmemopen.c: Likewise.
33511 * libio/tst-freopen.c: Likewise.
33512 * libio/tst-sscanf.c: Likewise.
33513 * libio/tst-ungetwc1.c: Likewise.
33514 * libio/tst-ungetwc2.c: Likewise.
33515 * libio/tst-widetext.c: Likewise.
33516 * localedata/tst-ctype.c: Likewise.
33517 * localedata/tst-digits.c: Likewise.
33518 * localedata/tst-leaks.c: Likewise.
33519 * localedata/tst-mbswcs1.c: Likewise.
33520 * localedata/tst-mbswcs2.c: Likewise.
33521 * localedata/tst-mbswcs3.c: Likewise.
33522 * localedata/tst-mbswcs4.c: Likewise.
33523 * localedata/tst-mbswcs5.c: Likewise.
33524 * localedata/tst-setlocale.c: Likewise.
33525 * localedata/tst-trans.c: Likewise.
33526 * localedata/tst-wctype.c: Likewise.
33527 * localedata/tst-xlocale1.c: Likewise.
33528 * login/tst-grantpt.c: Likewise.
33529 * malloc/tst-calloc.c: Likewise.
33530 * malloc/tst-malloc.c: Likewise.
33531 * malloc/tst-mallocstate.c: Likewise.
33532 * malloc/tst-mcheck.c: Likewise.
33533 * malloc/tst-mtrace.c: Likewise.
33534 * malloc/tst-obstack.c: Likewise.
33535 * math/atest-exp2.c: Likewise.
33536 * math/atest-exp.c: Likewise.
33537 * math/atest-sincos.c: Likewise.
33538 * math/test-matherr.c: Likewise.
33539 * math/test-misc.c: Likewise.
33540 * math/test-powl.c: Likewise.
33541 * math/tst-definitions.c: Likewise.
33542 * misc/tst-dirname.c: Likewise.
33543 * misc/tst-efgcvt.c: Likewise.
33544 * misc/tst-fdset.c: Likewise.
33545 * misc/tst-hsearch.c: Likewise.
33546 * misc/tst-mntent2.c: Likewise.
33547 * nptl/tst-sem7.c: Likewise.
33548 * nptl/tst-sem8.c: Likewise.
33549 * nptl/tst-sem9.c: Likewise.
33550 * nss/test-netdb.c: Likewise.
33551 * posix/tst-fnmatch.c: Likewise.
33552 * posix/tst-getlogin.c: Likewise.
33553 * posix/tst-gnuglob.c: Likewise.
33554 * posix/tst-mmap.c: Likewise.
33555 * pwd/tst-getpw.c: Likewise.
33556 * resolv/tst-inet_ntop.c: Likewise.
33557 * rt/tst-timer.c: Likewise.
33558 * stdio-common/test-fseek.c: Likewise.
33559 * stdio-common/test-popen.c: Likewise.
33560 * stdio-common/test-vfprintf.c: Likewise.
33561 * stdio-common/tst-cookie.c: Likewise.
33562 * stdio-common/tst-fileno.c: Likewise.
33563 * stdio-common/tst-gets.c: Likewise.
33564 * stdio-common/tst-obprintf.c: Likewise.
33565 * stdio-common/tst-perror.c: Likewise.
33566 * stdio-common/tst-sprintf2.c: Likewise.
33567 * stdio-common/tst-sprintf3.c: Likewise.
33568 * stdio-common/tst-sprintf.c: Likewise.
33569 * stdio-common/tst-swprintf.c: Likewise.
33570 * stdio-common/tst-tmpnam.c: Likewise.
33571 * stdio-common/tst-unbputc.c: Likewise.
33572 * stdio-common/tst-wc-printf.c: Likewise.
33573 * stdlib/tst-environ.c: Likewise.
33574 * stdlib/tst-fmtmsg.c: Likewise.
33575 * stdlib/tst-limits.c: Likewise.
33576 * stdlib/tst-rand48-2.c: Likewise.
33577 * stdlib/tst-rand48.c: Likewise.
33578 * stdlib/tst-random2.c: Likewise.
33579 * stdlib/tst-random.c: Likewise.
33580 * stdlib/tst-strtol.c: Likewise.
33581 * stdlib/tst-strtoll.c: Likewise.
33582 * stdlib/tst-tls-atexit.c: Likewise.
33583 * stdlib/tst-xpg-basename.c: Likewise.
33584 * string/test-ffs.c: Likewise.
33585 * string/tst-bswap.c: Likewise.
33586 * string/tst-inlcall.c: Likewise.
33587 * string/tst-strtok.c: Likewise.
33588 * string/tst-strxfrm.c: Likewise.
33589 * sysdeps/x86_64/tst-audit10.c: Likewise.
33590 * sysdeps/x86_64/tst-audit3.c: Likewise.
33591 * sysdeps/x86_64/tst-audit4.c: Likewise.
33592 * sysdeps/x86_64/tst-audit5.c: Likewise.
33593 * time/tst-ftime_l.c: Likewise.
33594 * time/tst-getdate.c: Likewise.
33595 * time/tst-mktime3.c: Likewise.
33596 * time/tst-mktime.c: Likewise.
33597 * time/tst-posixtz.c: Likewise.
33598 * time/tst-strptime2.c: Likewise.
33599 * time/tst-strptime3.c: Likewise.
33600 * wcsmbs/tst-btowc.c: Likewise.
33601 * wcsmbs/tst-mbrtowc.c: Likewise.
33602 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33603 * wcsmbs/tst-wchar-h.c: Likewise.
33604 * wcsmbs/tst-wcpncpy.c: Likewise.
33605 * wcsmbs/tst-wcrtomb.c: Likewise.
33606 * wcsmbs/tst-wcsnlen.c: Likewise.
33607 * wcsmbs/tst-wcstof.c: Likewise.
33608
33609 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33610
33611 [BZ #14132]
33612 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33613 INTDEF.
33614 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33615 declaration.
33616 (_dl_mcount): Use rtld_hidden_proto.
33617 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33618 _dl_mcount.
33619 * elf/rtld.c (_rtld_global_ro): Likewise.
33620
33621 [BZ #14132]
33622 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33623 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33624 of _dl_init_internal.
33625 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33626 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33627 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33628 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33629 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33630 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33631 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33632 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33633 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33634 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33635 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33636 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33637 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33638 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33639 * sysdeps/tile/dl-start.S (_start): Likewise.
33640 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33641 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33642
33643 [BZ #14132]
33644 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33645 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33646 (rtld_progname): Make macro definition unconditional.
33647 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33648 INTDEF.
33649 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33650 (dl_main): Likewise.
33651 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33652 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33653 instead of _dl_argv_internal.
33654 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33655 __GI__dl_argv instead of INTUSE(_dl_argv).
33656 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33657 __GI__dl_argv instead of _dl_argv_internal.
33658
33659 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33660 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33661 macro.
33662 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33663 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33664 New macro.
33665 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33666 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33667 macro.
33668 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33669 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33670
33671 2014-11-04 Andreas Schwab <schwab@suse.de>
33672
33673 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33674
33675 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33676
33677 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33678 mtvsrd instruction in binary form.
33679
33680 2014-11-03 Andreas Schwab <schwab@suse.de>
33681
33682 [BZ #17522]
33683 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33684 for less than MB_LEN_MAX use a local buffer of that size.
33685 * libio/tst-fputws.c: New file.
33686 * libio/Makefile (tests): Add tst-fputws.
33687
33688 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33689
33690 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33691 the size of the fpu_fr.fpu_dregs[] array.
33692
33693 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33694
33695 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33696 (__nanosleep): Do not define as alias.
33697 (nanosleep): Define as alias of __nanosleep.
33698 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33699 __libc_nanosleep name.
33700
33701 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33702
33703 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33704 install.texi in comment.
33705
33706 2014-10-31 Torvald Riegel <triegel@redhat.com>
33707
33708 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33709 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33710 ... add here and use lwsync or sync ...
33711 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33712 ... and add here using lwsync.
33713
33714 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33715
33716 * elf/dl-machine-reject-phdr.h: New file.
33717 * elf/dl-load.c: #include that.
33718 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33719 if that returned true.
33720
33721 2014-10-31 Roland McGrath <roland@hack.frob.com>
33722
33723 [BZ #17496]
33724 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33725 gen-as-const-headers chunk. Add a big scare comment after the last
33726 safe place to touch before-compile.
33727
33728 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33729
33730 * manual/install.texi (Tools for Compilation): Update autoconf
33731 version requirements.
33732 * INSTALL: Regenerated.
33733
33734 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33735 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33736 (__libc_pselect): Likewise.
33737
33738 [BZ #14138]
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33743
33744 2014-10-31 Torvald Riegel <triegel@redhat.com>
33745
33746 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33747 correct barrier instruction.
33748 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33749 Likewise.
33750 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33751 Likewise.
33752
33753 2014-10-30 Roland McGrath <roland@hack.frob.com>
33754
33755 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33756 after defining inlines. Instead, just use parens to defeat macro
33757 expansion of __isctype in its declaration.
33758
33759 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33760
33761 * include/sys/uio.h (__libc_readv): Remove declaration.
33762 (__libc_writev): Likewise.
33763 * misc/readv.c (__libc_readv): Rename to __readv.
33764 (__readv): Do not define as alias.
33765 (readv): Define as alias of __readv.
33766 * misc/writev.c (__libc_writev): Rename to __writev.
33767 (__writev): Do not define as alias.
33768 (writev): Define as alias of __writev.
33769 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33770 (__readv): Do not define as alias.
33771 (readv): Define unconditionally as alias of __readv.
33772 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33773 (__writev): Do not define as alias.
33774 (writev): Define unconditionally as alias of __writev.
33775 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33776 name.
33777 (writev): Do not define __libc_writev name.
33778
33779 2014-10-30 Roland McGrath <roland@hack.frob.com>
33780
33781 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33782 (convert_charseq): New function, broken out of ...
33783 (use_from_charmap): ... here. Call it.
33784 (use_to_charmap): Use convert_charseq and free instead of duplicating
33785 its code with a variable-length stack struct.
33786
33787 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33788
33789 * include/fcntl.h (__libc_creat): Remove declaration.
33790 * io/creat.c (__libc_creat): Rename to creat.
33791 (creat): Do not define as alias.
33792 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33793 of creat instead of __libc_creat.
33794 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33795 to creat.
33796 (creat): Do not define as alias.
33797 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33798 __libc_creat.
33799 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33800 __libc_creat name.
33801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33802 Likewise.
33803
33804 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33805
33806 * manual/llio.texi: Add comments discussing why write() may be
33807 considered MT-unsafe on Linux.
33808
33809 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33810
33811 * dl-load.c (local_strdup): Remove.
33812 (expand_dynamic_string_token): Use __strdup.
33813 (decompose_rpath): Likewise.
33814 (_dl_map_object): Likewise.
33815
33816 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33817
33818 [BZ #14132]
33819 * sysdeps/generic/unwind-dw2-fde.c
33820 (__register_frame_info_bases_internal): Do not declare.
33821 (__register_frame_info_table_bases_internal): Likewise.
33822 (__deregister_frame_info_bases_internal): Likewise.
33823 (__register_frame_info_bases): Declare and use hidden_proto before
33824 definition. Use hidden_def instead of INTDEF.
33825 (__register_frame_info_table_bases): Likewise.
33826 (__deregister_frame_info_bases): Likewise.
33827 (__register_frame_info): Do not use INTUSE.
33828 (__register_frame): Likewise.
33829 (__register_frame_info_table): Likewise.
33830 (__register_frame_table): Likewise.
33831 (__deregister_frame_info): Likewise.
33832 (__deregister_frame): Likewise.
33833
33834 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33835
33836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33837 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33838 not undefine.
33839 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33840 Likewise.
33841 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33842 Likewise.
33843
33844 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33845
33846 [BZ #14138]
33847 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33848 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33849 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33850 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33851 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33852 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33853 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33854 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33855 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33856 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33857 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33858 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33859 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33860 syscall.
33861 (setfsuid): Likewise.
33862 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33863 (setfsuid): Likewise.
33864 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33865 (setfsuid): Likewise.
33866 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33867 Likewise.
33868 (setfsuid): Likewise.
33869 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33870 (setfsuid): Likewise.
33871 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33872 Likewise.
33873 (setfsuid): Likewise.
33874
33875 2014-10-27 Andreas Schwab <schwab@suse.de>
33876
33877 [BZ #17501]
33878 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33879 check for Slow_SSE4_2 feature bit.
33880 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33881 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33882 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33883 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33884
33885 2014-10-24 Roland McGrath <roland@hack.frob.com>
33886
33887 * configure.ac: Validate compiler version with a empirical test of
33888 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33889 $CC -v output.
33890 * configure: Regenerated.
33891
33892 * inet/htons.c (htons): Prototypify.
33893 * inet/htonl.c (htonl): Likewise.
33894
33895 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33896
33897 * string/strncat.c (strncat): Improve performance by using strlen.
33898
33899 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33900
33901 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33902
33903 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33904
33905 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33906 Call libc_fetestexcept_aarch64.
33907
33908 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33909
33910 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33911 Call libc_feholdexcept_aarch64.
33912
33913 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33914
33915 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33916 Call get_rounding_mode.
33917
33918 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33919
33920 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33921 Simplify logic.
33922
33923 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33924
33925 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33926 Simplify logic.
33927
33928 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33929
33930 [BZ #14138]
33931 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33932 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33933 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33934 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33935 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33936 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33937 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33938 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33939 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33940 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33941 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33942 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33943 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33944 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33945 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33946 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33947 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33948 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33949 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33950 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33951 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33952 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33953 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33954 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33955 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33956 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33957 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33958 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33959 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33960 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33961 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33962 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33963 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33964 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33965 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33966 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33967 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33968 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33969 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33970 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33971 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33972 syscall.
33973 (geteuid): Likewise.
33974 (getgid): Likewise.
33975 (getuid): Likewise.
33976 (getresgid): Likewise.
33977 (getresuid): Likewise.
33978 (getgroups): Likewise.
33979 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33980 (geteuid): Likewise.
33981 (getgid): Likewise.
33982 (getuid): Likewise.
33983 (getresgid): Likewise.
33984 (getresuid): Likewise.
33985 (getgroups): Likewise.
33986 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33987 (geteuid): Likewise.
33988 (getgid): Likewise.
33989 (getuid): Likewise.
33990 (getresgid): Likewise.
33991 (getresuid): Likewise.
33992 (getgroups): Likewise.
33993 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33994 Likewise.
33995 (geteuid): Likewise.
33996 (getgid): Likewise.
33997 (getuid): Likewise.
33998 (getresgid): Likewise.
33999 (getresuid): Likewise.
34000 (getgroups): Likewise.
34001 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34002 (geteuid): Likewise.
34003 (getgid): Likewise.
34004 (getuid): Likewise.
34005 (getresgid): Likewise.
34006 (getresuid): Likewise.
34007 (getgroups): Likewise.
34008 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34009 Likewise.
34010 (geteuid): Likewise.
34011 (getgid): Likewise.
34012 (getuid): Likewise.
34013 (getgroups): Likewise.
34014
34015 [BZ #14138]
34016 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34017 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34018 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34019 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34020 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34021 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34022 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34023 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34024 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34025 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34026 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34027 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34028 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34029 __chown.
34030 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34031 (lchown): Likewise.
34032 (fchown): Likewise.
34033 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34034 Likewise.
34035 (lchown): Likewise.
34036 (fchown): Likewise.
34037 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34038 (lchown): Likewise.
34039 (fchown): Likewise.
34040 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34041 Likewise.
34042 (lchown): Likewise.
34043 (fchown): Likewise.
34044
34045 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34046
34047 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34048 Simplify logic.
34049
34050 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34051
34052 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34053 Cleanup logic.
34054
34055 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34056
34057 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34058 Remove unused include.
34059
34060 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
34061
34062 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34063 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34064 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34065 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34066
34067 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
34068 Helge Deller <deller@gmx.de>
34069
34070 [BZ #17508]
34071 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34072 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34073 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34074
34075 2014-10-23 Joseph Myers <joseph@codesourcery.com>
34076
34077 [BZ #14132]
34078 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34079 Remove macro definition.
34080 (__ashrdi3_v_glibc20): Likewise.
34081 (__lshrdi3_v_glibc20): Likewise.
34082 (__cmpdi2_v_glibc20): Likewise.
34083 (__ucmpdi2_v_glibc20): Likewise.
34084 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34085 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34086 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34087 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34088 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34089 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34090
34091 2014-10-22 Roland McGrath <roland@hack.frob.com>
34092
34093 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34094 old GNU extension [0] syntax.
34095 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34096 alloca rather than an array member with variable length.
34097 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34098 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34099 (parse_opt): ... here. Likewise use alloca there.
34100 Validate the -i argument before checking for rootness.
34101 (send_shutdown): New function, broken out of ...
34102 (parse_opt): ... here.
34103
34104 2014-10-22 Roland McGrath <roland@hack.frob.com>
34105
34106 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34107 macro to get at the _rt_local_ro field.
34108 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34109 ([PIC] case) or _dl_hwcap ([!PIC] case).
34110 * sysdeps/arm/setjmp.S: Likewise.
34111
34112 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34113 * sysdeps/arm/configure.ac: New check to define it.
34114 * sysdeps/arm/configure: Regenerated.
34115 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34116 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34117 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34118 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34119 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34120 Use move/movt pair instead of a load.
34121 (LDST_GLOBAL): Macro removed.
34122 (LDR_GLOBAL): New macro replaces it.
34123 (LDR_HIDDEN): New macro.
34124 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34125 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34126
34127 * setjmp/tst-setjmp-static.c: New file.
34128 * setjmp/Makefile (tests): Add it.
34129 (tests-static): New variable.
34130
34131 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34132
34133 [BZ #17485]
34134 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34135
34136 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34137
34138 [BZ #14132]
34139 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34140
34141 2014-10-21 Roland McGrath <roland@hack.frob.com>
34142
34143 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34144
34145 2014-10-20 Roland McGrath <roland@hack.frob.com>
34146
34147 * io/fts.c (dirent_not_directory): New function.
34148 (fts_build): Call it.
34149
34150 2014-10-20 Roland McGrath <roland@hack.frob.com>
34151
34152 * nptl/version.c (__nptl_main): Use normal __write rather than
34153 INTERNAL_SYSCALL.
34154 (banner): Update copyright years.
34155
34156 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34157 gettimeofday.
34158 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34159 * nptl/pthread_cond_timedwait.c: Likewise.
34160 * nptl/pthread_mutex_timedlock.c: Likewise.
34161 * nptl/sem_timedwait.c: Likewise.
34162
34163 * sysdeps/nptl/bits/libc-lock.h
34164 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34165 (__libc_lock_init_recursive): Return void, not 0.
34166 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34167 (__libc_rwlock_init): Likewise.
34168 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34169
34170 2014-10-20 Torvald Riegel <triegel@redhat.com>
34171
34172 [BZ #15215]
34173 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34174 (__pthread_once_slow): ... here.
34175 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34176 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34177
34178 2014-10-20 Torvald Riegel <triegel@redhat.com>
34179
34180 [BZ #15215]
34181 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34182 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34183 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34184 * nptl/pthread_once.c (__pthread_once): Likewise.
34185 Update comments.
34186
34187 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34188
34189 [BZ #14138]
34190 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34191 name.
34192 (writev): Use __libc_writev as strong name.
34193 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34194 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34195
34196 2014-10-17 Roland McGrath <roland@hack.frob.com>
34197
34198 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34199
34200 * sysdeps/i386/nptl/tls.h
34201 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34202 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34203 New macros.
34204 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34205 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34206 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34207 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34208 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34209 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34210
34211 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34212 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34213 on [__NR_futex].
34214 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34215 broken out of ...
34216 (__pthread_mutex_init): ... here. Call it.
34217 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34218 Conditionalize PI cases on [__NR_futex].
34219 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34220 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34221 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34222
34223 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34224 conditional on [SIGSETXID].
34225 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34226 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34227 is defined. Likewise for SIGSETXID.
34228 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34229 Conditionalize definitions on [SIGSETXID].
34230 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34231 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34232 unblocking on [SIGCANCEL].
34233
34234 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34235 [__NR_set_robust_list].
34236
34237 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34238
34239 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34240 (do_compare): Likewise.
34241
34242 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34243
34244 [BZ #15884]
34245 * string/strcoll_l.c: Don't include stdio.h.
34246 (coll_seq): Remove members idxarr and rulearr.
34247 (get_next_seq_cached): Remove function.
34248 (get_next_seq): Likewise.
34249 (get_next_seq_nocache): Rename to get_next_seq.
34250 (do_compare): Remove function.
34251 (do_compare_nocache): Rename to do_compare.
34252 (STRCOLL): Remove weight and rules cache.
34253
34254 2014-10-16 Roland McGrath <roland@hack.frob.com>
34255
34256 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34257 * sysdeps/arm/sfp-machine.h: ... to here.
34258 * sysdeps/arm/Implies: Remove arm/soft-fp.
34259
34260 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34261
34262 * conform/data/sys/utsname.h-data (*_t): Allow.
34263 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34264 [POSIX] (WEXITED): Do not expect constant.
34265 [POSIX] (WSTOPPED): Likewise.
34266 [POSIX] (WNOHANG): Likewise.
34267 [POSIX] (WNOWAIT): Likewise.
34268 [POSIX] (siginfo_t): Do not expect type or elements.
34269 [POSIX] (pid_t): Do not expect type.
34270 [POSIX] (signal.h): Do not allow header.
34271 [POSIX] (sys/resource.h): Likewise.
34272 [POSIX] (si_*): Do not allow pattern.
34273 [POSIX] (W*): Likewise.
34274 [POSIX] (P_*): Likewise.
34275 [POSIX] (BUS_*): Likewise.
34276 [POSIX] (CLD_*): Likewise.
34277 [POSIX] (FPE_*): Likewise.
34278 [POSIX] (ILL_*): Likewise.
34279 [POSIX] (POLL_*): Likewise.
34280 [POSIX] (SEGV_*): Likewise.
34281 [POSIX] (SI_*): Likewise.
34282 [POSIX] (TRAP_*): Likewise.
34283 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34284 variable.
34285
34286 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34287
34288 [BZ #12926]
34289 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34290 infinite loop when __recvmsg returns 0.
34291
34292 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34293
34294 * CANCEL-FCT-WAIVE: Remove file.
34295 * CANCEL-FILE-WAIVE: Likewise.
34296
34297 [BZ #14132]
34298 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34299 instead of INTVARDEF.
34300 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34301 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34302 rtld_hidden_data_def instead of INTVARDEF.
34303 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34304 * elf/dl-deps.c (expand_dst): Likewise.
34305 * elf/dl-load.c (_dl_dst_count): Likewise.
34306 (_dl_dst_substitute): Likewise.
34307 (decompose_rpath): Likewise.
34308 (_dl_init_paths): Likewise.
34309 (open_path): Likewise.
34310 (_dl_map_object): Likewise.
34311 * elf/rtld.c (dl_main): Likewise.
34312 (process_dl_audit): Likewise.
34313 (process_envvars): Likewise.
34314 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34315 Remove declaration.
34316 (__libc_enable_secure): Use rtld_hidden_proto.
34317
34318 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34319
34320 * elf/dl-load.c
34321 (add_path): New function broken out of _dl_rtld_di_serinfo.
34322 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34323
34324 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34325
34326 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34327 parentheses around macro arguments.
34328 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34329 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34330 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34331 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34332 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34333 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34334 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34335 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34336 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34337 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34338 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34339 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34340 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34341 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34342 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34343 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34344 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34345 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34346 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34347 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34348 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34349 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34350 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34351 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34352 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34353 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34354 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34355 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34356 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34357 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34358 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34359 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34360 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34361 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34362 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34363 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34364 Likewise.
34365 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34366 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34367 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34369 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34370 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34371 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34372 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34373 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34374 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34375 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34376 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34377 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34378 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34379 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34380 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34381 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34382 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34383 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34384 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34386 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34387 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34388 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34389 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34390 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34391 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34392 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34393 (_FP_FRAC_SRS_1): Likewise.
34394 (_FP_FRAC_CLZ_1): Likewise.
34395 (_FP_MUL_MEAT_1_imm): Likewise.
34396 (_FP_MUL_MEAT_1_wide): Likewise.
34397 (_FP_MUL_MEAT_1_hard): Likewise.
34398 (_FP_SQRT_MEAT_1): Likewise.
34399 (_FP_FRAC_ASSEMBLE_1): Likewise.
34400 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34401 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34402 (__FP_CLZ_2): Likewise.
34403 (_FP_MUL_MEAT_2_wide): Likewise.
34404 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34405 (_FP_MUL_MEAT_2_gmp): Likewise.
34406 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34407 (_FP_SQRT_MEAT_2): Likewise.
34408 (_FP_FRAC_ASSEMBLE_2): Likewise.
34409 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34410 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34411 (_FP_FRAC_CLZ_4): Likewise.
34412 (_FP_MUL_MEAT_4_wide): Likewise.
34413 (_FP_MUL_MEAT_4_gmp): Likewise.
34414 (_FP_SQRT_MEAT_4): Likewise.
34415 (_FP_FRAC_ASSEMBLE_4): Likewise.
34416 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34417 * soft-fp/op-common.h (_FP_CMP): Likewise.
34418 (_FP_CMP_EQ): Likewise.
34419 (_FP_CMP_UNORD): Likewise.
34420 (_FP_TO_INT): Likewise.
34421 (_FP_FROM_INT): Likewise.
34422 [!__FP_CLZ] (__FP_CLZ): Likewise.
34423 (_FP_DIV_HELP_imm): Likewise.
34424 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34425 Likewise.
34426 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34427 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34428 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34431 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34432 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34435 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34436 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34437 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34438 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34439 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34440 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34441 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34442 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34444 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34447 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34448 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34449 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34450 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34451 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34452 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34453 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34454 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34455 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34456 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34457 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34458 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34459 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34460 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34461 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34462 (FP_UNPACK_RAW_SP): Likewise.
34463 (FP_PACK_RAW_S): Likewise.
34464 (FP_PACK_RAW_SP): Likewise.
34465 (FP_UNPACK_S): Likewise.
34466 (FP_UNPACK_SP): Likewise.
34467 (FP_UNPACK_SEMIRAW_S): Likewise.
34468 (FP_UNPACK_SEMIRAW_SP): Likewise.
34469 (FP_PACK_S): Likewise.
34470 (FP_PACK_SP): Likewise.
34471 (FP_PACK_SEMIRAW_S): Likewise.
34472 (FP_PACK_SEMIRAW_SP): Likewise.
34473 (_FP_SQRT_MEAT_S): Likewise.
34474 (FP_CMP_S): Likewise.
34475 (FP_CMP_EQ_S): Likewise.
34476 (FP_CMP_UNORD_S): Likewise.
34477 (FP_TO_INT_S): Likewise.
34478 (FP_FROM_INT_S): Likewise.
34479
34480 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34481
34482 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34483 (FP_EX_INVALID_IMZ): Likewise.
34484 (FP_EX_INVALID_IMZ_FMA): Likewise.
34485 (FP_EX_INVALID_ISI): Likewise.
34486 (FP_EX_INVALID_ZDZ): Likewise.
34487 (FP_EX_INVALID_IDI): Likewise.
34488 (FP_EX_INVALID_SQRT): Likewise.
34489 (FP_EX_INVALID_CVI): Likewise.
34490 (FP_EX_INVALID_VC): Likewise.
34491 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34492 "invalid" exceptions.
34493 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34494 (_FP_ADD_INTERNAL): Likewise.
34495 (_FP_MUL): Likewise.
34496 (_FP_FMA): Likewise.
34497 (_FP_DIV): Likewise.
34498 (_FP_CMP_CHECK_NAN): Likewise.
34499 (_FP_SQRT): Likewise.
34500 (_FP_TO_INT): Likewise.
34501 (FP_EXTEND): Likewise.
34502
34503 2014-10-09 Allan McRae <allan@archlinux.org>
34504
34505 * po/fr.po: Update French translation from translation project.
34506
34507 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34508
34509 [BZ #14132]
34510 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34511 of INTDEF.
34512 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34513 (__cxa_atexit): Use libc_hidden_proto.
34514 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34515
34516 [BZ #14132]
34517 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34518 declaration.
34519 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34520 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34521 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34522 [!_ISOMAC] (__iswctype_internal): Likewise.
34523 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34524 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34525 alias.
34526 (fcntl): Remove __fcntl_internal alias.
34527 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34528 __connect_internal alias.
34529 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34530 Likewise.
34531
34532 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34533 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34534 FP_DENORM_ZERO.
34535 (_FP_CHECK_FLUSH_ZERO): New macro.
34536 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34537 (_FP_CMP): Likewise.
34538 (_FP_CMP_EQ): Likewise.
34539 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34540 FP_DENORM_ZERO.
34541 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34542 (FP_TRUNC): Likewise.
34543
34544 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34545 treated as invalid conversion, not as normal exponent.
34546
34547 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34548 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34549 (_FP_CMP_EQ): Likewise.
34550 (_FP_CMP_UNORD): Likewise.
34551 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34552 (FP_CMP_EQ_D): Likewise.
34553 (FP_CMP_UNORD_D): Likewise.
34554 * soft-fp/extended.h (FP_CMP_E): Likewise.
34555 (FP_CMP_EQ_E): Likewise.
34556 (FP_CMP_UNORD_E): Likewise.
34557 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34558 (FP_CMP_EQ_Q): Likewise.
34559 (FP_CMP_UNORD_Q): Likewise.
34560 * soft-fp/single.h (FP_CMP_S): Likewise.
34561 (FP_CMP_EQ_S): Likewise.
34562 (FP_CMP_UNORD_S): Likewise.
34563 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34564 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34565 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34566 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34567 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34568 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34569 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34570 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34571 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34572 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34573 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34574 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34575 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34576 to FP_CMP_Q.
34577 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34578 FP_CMP_Q.
34579 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34580 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34581 FP_CMP_EQ_Q.
34582 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34583 FP_CMP_Q.
34584 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34585 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34586 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34587 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34588 FP_CMP_EQ_Q.
34589 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34590 FP_CMP_Q.
34591 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34592 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34593 FP_CMP_EQ_Q.
34594 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34595 FP_CMP_Q.
34596 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34597 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34598 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34599 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34600 FP_CMP_EQ_Q.
34601
34602 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34603 a subnormal result, set the underflow exception if trapping on
34604 underflow is enabled.
34605 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34606 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34607 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34608 redefine to 0.
34609 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34610 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34611 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34612 * soft-fp/extendxftf2.c (__extendxftf2): Use
34613 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34614
34615 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34616 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34617 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34618 FP_HANDLE_EXCEPTIONS.
34619 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34620 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34621 FP_HANDLE_EXCEPTIONS.
34622 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34623 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34624 FP_HANDLE_EXCEPTIONS.
34625 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34626 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34627 FP_HANDLE_EXCEPTIONS.
34628
34629 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34630
34631 [BZ #14132]
34632 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34633 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34634 use INTUSE.
34635 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34636 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34637 Remove alias.
34638 (__adjtimex): Define using libc_hidden_ver.
34639 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34640 Remove declaration.
34641 (ntp_gettime): Call __adjtimex directly.
34642 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34643 Remove declaration.
34644 (ntp_gettimex): Call __adjtimex directly.
34645 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34646 __adjtimex_internal alias.
34647
34648 2014-10-08 Roland McGrath <roland@hack.frob.com>
34649
34650 [BZ #17460]
34651 * nscd/nscd.c (more_help): Rewrite list of tables collection
34652 using xstrdup and asprintf.
34653
34654 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34655
34656 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34657 Roland McGrath <roland@hack.frob.com>
34658
34659 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34660 (do_lookup_unique): ... local function 'enter' here; update callers.
34661
34662 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34663
34664 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34665 compat_symbol calls on [SHARED].
34666 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34667 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34668 Remove.
34669 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34670 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34671 (oldsetrlimit): Remove.
34672 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34674 (lchown): New syscall entry.
34675 (oldsetrlimit): Remove.
34676 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34677 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34678 (oldsetrlimit): Remove.
34679 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34680
34681 [BZ #14138]
34682 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34683 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34684 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34685 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34686 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34687 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34688 (fchown): Likewise.
34689 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34690 (fchown): Likewise.
34691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34692 Likewise.
34693
34694 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34695
34696 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34697 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34698 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34699 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34700 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34701 Likewise.
34702 (__old_sem_post): Likewise.
34703
34704 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34705
34706 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34707 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34708 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34709 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34710 Use INLINE_VSYSCALL macro.
34711 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34712 __vdso_clock_gettime.
34713 * sysdeps/unix/sysv/linux/tile/init-first.c
34714 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34715 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34716 __vdso_clock_gettime.
34717
34718 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34719 to set up frame more cleanly.
34720
34721 * sysdeps/tile/memcmp.c: New file.
34722
34723 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34724
34725 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34726 * sysdeps/tile/tilegx/strcasestr.c: New file.
34727 * sysdeps/tile/tilegx/strnlen.c: New file.
34728 * sysdeps/tile/tilegx/strstr.c: New file.
34729
34730 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34731
34732 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34733
34734 * nptl/tst-setuid3.c: Write errors to stdout.
34735
34736 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34737
34738 * elf/dl-deps.c
34739 (preload): New functions broken out of _dl_map_object_deps.
34740 (_dl_map_object_deps): Remove a nested function. Update call sites.
34741
34742 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34743
34744 [BZ #14138]
34745 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34746 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34747
34748 2014-10-01 Steve Ellcey <sellcey@mips.com>
34749
34750 * sysdeps/mips/strcmp.S: New.
34751
34752 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34753
34754 [BZ #14138]
34755 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34756 (linkat): Likewise.
34757 (mkdirat): Likewise.
34758 (readlinkat): Likewise.
34759 (renameat): Likewise.
34760 (symlinkat): Likewise.
34761 (unlinkat): Likewise.
34762 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34763 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34764 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34765 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34766 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34767 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34768 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34769
34770 2014-09-30 Will Newton <will.newton@linaro.org>
34771
34772 * math/math.h: Define long double math functions if
34773 _LIBC_TEST is defined.
34774 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34775
34776 * localedata/Makefile: Move assignment to tests-special
34777 into an ifdef testing run-built-tests.
34778 * timezone/Makefile: Likewise.
34779
34780 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34781
34782 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34783 with $(BASH) not $(SHELL).
34784
34785 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34786 Matthew LeGendre <legendre1@llnl.gov>
34787
34788 [BZ #17411]
34789 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34790 l_reloc_result.
34791
34792 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34793
34794 * stdio-common/printf_fp.c
34795 (hack_digit): New function, broken out of ...
34796 (__printf_fp): ... local function here. Update call sites.
34797 hack_digit now takes an additional parameter that is a pointer
34798 to a struct of the referenced locals. Those locals moved inside
34799 the struct and references updated.
34800
34801 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34802
34803 * aclocal.m4: Require autoconf 2.69.
34804 * configure: Regenerated.
34805 * sysdeps/aarch64/configure: Likewise.
34806 * sysdeps/alpha/configure: Likewise.
34807 * sysdeps/arm/armv7/configure: Likewise.
34808 * sysdeps/arm/configure: Likewise.
34809 * sysdeps/ia64/configure: Likewise.
34810 * sysdeps/mach/configure: Likewise.
34811 * sysdeps/mips/configure: Likewise.
34812 * sysdeps/s390/configure: Likewise.
34813 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34815
34816 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34817 file.
34818 * sysdeps/ia64/configure.ac: Likewise.
34819
34820 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34821
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34823 specify symbol version for ld.so. Do not include entry for
34824 libpthread.
34825 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34826 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34827 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34828
34829 [BZ #14171]
34830 * Makeconfig [$(build-shared) = yes]
34831 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34832 makefiles.
34833 [$(build-shared) = yes && $(soversions.mk-done) = t]
34834 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34835 [$(build-shared) = yes && $(soversions.mk-done) = t]
34836 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34837 to Makerules.
34838 [$(build-shared) = yes && $(soversions.mk-done) = t]
34839 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34840 here.
34841 [$(build-shared) = yes && $(soversions.mk-done) = t]
34842 (common-generated): Don't append gnu/lib-names.h and
34843 gnu/lib-names.stmp here.
34844 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34845 (lib-names-h-abi): New variable.
34846 [$(build-shared) = yes && $(soversions.mk-done) = t]
34847 (lib-names-stmp-abi): Likewise.
34848 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34849 abi-variants] (before-compile): Append
34850 $(common-objpfx)$(lib-names-h-abi).
34851 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34852 abi-variants] (common-generated): Append gnu/lib-names.h.
34853 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34854 abi-variants] (install-others-nosubdir): Depend on
34855 $(inst_includedir)/$(lib-names-h-abi).
34856 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34857 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34858 [$(build-shared) = yes && $(soversions.mk-done) = t]
34859 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34860 [$(build-shared) = yes && $(soversions.mk-done) = t]
34861 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34862 [$(build-shared) = yes && $(soversions.mk-done) = t]
34863 (common-generated): Append $(lib-names-h-abi) and
34864 $(lib-names-stmp-abi).
34865 * scripts/lib-names.awk: Do not handle multi being set.
34866 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34867 Remove variable.
34868 (abi-lp64_be-ld-soname): Likewise.
34869 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34870 Likewise.
34871 (abi-hard-ld-soname): Likewise.
34872 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34873 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34874 Remove variable.
34875 (abi-o32_hard-ld-soname): Likewise.
34876 (abi-o32_soft_2008-ld-soname): Likewise.
34877 (abi-o32_hard_2008-ld-soname): Likewise.
34878 (abi-n32_soft-ld-soname): Likewise.
34879 (abi-n32_hard-ld-soname): Likewise.
34880 (abi-n32_soft_2008-ld-soname): Likewise.
34881 (abi-n32_hard_2008-ld-soname): Likewise.
34882 (abi-n64_soft-ld-soname): Likewise.
34883 (abi-n64_hard-ld-soname): Likewise.
34884 (abi-n64_soft_2008-ld-soname): Likewise.
34885 (abi-n64_hard_2008-ld-soname): Likewise.
34886 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34887 Likewise.
34888 (abi-64-v2-ld-soname): Likewise.
34889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34890 ld.so entries.
34891 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34892 variable.
34893 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34894 entry.
34895 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34896 variable.
34897 (abi-64-ld-soname): Likewise.
34898 (abi-x32-ld-soname): Likewise.
34899 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34900 entry.
34901 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34902
34903 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34904
34905 [BZ #14138]
34906 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34907 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34908 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34909 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34910 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34911 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34912 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34913 syscall entry for GLIBC_2.2 symbol version.
34914 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34915 Likewise.
34916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34917 (setrlimit): Likewise.
34918 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34919 Likewise.
34920
34921 2014-09-23 Will Newton <will.newton@linaro.org>
34922
34923 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34924 _LINUX_ARM_SYSDEP_H include guard too.
34925 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34926 define.
34927
34928 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34929
34930 * sysdeps/unix/sysv/linux/eventfd.c:
34931 Make first argument unsigned.
34932 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34933 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34934
34935 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34936
34937 [BZ #16852]
34938 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34939 * socket/sys/socket.h: Likewise.
34940 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34941
34942 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34943
34944 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34945
34946 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34947
34948 * time/tst-ftime.c: New test.
34949 * time/Makefile (tests): Add tst-ftime.
34950
34951 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34952
34953 * soft-fp/extended.h: Fix comment formatting.
34954 * soft-fp/op-1.h: Likewise.
34955 * soft-fp/op-2.h: Likewise.
34956 * soft-fp/op-4.h: Likewise.
34957 * soft-fp/op-8.h: Likewise.
34958 * soft-fp/op-common.h: Likewise.
34959 * soft-fp/soft-fp.h: Likewise.
34960
34961 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34962
34963 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34964
34965 [BZ #6652]
34966 * Makeconfig (soversions-default-setname): Remove variable.
34967 ($(common-objpfx)soversions.i): Don't pass default_setname to
34968 soversions.awk.
34969 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34970 oldest_abi to abi-versions.awk.
34971 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34972 * config.make.in (oldest-abi): Remove variable.
34973 * configure.ac (--enable-oldest-abi): Remove configure option.
34974 * configure: Regenerated.
34975 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34976 text.
34977 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34978 * scripts/soversions.awk: Do not handle default_setname variable.
34979 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34980 variable.
34981 * sysdeps/mach/hurd/configure: Regenerated.
34982 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34983 variable.
34984 * sysdeps/unix/sysv/linux/configure: Regenerated.
34985
34986 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34987
34988 * elf/Makefile (CFLAGS-interp.c): Remove.
34989 ($(elf-objpfx)runtime-linker.h): Generate header with linker
34990 path string.
34991 * elf/interp.c: Include generated runtime-linker.h
34992
34993 * Makerules (lib%.so): Don't include $(+interp) in
34994 prerequisites.
34995 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34996 * dlfcn/eval.c: Remove file.
34997
34998 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34999 macros.
35000
35001 [BZ #17266]
35002 * misc/sys/cdefs.h: Define __extern_always_inline for clang
35003 4.2 and newer.
35004
35005 [BZ #17370]
35006 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35007
35008 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35009 Jakub Jelinek <jakub@redhat.com>
35010
35011 [BZ #17266]
35012 * libio/stdio.h: Check definition of __fortify_function
35013 instead of __extern_always_inline to include bits/stdio2.h.
35014 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35015 check if __extern_always_inline is defined.
35016 [__USE_MISC || __USE_XOPEN]: Likewise.
35017 [__USE_ISOC99] Likewise.
35018 * misc/sys/cdefs.h (__fortify_function): Define only if
35019 __extern_always_inline is defined.
35020 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35021 __extern_always_inline and __extern_inline only for g++-4.3
35022 and newer or a compatible gcc.
35023
35024 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
35025
35026 [BZ #17371]
35027 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35028 last change to handle zero prefix length.
35029
35030 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35031
35032 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35033 _SC_REGEX_VERSION.
35034
35035 * posix/getconf.c (vars): Add _POSIX_IPV6 and
35036 _POSIX_RAW_SOCKETS.
35037
35038 2014-09-13 Allan McRae <allan@archlinux.org>
35039
35040 * po/ru.po: Update Russian translation from translation project.
35041
35042 2014-09-12 Roland McGrath <roland@hack.frob.com>
35043
35044 * locale/programs/locale.c (show_locale_vars): Inline local function
35045 into its sole call site. Clean up some style nits.
35046 (print_item): New function, broken out of ...
35047 (show_info): ... local function here. Clean up style nits.
35048
35049 * locale/programs/ld-ctype.c (set_one_default): New function, broken
35050 out of ...
35051 (set_class_defaults): ... local function set_default here.
35052 Define set_default as a macro locally to pass constant parameters.
35053 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35054 rather than a shared local.
35055
35056 * stdlib/rpmatch.c (try): New function, broken out of ...
35057 (rpmatch): ... local function here. Also, prototypify definition.
35058
35059 2014-09-12 Joseph Myers <joseph@codesourcery.com>
35060
35061 * scripts/soversions.awk: Do not handle configuration names.
35062 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35063 vendor and os variables to soversions.awk.
35064 * configure.ac: Do not modify gnu-* host_os.
35065 * configure: Regenerated
35066 * shlib-versions: Remove first column with configuration names.
35067 * nptl/shlib-versions: Likewise.
35068 * nptl_db/shlib-versions: Likewise.
35069 * sysdeps/hppa/shlib-versions: Likewise.
35070 * sysdeps/m68k/shlib-versions: Likewise.
35071 * sysdeps/mach/hurd/shlib-versions: Likewise.
35072 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35073 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35074 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35075 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35076 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35077 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35078 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35079 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35081 Likewise.
35082 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35083 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35084 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35085 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35087 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35088 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35089 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35090
35091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35092 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35094 Regenerated.
35095 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35097 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35098
35099 * shlib-versions: Remove OS-specific entries. Moved to files in
35100 sysdeps.
35101 * sysdeps/mach/hurd/shlib-versions: New file.
35102 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35103
35104 * nptl/shlib-versions: Remove architecture-specific entries.
35105 Moved to files in sysdeps.
35106 * shlib-versions: Likewise.
35107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35108 file.
35109 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35110 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35111 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35112 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35113
35114 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35115 (UDP_NO_CHECK6_RX): Likewise.
35116
35117 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35118
35119 * sysdeps/posix/sysconf.c (__sysconf): Spell
35120 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35121
35122 2014-08-12 Florian Weimer <fweimer@redhat.com>
35123
35124 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35125 loading.
35126 * iconv/Versions (__gconv_transliterate): Export for use from
35127 gconv modules.
35128 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35129 (struct __gconv_trans_data, __gconv_trans_fct,
35130 __gconv_trans_context_fct, __gconv_trans_query_fct,
35131 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35132 definitions.
35133 (struct __gconv_step_data): Remove __trans member.
35134 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35135 longer hidden. Remove unused trans_data argument.
35136 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35137 (__gconv_translit_find): Remove declaration.
35138 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35139 prototype.
35140 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35141 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35142 trans_data argument. Add hidden definition.
35143 (__gconv_translit_find): Remove.
35144 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35145 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35146 * iconv/skeleton.c: Remove transliteration initialization.
35147 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35148 __gconv_step_data initialization.
35149 * libio/iofwide.c (__libio_translit_): Remove.
35150 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35151 * wcsmbs/btowc.c (__btowc): Likewise.
35152 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35153 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35154 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35155 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35156 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35157 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35158 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35159 * wcsmbs/wctob.c (wctob): Likewise.
35160
35161 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35162
35163 [BZ #16194]
35164 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35165 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35166 register usage.
35167 * sysdeps/x86/Makefile: Adjust.
35168
35169 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35170 Roland McGrath <roland@hack.frob.com>
35171
35172 * locale/weight.h: Add include guard.
35173 (findidx): Make static rather than auto; take new parameters
35174 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35175 * locale/weightwc.h: Likewise.
35176 * posix/fnmatch_loop.c
35177 (FCT): Change type of EXTRA from int32_t to wint_t.
35178 Don't include either header inside the function.
35179 Call FINDIDX rather than findidx, and pass new arguments.
35180 #undef FINDIDX at the end of the file.
35181 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35182 FINDIDX before including fnmatch_loop.c for the non-wide version.
35183 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35184 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35185 for the wide version.
35186 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35187 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35188 Pass new arguments to findidx.
35189 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35190 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35191 Don't #include it inside the function. Pass new arguments to findidx.
35192 * posix/regex_internal.h
35193 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35194 (re_string_elem_size_at): Don't #include it inside the function.
35195 Pass new arguments to findidx.
35196 * string/strcoll_l.c: #include WEIGHT_H at top level.
35197 (get_next_seq): Don't #include it inside the function.
35198 Pass new arguments to findidx.
35199 (get_next_seq_nocache): Likewise.
35200 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35201 (STRXFRM): Don't #include it inside the function.
35202 Pass new arguments to findidx.
35203
35204 2014-09-11 Florian Weimer <fweimer@redhat.com>
35205
35206 [BZ #17344]
35207 * malloc/malloc.c (unlink): Turn asserts into a call to
35208 malloc_printerr.
35209
35210 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35211
35212 [BZ #17370]
35213 * libio/wfileops (do_ftell_wide): Free OUT.
35214
35215 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35216
35217 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35218
35219 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35220
35221 [BZ #17363]
35222 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35223 group if the current group is empty.
35224
35225 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35226
35227 * benchtests/bench-memset.c (test_main): Add more test from size
35228 from 32 to 512 bytes.
35229 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35230 Add POWER8 memset object.
35231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35232 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35233 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35234 implementation.
35235 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35236 Likewise.
35237 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35238 multiarch POWER8 memset optimization.
35239 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35240 POWER8 memset optimization.
35241
35242 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35243 Remove bzero multiarch objects.
35244 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35245 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35246 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35247 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35248 Remove define.
35249 [__bzero]: Redefine to specific name.
35250 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35251 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35252 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35253 define.
35254 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35255 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35256
35257 2014-09-10 Florian Weimer <fweimer@redhat.com>
35258
35259 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35260 warnings into errors.
35261
35262 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35263 __cxa_thread_atexit_impl prototype.
35264
35265 2014-09-09 Steve Ellcey <sellcey@mips.com>
35266
35267 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35268 Fix capitalization of error message.
35269
35270 2014-09-09 Steve Ellcey <sellcey@mips.com>
35271
35272 * sysdeps/mips/preconfigure: Modify ABI tests.
35273
35274 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35275
35276 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35277
35278 2014-09-07 Roland McGrath <roland@hack.frob.com>
35279 Carlos O'Donell <carlos@systemhalted.org>
35280
35281 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35282 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35283 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35284 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35285 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35286 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35287 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35288 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35289 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35290 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35291 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35292 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35293 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35294 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35295 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35296 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35297 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35298 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35299 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35300 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35301 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35302 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35303 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35304 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35305 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35306 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35307 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35308 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35309 Deconditionalize the code that was previously under [RESET_PID].
35310 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35311 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35312 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35313 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35314 include sysdep.h.
35315
35316 2014-09-08 Allan McRae <allan@archlinux.org>
35317
35318 * version.h (RELEASE): Set to "development".
35319 (VERSION): Set to "2.20.90"
35320
35321 2014-09-07 Allan McRae <allan@archlinux.org
35322
35323 * version.h (RELEASE): Set to "stable".
35324 (VERSION): Set to "2.20"
35325 * include/features.h (__GLIBC_MINOR__): Set to 20.
35326
35327 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35328 Liebler.
35329
35330 * po/ko.po: Update Korean translation from translation project.
35331
35332 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35333
35334 [BZ #17354]
35335 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35336 macro for handling signed relocations.
35337
35338 2014-09-03 Florian Weimer <fweimer@redhat.com>
35339
35340 [BZ #17325]
35341 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35342 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35343 assert.
35344 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35345 * iconvdata/ibm935.c (BODY): Likewise.
35346 * iconvdata/ibm937.c (BODY): Likewise.
35347 * iconvdata/ibm939.c (BODY): Likewise.
35348 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35349 assert.
35350 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35351 script.
35352 * iconvdata/run-iconv-test.sh: New test loop for checking for
35353 decoder crashers.
35354
35355 2014-09-02 Khem Raj <raj.khem@gmail.com>
35356
35357 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35358 libm_hidden_ver.
35359
35360 2014-09-01 Allan McRae <allan@archlinux.org>
35361
35362 * po/eo.po: Update Esperanto translation from translation project.
35363
35364 * po/ca.po: Update Catalan translation from translation project.
35365
35366 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35367
35368 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35369 __proc_dostop call.
35370
35371 2014-08-27 Mark Wielaard <mjw@redhat.com>
35372
35373 [BZ #17319]
35374 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35375 to call set_thread_area instead of hand written asm.
35376 (__NR_set_thread_area): Removed define.
35377 (TLS_FLAG_WRITABLE): Likewise.
35378 (__ASSUME_SET_THREAD_AREA): Remove check.
35379 (TLS_EBX_ARG): Remove define.
35380 (TLS_LOAD_EBX): Likewise.
35381
35382 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35383
35384 Simplify atomicity of socket creation in bind.
35385
35386 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35387 looking up the name after linking the file.
35388
35389 2014-08-27 Allan McRae <allan@archlinux.org>
35390
35391 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35392
35393 2014-08-26 Florian Weimer <fweimer@redhat.com>
35394
35395 [BZ #17187]
35396 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35397 trans_compare, open_translit, __gconv_translit_find):
35398 Remove module loading code.
35399
35400 2014-08-26 Allan McRae <allan@archlinux.org>
35401
35402 * po/vi.po: Update Vietnamese translation from translation project.
35403
35404 * po/uk.po: Update Ukrainian translation from translation project.
35405
35406 * po/fr.po: Update French translation from translation project.
35407
35408 * po/ru.po: Update Russian translation from translation project.
35409
35410 * po/pl.po: Update Polish translation from translation project.
35411
35412 * po/cs.po: Update Czech translation from translation project.
35413
35414 * po/de.po: Update German translation from translation project.
35415
35416 * po/bg.po: Update Bulgarian translation from translation project.
35417
35418 * po/sv.po: Update Sweedish translation from translation project.
35419
35420 * po/nl.po: Update Dutch translation from translation project.
35421
35422 * po/es.po: Update Spanish translation from translation project.
35423
35424 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35425
35426 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35427
35428 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35429 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35430 (CPPFLAGS-iconvconfig): Likewise.
35431 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35432
35433 * include/libc-symbols.h: Remove unnecessary check for
35434 NOT_IN_libc.
35435 * nptl/pthreadP.h: Likewise.
35436 * sysdeps/aarch64/setjmp.S: Likewise.
35437 * sysdeps/alpha/setjmp.S: Likewise.
35438 * sysdeps/arm/sysdep.h: Likewise.
35439 * sysdeps/i386/setjmp.S: Likewise.
35440 * sysdeps/m68k/setjmp.c: Likewise.
35441 * sysdeps/posix/getcwd.c: Likewise.
35442 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35443 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35444 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35445 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35446 * sysdeps/sh/sh3/setjmp.S: Likewise.
35447 * sysdeps/sh/sh4/setjmp.S: Likewise.
35448 * sysdeps/unix/alpha/sysdep.h: Likewise.
35449 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35451 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35452 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35456 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35457 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35458 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35459 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35460 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35462 * sysdeps/x86_64/setjmp.S: Likewise.
35463
35464 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35465
35466 [BZ #17263]
35467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35468 <stdint.h>.
35469 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35470 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35471
35472 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35473
35474 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35475
35476 [BZ #17262]
35477 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35478 and __x86_64__ when disabling x87 inline functions.
35479
35480 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35481
35482 [BZ #17259]
35483 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35484 asm statement with __cpuid_count.
35485
35486 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35487
35488 * configure.ac: Change __ehdr_start code to dereference the struct.
35489 Run readelf on the output to look for relocations.
35490 * configure: Regenerated.
35491
35492 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35493
35494 [BZ #17261]
35495 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35496 value to 0.
35497 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35498
35499 2014-08-12 Roland McGrath <roland@hack.frob.com>
35500
35501 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35502
35503 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35504
35505 [BZ #16892]
35506 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35507 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35508
35509 2014-08-12 Sean Anderson <seanga2@gmail.com>
35510
35511 * malloc/malloc.c: Fix typo in comment.
35512
35513 2014-08-09 Allan McRae <allan@archlinux.org>
35514
35515 * Regenerate libc.po.
35516
35517 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35518
35519 * intl/tst-gettext2.sh: Check every lang file for creation.
35520
35521 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35522
35523 * sysdeps/aarch64/fpu/math_private.h
35524 (libc_feholdsetround_noex_aarch64_ctx): New function.
35525
35526 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35527
35528 * sysdeps/arm/armv6/strcpy.S (strcpy):
35529 Fix performance issue in misaligned cases.
35530
35531 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35532
35533 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35534 Move definition from termios.h.
35535 (struct termio): Likewise.
35536 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35537 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35538 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35539 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35540 Likewise.
35541 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35542 Move definition to ioctl-types.h
35543 (struct termio): Likewise.
35544 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35545 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35546 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35547 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35548 Likewise.
35549
35550 2014-08-05 Richard Henderson <rth@redhat.com>
35551
35552 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35553 exceptions.
35554 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35555 Add fraiseexcpt.
35556 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35557 Use __feraiseexcept.
35558 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35559 Protect libm symbols with IS_IN_libm.
35560
35561 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35562
35563 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35564
35565 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35566
35567 2014-08-04 Will Newton <will.newton@linaro.org>
35568
35569 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35570 file.
35571
35572 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35573
35574 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35575 variants for each function.
35576
35577 2014-08-04 Roland McGrath <roland@hack.frob.com>
35578
35579 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35580 appended ...
35581 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35582 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35583 appended ...
35584 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35585 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35586 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35587 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35588 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35589 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35590 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35591 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35592 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35593 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35594 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35595 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35596 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35597 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35598 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35599 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35600 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35601 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35602 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35603 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35604 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35605 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35606 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35607 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35608 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35609 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35610 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35611 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35612 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35613 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35614 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35615 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35616 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35617 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35618 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35619 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35620 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35621 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35622 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35623 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35624 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35625 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35626 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35627 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35628 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35629 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35630 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35632 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35634 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35635 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35636 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35637 Update #include.
35638 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35639 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35640
35641 2014-08-04 Roland McGrath <roland@hack.frob.com>
35642
35643 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35644 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35645 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35646 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35648 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35649
35650 2014-08-04 Roland McGrath <roland@hack.frob.com>
35651
35652 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35653 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35654 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35655 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35656
35657 2014-08-04 Roland McGrath <roland@hack.frob.com>
35658
35659 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35660 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35661 (__libc_vfork): Define function under this name.
35662 (__vfork): Define as an alias.
35663 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35664 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35665
35666 2014-08-04 Roland McGrath <roland@hack.frob.com>
35667
35668 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35669 that was previously under [RESET_PID].
35670 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35671
35672 2014-08-04 Andreas Schwab <schwab@suse.de>
35673
35674 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35675
35676 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35677
35678 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35679 (main): Likewise.
35680
35681 2014-08-01 Roland McGrath <roland@hack.frob.com>
35682
35683 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35684
35685 2014-08-01 Richard Henderon <rth@redhat.com>
35686
35687 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35688 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35689 typo in exact zero test.
35690 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35691 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35692 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35693
35694 2014-08-01 Roland McGrath <roland@hack.frob.com>
35695
35696 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35697 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35698 * sysdeps/arm/sysdep.h: ... here.
35699 [!__ASSEMBLER__]: Include <stdint.h>.
35700
35701 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35702
35703 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35704 (HAVE_WCTYPE_H): Likewise.
35705 (HAVE_ISWCTYPE): Likewise.
35706 (ENABLE_NLS): Likewise.
35707 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35708 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35709
35710 * posix/regex_internal.c: Check if DEBUG is defined and is
35711 set.
35712
35713 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35714 (HAVE_MBSRTOWCS): Likewise.
35715 * posix/fnmatch.c: Include string.h unconditionally.
35716
35717 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35718
35719 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35720 reversal.
35721
35722 2014-07-31 Roland McGrath <roland@hack.frob.com>
35723
35724 * sysdeps/generic/safe-fatal.h: New file.
35725 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35726 * nptl/forward.c: Include it.
35727 (__pthread_unwind): Use __safe_fatal as default action, rather
35728 than a bogus use of INTERNAL_SYSCALL that could never work.
35729
35730 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35731 * configure.ac (libc_cv_builtin_trap): New test.
35732 * configure: Regenerated.
35733 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35734 (ABORT_INSTRUCTION): Define using __builtin_trap.
35735
35736 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35737 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35738 * sysdeps/nptl/nptl-signals.h: New file.
35739 * nptl/pthreadP.h: Include <nptl-signals.h>.
35740
35741 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35742
35743 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35744 (ONE_DIRECTION): Define.
35745 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35746 (ONE_DIRECTION): Define.
35747 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35748 (ONE_DIRECTION): Define.
35749
35750 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35751
35752 * sysdeps/s390/Makefile: Delete file.
35753 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35754 * sysdeps/s390/__longjmp.c: Delete file.
35755 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35756 Remove fields __flags and __reserved.
35757 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35758 and add versioning.
35759 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35760 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35761 * sysdeps/s390/rtld-setjmp.S: Likewise.
35762 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35763 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35764 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35765 * sysdeps/s390/s390-32/setjmp.S: ... here.
35766 Add versioning.
35767 (__sigsetjmp): Remove setting __flags field.
35768 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35769 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35770 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35771 * sysdeps/s390/s390-64/setjmp.S: ... here.
35772 Add versioning.
35773 (__sigsetjmp): Remove setting __flags field.
35774 * sysdeps/s390/setjmp.S: Delete file.
35775 * sysdeps/s390/sigjmp.c: Likewise.
35776 * sysdeps/s390/v1-longjmp.c: Likewise.
35777 * sysdeps/s390/v1-setjmp.h: Likewise.
35778 * sysdeps/s390/v1-sigjmp.c: Likewise.
35779 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35780 Remove v1-longjmp_chk.
35781 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35782 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35783 Include debug/longjmp_chk.c and add versioning.
35784 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35785 Include nptl/pt-longjmp.c and add versioning.
35786 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35787 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35788 Include __longjmp.c.
35789 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35790 Move to ...
35791 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35792 (__getcontext): Remove setting __flags field.
35793 Add versioning.
35794 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35795 Don't restore upper high grps.
35796 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35797 Likewise.
35798 (__swapcontext): Remove setting uc_flags field.
35799 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35800 Delete file.
35801 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35802 Include __longjmp.c.
35803 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35804 Move to ...
35805 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35806 (__getcontext): Remove setting __flags field.
35807 Add versioning.
35808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35809 (__swapcontext): Remove setting uc_flags field.
35810 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35811 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35812 Remove fields uc_high_gprs and __reserved.
35813 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35814 New file with reverted content.
35815 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35816 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35817 Regenerated.
35818 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35819 Regenerated.
35820
35821 2014-07-31 Andreas Schwab <schwab@suse.de>
35822
35823 * config.h.in (HAVE_IFUNC): Define to 0.
35824 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35825 definedness.
35826
35827 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35828
35829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35830 memmove-avx-unaligned, memcpy-avx-unaligned and
35831 mempcpy-avx-unaligned.
35832 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35833 Add tests for AVX memcpy functions.
35834 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35835 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35836 memcpy_chk.
35837 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35838 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35839 memmove_chk.
35840 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35841 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35842 mempcpy_chk.
35843 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35844 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35845 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35846
35847 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35848
35849 [BZ #17213]
35850 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35851 powerpc64le.
35852
35853 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35854
35855 [BZ #16839]
35856 * manual/llio.texi: Add section about open file description locks.
35857 * manual/examples/ofdlocks.c: Example of open file description
35858 lock usage.
35859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35860 F_OFD_SETLK, and F_OFD_SETLKW.
35861
35862 2014-07-23 Allan McRae <allan@archlinux.org>
35863
35864 * po/es.po: Update Spanish translation from translation project.
35865
35866 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35867
35868 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35869
35870 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35871
35872 [BZ #17078]
35873 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35874 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35875 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35876
35877 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35878
35879 [BZ #17088]
35880 * math/fesetenv.c (__fesetenv)
35881 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35882 * math/feupdateenv.c (__feupdateenv)
35883 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35884
35885 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35886 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35887 (__ASSUME_SOCKETCALL): Do not define.
35888
35889 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35890 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35891 (__ASSUME_SOCKETCALL): Do not define.
35892 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35893 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35894 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35895 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35896 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35897 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35898 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35899 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35900
35901 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35902 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35903 (__ASSUME_SOCKETCALL): Do not define.
35904 (__ASSUME_IPC64): Define unconditionally.
35905 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35906 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35907 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35908 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35909 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35910 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35911 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35912 Likewise.
35913
35914 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35915 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35916 (__ASSUME_SOCKETCALL): Do not define.
35917 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35918 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35919 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35920 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35921 (__ASSUME_REQUEUE_PI): Define unconditionally.
35922 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35923 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35924 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35925 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35926 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35927 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35928
35929 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35930 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35931 (__ASSUME_SOCKETCALL): Do not define.
35932 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35933 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35934 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35935 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35936 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35937 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35938
35939 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35940 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35941 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35942 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35943 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35944 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35945 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35946 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35947 (__ASSUME_GETCPU_SYSCALL): Likewise.
35948
35949 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35950 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35951 cases for individual architectures.
35952 * sysdeps/gnu/configure: Regenerated.
35953 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35954 LIBC_SLIBDIR_RTLDDIR.
35955 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35956 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35957 LIBC_SLIBDIR_RTLDDIR.
35958 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35960 LIBC_SLIBDIR_RTLDDIR.
35961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35962 Regenerated.
35963 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35964 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35965 file.
35966 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35967 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35968 file.
35969 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35970 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35971 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35972 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35973
35974 * sysdeps/aarch64/shlib-versions: Move to ...
35975 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35976 * sysdeps/alpha/shlib-versions: Move to ...
35977 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35978 * sysdeps/arm/shlib-versions: Move to ...
35979 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35980 * sysdeps/hppa/shlib-versions: Move all contents except for
35981 libgcc_s entry to ...
35982 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35983 entry from ...
35984 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
35985 * sysdeps/ia64/shlib-versions: Move to ...
35986 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
35987 entry from ...
35988 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
35989 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35990 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35991 * sysdeps/microblaze/shlib-versions: Move to ...
35992 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35993 * sysdeps/mips/shlib-versions: Move to ...
35994 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
35995 entry from ...
35996 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
35997 * sysdeps/tile/shlib-versions: Move to ...
35998 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35999 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36000 from ...
36001 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
36002 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36003 entry from ...
36004 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
36005
36006 2014-07-17 Will Newton <will.newton@linaro.org>
36007
36008 * sysdeps/arm/bits/atomic.h
36009 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36010 (__arch_compare_and_exchange_bool_16_int): Likewise.
36011 (__arch_compare_and_exchange_bool_64_int): Likewise.
36012
36013 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36014 into an #else block.
36015
36016 2014-07-16 Roland McGrath <roland@hack.frob.com>
36017
36018 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36019 just Linux configurations. Test empirically that the compiler sets
36020 __ARM_EABI__, rather than using the tuple to decide.
36021 * sysdeps/arm/preconfigure: Regenerated.
36022 * sysdeps/unix/sysv/linux/arm/configure: File removed.
36023 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36024 contents appended ...
36025 * sysdeps/arm/configure.ac: ... here.
36026 * sysdeps/arm/configure: Regenerated.
36027
36028 2014-07-15 Roland McGrath <roland@hack.frob.com>
36029
36030 * nptl/pthread_kill.c: New file.
36031 * nptl/pthread_sigmask.c: New file.
36032 * nptl/pthread_sigqueue.c: New file.
36033
36034 * sysdeps/nptl/lowlevellock.h: New file.
36035 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36036 * sysdeps/nptl/lowlevellock-futex.h: New file.
36037
36038 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36039 Remove dead declarations.
36040
36041 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
36042
36043 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36044 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36045 config-cflags-avx2.
36046 * sysdeps/x86_64/configure.ac: Likewise.
36047 * sysdeps/i386/configure: Regenerated.
36048 * sysdeps/x86_64/configure: Likewise.
36049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36050 memset-avx2 only if config-cflags-avx2 is yes.
36051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36052 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36053 defined.
36054 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36055 only if HAVE_AVX2_SUPPORT is defined.
36056 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36057
36058 2014-07-14 Alan Modra <amodra@gmail.com>
36059
36060 [BZ #17153]
36061 * elf/elf.h (DT_PPC64_NUM): Correct value.
36062 * NEWS: Add to fixed bug list.
36063
36064 2014-07-13 Jim Meyering <meyering@fb.com>
36065
36066 [BZ 17150]
36067 regex: don't deref NULL upon heap allocation failure
36068 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36069 failure in one more place.
36070 To trigger the segfault, configure grep -with-included-regex,
36071 build it, and run these commands:
36072 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36073
36074 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
36075
36076 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36077
36078 2014-07-11 Richard Henderson <rth@redhat.com>
36079
36080 * sysdeps/aarch64/libm-test-ulps: Update.
36081
36082 2014-07-10 Florian Weimer <fweimer@redhat.com>
36083
36084 [BZ #17135]
36085 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36086 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36087 (__nptl_setxid): Initialize error member. Call
36088 __nptl_setxid_error.
36089 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36090 * nptl/descr.h (struct xid_command): Add error member.
36091 * nptl/tst-setuid3.c: New file.
36092 * nptl/Makefile (tests): Add it.
36093
36094 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36095
36096 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36097 New define.
36098 (__lll_trylock): Use __lll_base_trylock.
36099 (__lll_cond_trylock): Likewise.
36100
36101 2014-07-10 Roland McGrath <roland@hack.frob.com>
36102
36103 * nptl/pthread_create.c (start_thread): Use atomic_or and
36104 lll_futex_wake directly rather than lll_robust_dead.
36105 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36106 (lll_robust_dead): Macro removed.
36107 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36108 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36109 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36110 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36111 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36112 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36113 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36114 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36115 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36116 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36117 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36118 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36119 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36120 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36121 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36122
36123 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36124 Use atomic_compare_and_exchange_val_acq directly rather than
36125 lll_robust_trylock.
36126 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36127 (__lll_robust_trylock, lll_robust_trylock): Removed.
36128 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36129 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36130 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36131 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36132 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36133 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36134 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36135 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36136 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36137 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36138 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36139 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36140 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36141 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36142
36143 2014-07-02 Florian Weimer <fweimer@redhat.com>
36144
36145 * manual/locale.texi (Locale Names): New section documenting
36146 locale name syntax. Adjust menu and node chaining accordingly.
36147 (Choosing Locale): Reference Locale Names, Locale Categories.
36148 Mention setting LC_ALL=C. Reflect that name syntax is now
36149 documented.
36150 (Locale Categories): New section title. Reference Locale Names.
36151 LC_ALL is an environment variable, but not a category.
36152 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36153 description, now in Locale Name. Reference that section. Locale
36154 name syntax is now documented.
36155
36156 2014-07-02 Florian Weimer <fweimer@redhat.com>
36157
36158 [BZ #17137]
36159 * locale/findlocale.c (name_present, valid_locale_name): New
36160 functions.
36161 (_nl_find_locale): Use the loc_name variable to store name
36162 candidates. Call name_present and valid_locale_name to check and
36163 validate locale names. Return an error if the locale is invalid.
36164
36165 2014-07-02 Florian Weimer <fweimer@redhat.com>
36166
36167 * locale/setlocale.c (setlocale): Use strdup for allocating
36168 composite name copy.
36169
36170 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36171
36172 Sync up with gnulib.
36173 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36174 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36175 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36176 and _GL_ARG_NONNULL.
36177 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36178 [!_LIBC]: Include code for Windows and Cygwin.
36179 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36180 Include prototype for int strerror_r.
36181 [!_LIBC] (is_open): New function.
36182 (flush_stdout): New function.
36183 (print_errno_message): Use it.
36184 (error): Likewise.
36185 (error_at_line): Likewise.
36186 (error_tail) Add function attribute macros. Use
36187 __builtin_expect.
36188
36189 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36190
36191 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36192
36193 * io/ftw.c: Include sys/param.h unconditionally.
36194
36195 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36196
36197 [BZ #17125]
36198 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36199 libc_freeres_ptr.
36200 (freecache): New function to free CACHE on exit.
36201
36202 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36203 initialization.
36204
36205 2014-07-09 David S. Miller <davem@davemloft.net>
36206
36207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36208
36209 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36210 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36211 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36212 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36213 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36214 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36215 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36216 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36217 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36218 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36219 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36220 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36221 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36222
36223 2014-07-09 Andreas Schwab <schwab@suse.de>
36224
36225 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36226 output.
36227 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36228 (do_test): Likewise.
36229
36230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36231
36232 2014-07-09 Will Newton <will.newton@linaro.org>
36233
36234 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36235 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36236 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36237 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36238 * sysdeps/hppa/start.S (_start): Likewise.
36239
36240 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36241
36242 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36243
36244 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36245 defined.
36246
36247 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36248
36249 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36250 after checking that it is non-NULL.
36251
36252 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36253
36254 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36255
36256 * sysdeps/powerpc/memmove.c: Remove file.
36257 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36258 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36259 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36260 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36262 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36263 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36264 string memmove instead of removed powerpc one.
36265
36266 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36267 [weak_alias]: Fix compiler warning due trailing data.
36268 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36269 [weak_alias]: Likewise.
36270 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36271 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36272
36273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36274 (__libc_ifunc_impl_list): Add memmove functions.
36275
36276 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36277
36278 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36279 Remove code.
36280 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36281 Likewise.
36282 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36283 Likewise.
36284 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36285 Likewise.
36286 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36287 Likewise.
36288 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36289 Likewise.
36290 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36291 Likewise.
36292 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36293 Likewise.
36294 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36295 Likewise.
36296 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36297 Likewise.
36298 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36299 Likewise.
36300 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36301 Likewise.
36302 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36303 Likewise.
36304 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36305 Likewise.
36306 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36307 Likewise.
36308 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36309 Likewise.
36310 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36311 Likewise.
36312
36313 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36314
36315 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36316 to avoid alignment traps in non-cacheable memory.
36317 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36318
36319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36320 multiarch objects.
36321 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36322 file: multiarch power7 memmove.
36323 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36324 multiarch default memmove.
36325 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36326 multiarch memove for powerpc32/power4.
36327
36328 * string/bcopy.c: Use full path to include memmove.c.
36329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36330 multiarch objects.
36331 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36332 bcopy for powerpc64.
36333 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36334 bcopy for powerpc64.
36335 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36336 and memmove implementations.
36337 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36338 optimized multiarch memmove for POWER7/powerpc64.
36339 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36340 default multiarch memmove for powerpc64.
36341 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36342 multiarch for powerpc64.
36343 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36344 for POWER7/powerpc64.
36345 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36346 memmove for POWER7/powerpc64.
36347
36348 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36349 glibc default one.
36350
36351 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36352 __ELF_NATIVE_CLASS equal to 64.
36353
36354 2014-07-07 Roland McGrath <roland@hack.frob.com>
36355
36356 * sysdeps/nptl/lowlevellock.h: File removed.
36357
36358 * NEWS: NPTL is no longer an add-on!
36359 * nptl/internaltypes.h: Moved ...
36360 * sysdeps/nptl/internaltypes.h: ... here.
36361 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36362 * sysdeps/nptl/fork.c: Likewise.
36363 * sysdeps/nptl/gai_misc.h: Likewise.
36364 * sysdeps/nptl/librt-cancellation.c: Likewise.
36365 * sysdeps/nptl/jmp-unwind.c: Likewise.
36366 * sysdeps/nptl/setxid.h: Likewise.
36367 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36368 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36369 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36370 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36371 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36372 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36373 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36374 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36375 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36376 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36377 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36378 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36379 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36380 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36381 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36382 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36383 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36384 * nptl/Makeconfig: Moved ...
36385 * sysdeps/nptl/Makeconfig: ... here.
36386 * nptl/configure: File removed.
36387 * nptl/ANNOUNCE: File removed.
36388 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36389 * sysdeps/unix/sysv/linux/configure: Regenerated.
36390
36391 * nptl/Makefile (routines): Add libc_pthread_init,
36392 libc_multiple_threads, register-atfork and unregister-atfork.
36393 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36394 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36395 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36396 pthread-pi-defines.sym, structsem.sym.
36397 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36398 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36399 [$(subdir) = nptl] (tests): Add tst-setgetname.
36400 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36401 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36402 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36403 [!LIBC_SIGACTION]: Remove aliases.
36404 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36405 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36406 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36407 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36408 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36409 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36410 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36411 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36412 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36413 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36414 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36415 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36416 __libc_allocate_rtsig_private.
36417 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36418 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36419 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36420 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36421 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36422 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36423 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36424 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36425 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36426 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36427 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36428 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36429 * nptl/internaltypes.h: ... here.
36430 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36431 * sysdeps/nptl/jmp-unwind.c: ... here.
36432 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36433 * nptl/libc-lowlevellock.c: ... here.
36434 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36435 * nptl/libc_multiple_threads.c: ... here.
36436 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36437 * nptl/libc_pthread_init.c: ... here.
36438 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36439 * nptl/lowlevelbarrier.sym: ... here.
36440 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36441 * nptl/lowlevelcond.sym: ... here.
36442 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36443 * nptl/lowlevellock.c: ... here.
36444 * nptl/lowlevellock.h: Moved ...
36445 * sysdeps/nptl/lowlevellock.h: ... here.
36446 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36447 * nptl/lowlevelrobustlock.c: ... here.
36448 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36449 * nptl/lowlevelrobustlock.sym: ... here.
36450 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36451 * nptl/lowlevelrwlock.sym: ... here.
36452 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36453 * nptl/pt-fork.c: ... here.
36454 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36455 * nptl/pthread-pi-defines.sym: ... here.
36456 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36457 * nptl/pthread_attr_getaffinity.c: ... here.
36458 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36459 * nptl/pthread_attr_setaffinity.c: ... here.
36460 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36461 * nptl/pthread_mutex_cond_lock.c: ... here.
36462 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36463 Update #include.
36464 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36465 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36466 * nptl/pthread_once.c: ... here, replacing old file.
36467 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36468 * nptl/pthread_yield.c: ... here.
36469 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36470 * nptl/register-atfork.c: ... here.
36471 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36472 * nptl/sem_post.c: ... here.
36473 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36474 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36475 * nptl/sem_timedwait.c: ... here.
36476 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36477 * nptl/sem_trywait.c: ... here.
36478 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36479 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36480 * nptl/sem_wait.c: ... here.
36481 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36482 * nptl/structsem.sym: ... here.
36483 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36484 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36485 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36486 * nptl/unregister-atfork.c: ... here.
36487 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36488 * nptl/unwindbuf.sym: ... here.
36489 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36490 * sysdeps/nptl/fork.c: ... here.
36491 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36492 * sysdeps/nptl/fork.h: ... here.
36493 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36494 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36495 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36496 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36497 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36498 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36499 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36500 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36501 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36502 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36503 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36504 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36505 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36506 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36507 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36508 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36509 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36510 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36511 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36512 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36513 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36514 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36515 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36516 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36517 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36518 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36519 * sysdeps/unix/sysv/linux/raise.c: ... here.
36520 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36521 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36522 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36523 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36524 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36525 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36526 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36527 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36528 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36529 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36530 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36531 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36532 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36533 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36534 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36535
36536 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36537
36538 * sysdeps/generic/memcopy.h: Add comment for
36539 MEMCPY_OK_FOR_FWD_MEMMOVE.
36540
36541 2014-07-04 Will Newton <will.newton@linaro.org>
36542
36543 * string/memchr.c: Merge from gnulib.
36544 [_LIBC]: Remove conditionals.
36545 (__ptr_t): Remove define.
36546 (LONG_MAX_32_BITS): Likewise.
36547 (LONG_MAX): Likewise.
36548 (MEMCHR): Use ANSI prototype and optimize algorithm.
36549
36550 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36551
36552 2014-07-03 Roland McGrath <roland@hack.frob.com>
36553
36554 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36555 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36556
36557 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36558 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36559 in a bare environment with no <stdlib.h> installed.
36560 * sysdeps/nptl/configure: Regenerated.
36561
36562 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36563
36564 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36565 AC_EGREP_CPP for kernel header checks, so they only succeed if
36566 including <linux/version.h> actually works right.
36567 * sysdeps/unix/sysv/linux/configure: Regenerated.
36568
36569 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36570 value so it's not diagnosed as unused.
36571
36572 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36573 thing) with "ifeq ($(subdir),rt)".
36574
36575 2014-07-03 Richard Henderson <rth@redhat.com>
36576
36577 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36578 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36579 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36580
36581 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36582 (math_force_eval): New.
36583
36584 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36585 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36586
36587 * sysdeps/alpha/fpu/s_round.c: Remove file.
36588 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36589
36590 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36591 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36592 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36593 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36594 (_dl_start, print_statistics): Likewise.
36595 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36596 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36597
36598 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36599 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36600 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36601 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36603 (HP_SMALL_TIMING_AVAIL): Define.
36604 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36606 (HP_SMALL_TIMING_AVAIL): Define.
36607 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36608 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36609
36610 * sysdeps/aarch64/hp-timing.h: New file.
36611
36612 * sysdeps/generic/hp-timing.h: Remove dead comment.
36613 * sysdeps/generic/hp-timing-common.h: New file.
36614 * sysdeps/alpha/hp-timing.h: Include it.
36615 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36616 * sysdeps/i386/i686/hp-timing.h: Likewise.
36617 * sysdeps/ia64/hp-timing.h: Likewise.
36618 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36619 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36620 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36621 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36622 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36623 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36624 (hp_timing_t): New.
36625
36626 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36627 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36628 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36629 * elf/rtld.c (_dl_start_final): Likewise.
36630 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36631 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36632 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36633 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36634 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36636 (HP_TIMING_DIFF_INIT): Remove.
36637 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36638 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36639 (HP_TIMING_DIFF_INIT): Remove.
36640 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36641 * sysdeps/i386/i686/hp-timing.c: Remove file.
36642 * sysdeps/x86_64/hp-timing.c: Remove file.
36643 * sysdeps/ia64/hp-timing.c: Remove file.
36644 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36645 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36647 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36648
36649 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36650 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36651 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36652 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36653 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36654 (HP_TIMING_ACCUM): Remove.
36655 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36656 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36657 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36658
36659 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36660 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36661 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36662 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36663 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36664 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36665 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36666 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36667
36668 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36669
36670 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36671
36672 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36673
36674 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36675
36676 Sync up with gettext.
36677 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36678 [_MSC_VER]: Include malloc.h
36679 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36680 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36681 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36682 TEMP_FAILURE_RETRY. Cast return of alloca.
36683 [!_LIBC] Call gl_rwlock_init.
36684 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36685
36686 2014-07-02 Roland McGrath <roland@hack.frob.com>
36687
36688 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36689 before checking its value.
36690
36691 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36692
36693 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36694
36695 * debug/memcpy_chk.c: Don't include pagecopy.h.
36696 * debug/mempcpy_chk.c: Likewise.
36697 * string/memcpy.c: Likewise.
36698 * string/memmove.c: Likewise.
36699 * sysdeps/powerpc/memmove.c: Likewise.
36700 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36701 definition of PAGE_COPY_FWD_MAYBE here...
36702 * sysdeps/generic/pagecopy.h: ... from here.
36703 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36704
36705 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36706 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36707
36708 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36710 optimizations.
36711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36712 (__libc_ifunc_impl_list): Likewise.
36713 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36714 multiarch strcat for PPC64.
36715 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36716 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36717
36718 2014-07-02 Roland McGrath <roland@hack.frob.com>
36719
36720 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36721
36722 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36723
36724 * intl/loadmsgcat.c: Remove declaration of
36725 get_sysdep_segment_value.
36726 (get_sysdep_segment_value): Use ISO C style.
36727 (_nl_load_domain): Use ISO C style. Get rid of redundant
36728 semicolon. Fix typo and formatting in comment.
36729 (_nl_unload_domain): Use ISO C style.
36730
36731 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36732
36733 2014-07-02 Will Newton <will.newton@linaro.org>
36734
36735 * malloc/obstack.c: Merge from gnulib master.
36736 [HAVE_CONFIG_H]: Remove conditional code.
36737 [!_LIBC]: Include config.h.
36738 [!ELIDE_CODE]: Don't include inttypes.h, include
36739 stdint.h unconditionally.
36740 (print_and_abort): Mark as _Noreturn.
36741 (_obstack_allocated_p): Mark as __attribute_pure__.
36742 (obstack_free): Rename to __obstack_free.
36743 [!__attribute__]: Remove conditional code.
36744 * malloc/obstack.h: Merge from gnulib master.
36745 [__cplusplus]: Move conditional down.
36746 [!__attribute_pure__]: Define __attribute_pure__ here
36747 if it is not already defined.
36748 (_obstack_memory_used): Mark as __attribute_pure__.
36749 [!__obstack_free]: Define as obstack_free.
36750 [__GNUC__]: Remove check for ancient NeXT gcc.
36751
36752 2014-07-02 Will Newton <will.newton@linaro.org>
36753 Paul Eggert <eggert@cs.ucla.edu>
36754
36755 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36756
36757 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36758
36759 * resolv/gethnamaddr.c: Add comment warning that the file is
36760 not maintained.
36761
36762 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36763
36764 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36765 entries.
36766
36767 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36768 entry for aio_cancel and aio_cancel64.
36769 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36770 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36771 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36772 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36773 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36774 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36775 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36776 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36777 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36778 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36779 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36780 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36781 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36782
36783 2014-07-01 Roland McGrath <roland@hack.frob.com>
36784
36785 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36786 * nptl/pthread_mutex_lock.c: Likewise.
36787 * nptl/pthread_mutex_timedlock.c: Likewise.
36788 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36789
36790 2014-07-01 Richard henderson <rth@redhat.com>
36791
36792 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36793 (__isnan, __isnanl): Remove.
36794 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36795
36796 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36797
36798 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36799
36800 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36801
36802 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36803
36804 * resolv/nss_dns/dns-host.c (getanswer_r)
36805 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36806
36807 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36808
36809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36810 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36811 undefine.
36812 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36813 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36814
36815 2014-07-01 Roland McGrath <roland@hack.frob.com>
36816
36817 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36818 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36819
36820 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36821 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36822
36823 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36824 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36825 ... here.
36826 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36827 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36828
36829 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36830 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36831 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36832 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36833
36834 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36835 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36836 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36837 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36838 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36839 Moved ...
36840 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36841 ... here.
36842 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36843 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36844 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36845 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36846 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36847 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36848 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36849 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36850 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36851 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36852 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36853 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36854 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36855 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36856 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36857 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36858 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36859 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36860 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36861 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36862 ... here.
36863 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36864 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36865 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36866 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36867 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36868 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36869 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36870 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36871
36872 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36873
36874 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36875 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36876 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36877 Add sysdep.
36878
36879 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36880
36881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36882
36883 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36884
36885 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36886 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36887
36888 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36889
36890 * sysdeps/arm/libm-test-ulps: Regenerated.
36891
36892 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36893 Roland McGrath <roland@hack.frob.com>
36894
36895 * test-skeleton.c (signal_handler): Kill the whole process group
36896 before killing the child individually.
36897 (main): Report any failure on `setpgid'.
36898
36899 2014-06-30 Roland McGrath <roland@hack.frob.com>
36900
36901 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36902 from _TLS_H to _ARM_NPTL_TLS_H.
36903 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36904 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36905
36906 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36907
36908 [BZ #16539]
36909 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36910 (__expm1l): Return argument unchanged when small but not
36911 subnormal.
36912
36913 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36914 include macro name.
36915 (_FP_UNPACK_RAW_1_P): Likewise.
36916 (_FP_PACK_RAW_1): Likewise.
36917 (_FP_PACK_RAW_1_P): Likewise.
36918 (_FP_MUL_MEAT_1_wide): Likewise.
36919 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36920 (_FP_MUL_MEAT_1_hard): Likewise.
36921 (_FP_DIV_MEAT_1_imm): Likewise.
36922 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36923 (_FP_DIV_MEAT_1_udiv): Likewise.
36924 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36925 (_FP_UNPACK_RAW_2): Likewise.
36926 (_FP_UNPACK_RAW_2_P): Likewise.
36927 (_FP_PACK_RAW_2): Likewise.
36928 (_FP_PACK_RAW_2_P): Likewise.
36929 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36930 (_FP_MUL_MEAT_2_wide): Likewise.
36931 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36932 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36933 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36934 (_FP_MUL_MEAT_2_gmp): Likewise.
36935 (_FP_DIV_MEAT_2_udiv): Likewise.
36936 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36937 (_FP_FRAC_SRL_4): Likewise.
36938 (_FP_FRAC_SRST_4): Likewise.
36939 (_FP_FRAC_SRS_4): Likewise.
36940 (_FP_UNPACK_RAW_4): Likewise.
36941 (_FP_UNPACK_RAW_4_P): Likewise.
36942 (_FP_PACK_RAW_4): Likewise.
36943 (_FP_PACK_RAW_4_P): Likewise.
36944 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36945 (_FP_MUL_MEAT_4_wide): Likewise.
36946 (_FP_MUL_MEAT_4_gmp): Likewise.
36947 (umul_ppppmnnn): Likewise.
36948 (_FP_DIV_MEAT_4_udiv): Likewise.
36949 (__FP_FRAC_ADD_4): Likewise.
36950 (__FP_FRAC_SUB_3): Likewise.
36951 (__FP_FRAC_SUB_4): Likewise.
36952 (__FP_FRAC_DEC_3): Likewise.
36953 (__FP_FRAC_DEC_4): Likewise.
36954 (__FP_FRAC_ADDI_4): Likewise.
36955 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36956 (_FP_FRAC_SRL_8): Likewise.
36957 (_FP_FRAC_SRS_8): Likewise.
36958
36959 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36960 include macro name.
36961 (FP_UNPACK_RAW_EP): Likewise.
36962 (FP_PACK_RAW_E): Likewise.
36963 (FP_PACK_RAW_EP): Likewise.
36964 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36965 (_FP_ISSIGNAN): Likewise.
36966 (_FP_ADD_INTERNAL): Likewise.
36967 (_FP_FMA): Likewise.
36968 (_FP_CMP): Likewise.
36969 (_FP_SQRT): Likewise.
36970 (_FP_TO_INT): Likewise.
36971 (_FP_FROM_INT): Likewise.
36972 (FP_EXTEND): Likewise.
36973 (_FP_DIV_MEAT_N_loop): Likewise.
36974
36975 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36976
36977 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36978 throughout.
36979
36980 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36981
36982 [BZ #17097]
36983 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36984 result with correct sign in case of exponents that produce
36985 overflow except for X very close to 1.
36986
36987 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
36988
36989 mktime: merge #if/#ifdef usage from glibc
36990 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36991 as that works with both Glibc's and Gnulib's style.
36992 See thread starting at Siddhesh Poyarekar's bug report at:
36993 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36994
36995 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36996
36997 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36998 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36999 * sysdeps/tile/tilegx/memmove.c: Remove file.
37000
37001 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37002
37003 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37004 abi-name definition.
37005 * scripts/soversions.awk: Do not handle or generate ABI lines.
37006 * shlib-versions: Remove ABI entries.
37007 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37008 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37009
37010 2014-06-27 Roland McGrath <roland@hack.frob.com>
37011
37012 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37013 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37014 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37015 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37016 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37017 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37018 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37019 Moved ...
37020 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37021 ... here.
37022 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37023 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37024 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37025 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37026 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37027 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37028 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37029 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37030 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37031 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37032 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37033 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37034 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37035 Moved ...
37036 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37037 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37038 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37039 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37040 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37041 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37042 Moved ...
37043 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37044 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37045 Moved ...
37046 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37047 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37048 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37049 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37050 Moved ...
37051 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37052 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37053 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37054 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37055 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37056 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37057 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37058 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37059 Moved ...
37060 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37061 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37062 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37063 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37064 Moved ...
37065 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37066 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37067 Moved ...
37068 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37069 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37070 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37072 Moved ...
37073 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37074 ... here.
37075 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37076 Identical file removed.
37077 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37078 Moved ...
37079 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37080 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37081 Identical file removed.
37082 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37083 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37084 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37085 Moved ...
37086 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37087 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37088 Identical file removed.
37089 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37090 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37091 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37092 Identical file removed.
37093 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37094 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37095 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37096 Identical file removed.
37097 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37098 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37099 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37100 Identical file removed.
37101 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37102 Moved ...
37103 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37104 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37105 Identical file removed.
37106 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37107 Moved ...
37108 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37109 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37110 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37111 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37112 Identical file removed.
37113 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37114 Moved ...
37115 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37116 ... here.
37117 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37118 Identical file removed.
37119 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37120 Moved ...
37121 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37122 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37123 Identical file removed.
37124 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37125 Moved ...
37126 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37127 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37128 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37129 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37130 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37132 Moved ...
37133 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37134 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37135 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37136
37137 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37138 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37139 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37140 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37141 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37142
37143 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37144
37145 [BZ #17092]
37146 * nscd/nscd.c (monitor_child): Return exit status of child
37147 instead of return value from wait syscall.
37148
37149 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37150
37151 * configure.ac (libc_commonpagesize): Remove variable.
37152 (libc_relro_required): Likewise.
37153 (libc_cv_z_relro): Remove configure test.
37154 * configure: Regenerated.
37155 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37156 variable.
37157 (libc_relro_required): Likewise.
37158 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37159 (libc_relro_required): Likewise.
37160 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37161 (libc_relro_required): Likewise.
37162 * sysdeps/arm/preconfigure: Regenerated.
37163 * sysdeps/ia64/preconfigure: Remove file.
37164 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37165 variable.
37166 (libc_relro_required): Likewise.
37167
37168 [BZ #16561]
37169 [BZ #16562]
37170 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37171 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37172 recompute overflowing results in original rounding mode.
37173 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37174 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37175 recompute overflowing results in original rounding mode.
37176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37177 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37178 recompute overflowing results in original rounding mode.
37179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37180 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37181 recompute overflowing results in original rounding mode.
37182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37183 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37184 recompute overflowing results in original rounding mode.
37185 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37186 (libc_feholdsetround_ctx): New macro.
37187 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37188 * sysdeps/i386/fpu/libm-test-ulps: Update.
37189 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37190
37191 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37192
37193 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37194 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37195 corresponding .cpsetup call.
37196
37197 2014-06-26 Roland McGrath <roland@hack.frob.com>
37198
37199 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37200 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37201 * sysdeps/arm/Makefile [$(subdir) = csu]
37202 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37203 (static-only-routines): Add aeabi_read_tp here.
37204 (shared-only-routines): Add libc-aeabi_read_tp here.
37205 (CFLAGS-libc-start.c): Add -fexceptions here.
37206 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37207 (sysdep_routines, static-only-routines, shared-only-routines):
37208 Don't add to these here.
37209 (CFLAGS-libc-start.c): Likewise.
37210
37211 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37212 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37213 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37214 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37215 * sysdeps/arm/Makefile [$(subdir) = rt]
37216 (librt-sysdep_routines, librt-shared-only-routines):
37217 Append rt-aeabi_unwind_cpp_pr1 here.
37218 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37219 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37220 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37221 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37222 Append nptl-aeabi_unwind_cpp_pr1 here.
37223 (tests): Filter out tst-cleanupx4 here.
37224 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37225 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37226 Don't do those here.
37227
37228 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37229
37230 * scripts/list-sources.sh: Do not handle ports specially.
37231
37232 2014-06-26 Roland McGrath <roland@hack.frob.com>
37233
37234 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37235 * sysdeps/arm/feupdateenv.c: Likewise.
37236
37237 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37238
37239 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37240
37241 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37242 trailing whitespace removed.
37243 * scripts/config.guess: Update to version 2014-03-23.
37244 * scripts/config.sub: Update to version 2014-05-01
37245 * scripts/install-sh: Update to version 2013-12-25.23.
37246 * scripts/move-if-change: Update from gnulib.
37247
37248 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37249
37250 * debug/memmove_chk.c: Remove pagecopy.h include.
37251
37252 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37253
37254 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37255 identical to gnulib mktime.
37256
37257 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37258
37259 * configure.ac: Do not test for machine being rs6000. Do not test
37260 for powerpc*-*soft.
37261 * configure: Regenerated.
37262
37263 [BZ #11505]
37264 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37265 test.
37266 * configure: Regenerated.
37267 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37268 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37269 Remove configure test.
37270 * sysdeps/arm/configure: Regenerated.
37271 * sysdeps/nptl/configure.ac: Do not check
37272 libc_cv_asm_cfi_directives.
37273 * sysdeps/nptl/configure: Regenerated.
37274 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37275 * sysdeps/x86_64/nptl/configure: Remove generated file.
37276 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37277 unconditional.
37278 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37279
37280 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37281
37282 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37283 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37284 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37285 it is defined.
37286
37287 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37288 instead of whether it is defined.
37289 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37290 * sysdeps/hppa/dl-machine.h: Likewise.
37291 * sysdeps/ia64/dl-machine.h: Likewise.
37292 * sysdeps/m68k/dl-machine.h: Likewise.
37293 * sysdeps/microblaze/dl-machine.h: Likewise.
37294 * sysdeps/mips/dl-machine.: Likewise.
37295 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37296 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37297 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37298 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37299 * sysdeps/sh/dl-machine.h: Likewise.
37300 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37301 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37302 * sysdeps/tile/dl-machine.h: Likewise.
37303 * sysdeps/x86_64/dl-machine.h: Likewise.
37304
37305 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37306 code.
37307 (verify_persistent_db): Likewise.
37308
37309 2014-06-26 Roland McGrath <roland@hack.frob.com>
37310
37311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37312 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37314 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37316 Moved ...
37317 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37318 ... here.
37319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37320 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37322 Identical file removed.
37323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37324 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37326 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37328 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37330 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37332 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37334 Moved ...
37335 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37337 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37339 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37341 Moved ...
37342 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37344 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37346 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37348 Identical file removed.
37349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37350 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37352 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37354 Moved ...
37355 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37356 ... here.
37357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37360 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37362 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37364 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37366 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37368 Moved ...
37369 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37371 Moved ...
37372 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37374 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37376 Moved ...
37377 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37379 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37380
37381 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37382 folded into ...
37383 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37384 * sysdeps/unix/sysv/linux/s390/Versions
37385 (libpthread: GLIBC_2.19): New version set.
37386 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37387 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37388 (librt: GLIBC_2.3.3): New version set.
37389 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37390 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37391 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37392 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37393 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37394 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37395 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37396 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37397 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37398 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37399 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37400 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37401 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37402 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37403 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37404 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37405 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37406 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37407 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37408 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37409 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37410 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37411 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37412 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37413 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37414 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37415 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37417 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37419 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37420 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37422 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37423 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37424 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37425 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37426 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37427 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37428 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37429 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37430 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37431 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37432 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37433 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37434
37435 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37436 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37437 (__libc_vfork): Define the function under this name.
37438 [!NOT_IN_libc] (__vfork): Make this an alias.
37439 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37441 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37442 (__libc_vfork): Define the function under this name.
37443 [!NOT_IN_libc] (__vfork): Make this an alias.
37444 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37445 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37446 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37447 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37448 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37449 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37450
37451 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37452 code that was previously under [RESET_PID].
37453 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37454 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37456
37457 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37458 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37459 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37460 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37461 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37462 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37463 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37464 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37465 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37466 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37467 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37468 Moved ...
37469 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37470 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37471 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37472 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37473 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37474 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37475 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37476 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37477 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37478 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37479 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37480 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37481 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37482 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37483 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37484 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37485 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37486 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37487 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37488 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37489 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37490 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37491 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37492 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37493 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37494 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37495 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37496 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37497 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37498
37499 2014-06-25 Roland McGrath <roland@hack.frob.com>
37500
37501 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37502 that was previously under [RESET_PID].
37503 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37504
37505 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37506
37507 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37508 not undefine and redefine.
37509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37510 [O_CLOEXEC]: Make code unconditional.
37511 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37512 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37513 <kernel-features.h>.
37514 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37515 conditional variable definition.
37516 (shm_open) [O_CLOEXEC]: Make code unconditional.
37517 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37518 code.
37519
37520 * configure.ac (USE_REGPARMS): Don't define here.
37521 * configure: Regenerated.
37522 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37523 * sysdeps/i386/configure: Regenerated.
37524
37525 * nptl/createthread.c: Don't include kernel-features.h.
37526 * nptl/pthread_cancel.c: Likewise.
37527 * nptl/pthread_condattr_setclock.c: Likewise.
37528 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37529 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37530 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37531 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37532 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37533 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37534 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37535 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37537 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37538 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37539 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37540 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37541 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37542 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37543 * nscd/gai.c: Likewise.
37544 * nss/nss_db/db-open.c: Likewise.
37545 * sysdeps/generic/ldsodefs.h: Likewise.
37546 * sysdeps/sh/nptl/tls.h: Likewise.
37547 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37548 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37549 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37550 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37551 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37552 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37553 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37554 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37555 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37556 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37557 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37558 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37559 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37560 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37561 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37562 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37563 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37564 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37565 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37566 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37567 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37568 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37569 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37570 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37571 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37572 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37573 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37574 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37575 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37576 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37577 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37578 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37579 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37580 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37581 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37582 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37583 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37584 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37585 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37586 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37587 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37588 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37589 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37590 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37591 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37592 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37593 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37594 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37595 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37596 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37597 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37598 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37599 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37600 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37601 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37602 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37603 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37604 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37627 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37628 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37629 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37630 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37631 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37632 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37633 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37634 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37635 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37636 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37637 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37638 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37639 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37640 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37641 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37642 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37643 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37644 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37645 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37646 * sysdeps/unix/sysv/linux/system.c: Likewise.
37647 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37648 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37649 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37650 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37651 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37652 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37653 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37654
37655 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37656 * configure: Regenerated.
37657 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37658
37659 * configure.ac (base_machine): Do not set specially for particular
37660 machines here.
37661 * configure: Regenerated.
37662 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37663 settings from configure.ac.
37664 * sysdeps/i386/preconfigure: New file.
37665 * sysdeps/s390/preconfigure: Likewise.
37666 * sysdeps/sh/preconfigure: Likewise.
37667 * sysdeps/sparc/preconfigure: Likewise.
37668
37669 2014-06-25 Roland McGrath <roland@hack.frob.com>
37670
37671 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37672 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37673 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37674 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37675 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37676 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37677 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37678 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37679 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37680 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37681 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37682 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37683 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37684 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37685 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37686 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37687 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37688 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37689 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37690
37691 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37692 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37693 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37694 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37695 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37696 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37697 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37698 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37699 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37700 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37701 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37702 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37703 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37704 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37705 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37706 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37707 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37708 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37709 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37710 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37711 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37712 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37713 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37714 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37715 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37716 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37717 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37718 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37719 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37720 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37721 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37722 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37723 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37724 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37725 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37726 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37727 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37728 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37729
37730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37731 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37733 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37735 Moved ...
37736 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37737 ... here.
37738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37743 Moved ...
37744 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37746 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37748 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37750 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37752 Moved ...
37753 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37755 Moved ...
37756 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37758 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37760 Moved ...
37761 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37763 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37765 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37767 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37769 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37771 Moved ...
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37773 ... here.
37774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37775 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37777 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37779 Moved ...
37780 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37782 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37784 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37786 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37788 Moved ...
37789 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37791 Moved ...
37792 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37794 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37796 Moved ...
37797 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37801 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37802
37803 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37804
37805 * timezone/checktab.awk: Update from tzcode 2014e.
37806 * timezone/private.h: Likewise.
37807 * timezone/tzfile.h: Likewise.
37808 * timezone/zdump.c: Likewise.
37809 * timezone/zic.c: Likewise.
37810
37811 * sysdeps/unix/sysv/linux/kernel-features.h
37812 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37814 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37815 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37816 Remove conditional code.
37817
37818 2014-06-25 Will Newton <will.newton@linaro.org>
37819
37820 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37821 (_dl_arm_cap_flags): Add HWCAP2 values.
37822 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37823 (_DL_HWCAP_COUNT): Increase to 37.
37824 (_DL_HWCAP_LAST): New define.
37825 (_DL_HWCAP2_LAST): New define.
37826 (_dl_procinfo): Add support for printing
37827 AT_HWCAP2 entries.
37828 (_dl_string_hwcap): Use _dl_hwcap_string.
37829
37830 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37831
37832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37833
37834 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37835
37836 * README: Do not mention ports directory.
37837
37838 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37839 Remove macro.
37840 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37841 <kernel-features.h>.
37842 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37843 conditional variable definition.
37844 (__futimes): Update comment.
37845 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37846 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37847
37848 [BZ #16560]
37849 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37850 arguments close to 0.
37851 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37852 Likewise.
37853 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37854 Likewise.
37855 * math/auto-libm-test-in: Add more tests of exp10.
37856 * math/auto-libm-test-out: Regenerated.
37857 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37858
37859 * sysdeps/unix/sysv/linux/kernel-features.h
37860 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37861 * sysdeps/unix/sysv/linux/readv.c: Do not include
37862 <kernel-features.h>.
37863 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37864 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37865 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37866 unconditional.
37867 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37868 conditional code.
37869 * sysdeps/unix/sysv/linux/writev.c: Do not include
37870 <kernel-features.h>.
37871 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37872 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37873 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37874 unconditional.
37875 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37876 conditional code.
37877
37878 2014-06-25 Will Newton <will.newton@linaro.org>
37879
37880 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37881 comment changes throughout the file. Remove checks
37882 for HAVE_*_H definitions that are not required.
37883 (__gen_tempname): Call abort if an unknown kind value is
37884 passed.
37885
37886 2014-06-25 Andreas Schwab <schwab@suse.de>
37887
37888 [BZ #17086]
37889 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37890 scalbln, scalblnf, scalblnl in libc.
37891
37892 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37893
37894 [BZ #17086]
37895 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37896 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37897 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37898
37899 2014-06-24 Roland McGrath <roland@hack.frob.com>
37900
37901 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37902 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37903 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37904 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37905 Update #include.
37906 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37907 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37908 Update #include.
37909 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37910 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37911 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37912 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37913 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37914 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37915 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37916 * sysdeps/x86/bits/semaphore.h: ... here.
37917 * sysdeps/x86/nptl/elide.h: Moved ...
37918 * sysdeps/x86/elide.h: ... here.
37919 * sysdeps/x86_64/nptl/Implies: File removed.
37920 * sysdeps/i386/nptl/Implies: File removed.
37921
37922 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37923
37924 [BZ #16539]
37925 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37926 return the argument for normal arguments with exponent below -64.
37927 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37928 Likewise.
37929 * math/auto-libm-test-in: Add another test of expm1.
37930 * math/auto-libm-test-out: Regenerated.
37931
37932 [BZ #16287]
37933 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37934 calling __erfcl for arguments at least 16.
37935 * math/auto-libm-test-in: Add more tests of erf.
37936 * math/auto-libm-test-out: Regenerated.
37937
37938 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37939 individual architectures.
37940 * sysdeps/unix/sysv/linux/configure: Regenerated.
37941 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37942 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37943 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37944 (ldd_rewrite_script): Define variable.
37945 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37947 file.
37948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37949 generated file.
37950 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37951 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37952 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37953 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37954 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37955 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37956 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37957 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37958
37959 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37960
37961 [BZ #17084]
37962 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37963 Rename member __data.d to __data.__elision_data.
37964
37965 2014-06-24 Wilco <wdijkstr@arm.com>
37966
37967 * NEWS: Add 16918 to fixed bug list.
37968
37969 2014-06-24 Wilco <wdijkstr@arm.com>
37970
37971 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37972
37973 2014-06-24 Wilco <wdijkstr@arm.com>
37974
37975 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37976 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37977 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37978 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37979 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37980 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37981 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37982 Use _FPU_MASK_RM.
37983
37984 2014-06-24 Wilco <wdijkstr@arm.com>
37985
37986 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37987
37988 2014-06-24 Wilco <wdijkstr@arm.com>
37989
37990 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37991 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37992 * sysdeps/arm/fesetround.c (fesetround): Remove space.
37993 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37994
37995 2014-06-24 Wilco <wdijkstr@arm.com>
37996
37997 [BZ #16918]
37998 * sysdeps/arm/feupdateenv.c (feupdateenv):
37999 Rewrite to reduce FPSCR accesses and fix return value.
38000
38001 2014-06-24 Wilco <wdijkstr@arm.com>
38002
38003 * sysdeps/arm/fclrexcpt.c (feclearexcept):
38004 Optimize to avoid unnecessary FPSCR writes.
38005 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38006 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38007 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38008 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38009
38010 2014-06-24 Wilco <wdijkstr@arm.com>
38011
38012 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38013 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38014 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38015 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38016 Call libc_fetestexcept_vfp.
38017 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38018 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38019 __SOFTFP__ ifdef so that they can be built for softfp.
38020
38021 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
38022
38023 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38024 argument type signed char.
38025
38026 * Makerules (check-abi): Dump diff of symlist if the test
38027 fails.
38028
38029 2014-06-23 Roland McGrath <roland@hack.frob.com>
38030
38031 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38032 using abort.
38033
38034 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38035 Remove unused variable ST.
38036
38037 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38038
38039 [BZ #16354]
38040 [BZ #17061]
38041 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38042 small arguments before calling __expm1.
38043 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38044 small arguments before calling __expm1f.
38045 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38046 small arguments before calling __expm1l.
38047 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38048 Likewise.
38049 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38050 * math/auto-libm-test-in: Add more cosh tests. Do not allow
38051 spurious underflow for some cosh tests.
38052 * math/auto-libm-test-out: Regenerated.
38053 * sysdeps/i386/fpu/libm-test-ulps: Update.
38054
38055 [BZ #17050]
38056 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38057 (__ieee754_y1): Set errno if return value overflows.
38058 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38059 (__ieee754_y1f): Set errno if return value overflows.
38060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38061 (__ieee754_y1l): Set errno if return value overflows.
38062 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38063 (__ieee754_y1l): Set errno if return value overflows.
38064 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38065 * math/auto-libm-test-out: Regenerated.
38066
38067 * math/gen-auto-libm-tests.c: Document use of
38068 ignore-zero-inf-sign.
38069 (input_flag_type): Add value flag_ignore_zero_inf_sign.
38070 (input_flags): Add ignore-zero-inf-sign.
38071 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38072 * math/gen-libm-test.pl (generate_testfile): Handle
38073 ignore-zero-inf-sign.
38074 * math/auto-libm-test-in: Mark some cpow tests with
38075 ignore-zero-inf-sign and some with xfail-rounding.
38076 * math/auto-libm-test-out: Regenerated.
38077 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38078 * sysdeps/i386/fpu/libm-test-ulps: Update.
38079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38080
38081 [BZ #16315]
38082 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38083 overflowing or underflowing operations take place with sign of
38084 result.
38085 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38086 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38087 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38088 (__ieee754_pow): Recompute overflowing and underflowing results in
38089 original rounding mode.
38090 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38091 (__powl_helper): Allow negative argument X and scale negated value
38092 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38093 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38094 overflowing or underflowing operations take place with sign of
38095 result.
38096 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38097 Include <math.h>.
38098 * math/auto-libm-test-in: Add more tests of pow.
38099 * math/auto-libm-test-out: Regenerated.
38100 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38101 (pow_tonearest_test_data): Remove.
38102 (pow_test_tonearest): Likewise.
38103 (pow_towardzero_test_data): Likewise.
38104 (pow_test_towardzero): Likewise.
38105 (pow_downward_test_data): Likewise.
38106 (pow_test_downward): Likewise.
38107 (pow_upward_test_data): Likewise.
38108 (pow_test_upward): Likewise.
38109 (main): Don't call removed functions.
38110 * sysdeps/i386/fpu/libm-test-ulps: Update.
38111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38112
38113 2014-06-23 Roland McGrath <roland@hack.frob.com>
38114
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38116 Moved ...
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38119 Moved ...
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38122 Moved ...
38123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38125 Moved ...
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38128 File removed.
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38130 File removed.
38131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38132 File removed.
38133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38134 File removed.
38135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38136 File removed.
38137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38138 File removed.
38139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38140 File removed.
38141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38142 File removed.
38143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38144 File removed.
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38146 File removed.
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38148 File removed.
38149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38150 File removed.
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38152 Moved ...
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38155 Moved ...
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38157 ... here.
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38159 Moved ...
38160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38162 Moved ...
38163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38165 Moved ...
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38168 Moved ...
38169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38171 Moved ...
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38174 Moved ...
38175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38177 Moved ...
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38181 ... here.
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38183 Moved ...
38184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38186 Moved ...
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38188 ... here.
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38190 Moved ...
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38192 ... here.
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38194 Moved ...
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38196 ... here.
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38198 Moved ...
38199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38201 Moved ...
38202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38206 Moved ...
38207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38208 ... here.
38209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38210 Moved ...
38211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38212 ... here.
38213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38214 Moved ...
38215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38217 Moved ...
38218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38220 Moved ...
38221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38223 Moved ...
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38226 Moved ...
38227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38228 ... here.
38229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38230 Moved ...
38231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38233 Moved ...
38234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38236 Moved ...
38237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38239 Moved ...
38240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38244 Moved ...
38245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38247 Moved ...
38248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38250 Moved ...
38251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38252 ... here.
38253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38254 Moved ...
38255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38256 ... here.
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38258 Moved ...
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38260 ... here.
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38262 Moved ...
38263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38265 Moved ...
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38268 Moved ...
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38271 Moved ...
38272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38273 ... here.
38274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38275 Moved ...
38276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38277 ... here.
38278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38279 Moved ...
38280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38281 ... here.
38282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38283 Moved ...
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38286 Moved ...
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38288
38289 2014-06-23 Will Newton <will.newton@linaro.org>
38290 Wilco <wdijkstr@arm.com>
38291
38292 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38293 implementation. Include get-rounding-mode.h.
38294 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38295 [!libc_feholdsetround_noex_ctx]: Define
38296 libc_feholdsetround_noex_ctx.
38297 [!libc_feholdsetround_noexf_ctx]: Define
38298 libc_feholdsetround_noexf_ctx.
38299 [!libc_feholdsetround_noexl_ctx]: Define
38300 libc_feholdsetround_noexl_ctx.
38301 (libc_feholdsetround_ctx): New function.
38302 (libc_feresetround_ctx): New function.
38303 (libc_feholdsetround_noex_ctx): New function.
38304 (libc_feresetround_noex_ctx): New function.
38305
38306 2014-06-23 Roland McGrath <roland@hack.frob.com>
38307
38308 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38309 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38310 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38311 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38312 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38313 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38314
38315 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38316 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38317 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38318 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38319 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38320 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38321 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38322 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38323 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38324 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38325 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38326 Moved ...
38327 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38328 ... here.
38329 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38330 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38332 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38334 Moved ...
38335 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38336 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38337 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38338 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38339 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38340 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38341 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38342 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38343 Moved ...
38344 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38345 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38346 Moved ...
38347 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38349 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38351 Moved ...
38352 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38353 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38354 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38355 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38356 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38357 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38358 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38359 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38360 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38361 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38362 Moved ...
38363 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38364 ... here.
38365 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38366 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38367 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38368 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38370 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38372 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38373 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38374 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38376 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38378 Moved ...
38379 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38380 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38381 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38382 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38383 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38384 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38385 Moved ...
38386 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38388 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38389 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38390 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38391
38392 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38393 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38394 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38395 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38396 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38397 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38398 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38399 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38400 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38401 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38402 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38403 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38404 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38405 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38406 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38407 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38408 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38409 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38410 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38411 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38412 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38413 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38414 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38415 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38416 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38417 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38418 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38419 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38420
38421 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38422
38423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38424 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38425 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38426 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38427 (IPV6_PMTUDISC_INTERFACE): Likewise.
38428 (IPV6_PMTUDISC_OMIT): Likewise.
38429
38430 2014-06-23 Andreas Schwab <schwab@suse.de>
38431
38432 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38433 Remove unused errout label.
38434
38435 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38436
38437 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38438 macro: hardware supports Vector Crypto instructions.
38439
38440 2014-06-23 Will Newton <will.newton@linaro.org>
38441
38442 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38443 rather than __builtin_expect.
38444
38445 * elf/dl-lookup.c (undefined_msg): Remove variable.
38446 (_dl_lookup_symbol_x): Replace undefined_msg with string
38447 literal.
38448
38449 * elf/dl-lookup.c (do_lookup_unique): New function.
38450 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38451 to a separate function.
38452
38453 2014-06-23 Andreas Schwab <schwab@suse.de>
38454
38455 [BZ #17079]
38456 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38457 before reading the next line.
38458
38459 2014-06-23 Will Newton <will.newton@linaro.org>
38460
38461 * test-skeleton.c (signal_handler): Use printf and %m
38462 rather than perror. Use printf rather than fprintf to
38463 stderr. Use puts rather than fputs to stderr.
38464 (main): Likewise.
38465
38466 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38467
38468 * nscd/nscd.c (thread_info_t): Remove typedef.
38469 (thread_info): Remove variable.
38470
38471 2014-06-21 Allan McRae <allan@archlinux.org>
38472
38473 * NEWS: Mention CVE-2014-4043.
38474
38475 2014-06-20 Roland McGrath <roland@hack.frob.com>
38476
38477 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38478 * nptl/smp.h: ... here.
38479
38480 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38481
38482 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38483 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38484 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38485 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38486
38487 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38488 * nptl/stack-aliasing.h: New file.
38489 * sysdeps/i386/i686/stack-aliasing.h: New file.
38490 * sysdeps/i386/i686/nptl/Makefile: File removed.
38491 * sysdeps/x86_64/stack-aliasing.h: New file.
38492 * sysdeps/x86_64/nptl/Makefile
38493 (CFLAGS-pthread_create.c): Variable removed.
38494
38495 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38496 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38497 old file.
38498 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38499 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38500 old file.
38501
38502 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38503
38504 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38505 (__ASSUME_SIGFRAME_V2): Remove macro.
38506 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38507 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38508 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38509 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38510 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38511 Declare as function. Remove conditional macro definitions.
38512 (__default_rt_sa_restorer): Likewise.
38513 (__default_sa_restorer_v1): Remove declaration.
38514 (__default_sa_restorer_v2): Likewise.
38515 (__default_rt_sa_restorer_v1): Likewise.
38516 (__default_rt_sa_restorer_v2): Likewise.
38517 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38518 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38519 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38520
38521 2014-06-20 Roland McGrath <roland@hack.frob.com>
38522
38523 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38524 (libpthread-routines): Add sysdep.
38525 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38526 * sysdeps/unix/sysv/linux/sparc/Versions
38527 (libpthread: GLIBC_2.3.3): New version set.
38528 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38529 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38530 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38531 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38532 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38533 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38534 Moved ...
38535 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38536 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38537 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38538 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38539 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38540 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38541 * sysdeps/sparc/nptl/sem_init.c: ... here.
38542 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38543 * sysdeps/sparc/nptl/sem_post.c: ... here.
38544 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38545 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38546 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38547 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38548 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38549 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38550 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38551 (libpthread-routines): Add cpu_relax.
38552 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38553 File removed.
38554 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38555 (librt: GLIBC_2.3.3): New version set.
38556 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38557 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38559 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38562 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38563 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38564 Moved ...
38565 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38567 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38568 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38569 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38571 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38572 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38573 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38574 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38575 Moved ...
38576 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38577 Update #include.
38578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38579 Moved ...
38580 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38581 Update #include.
38582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38583 Moved ...
38584 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38585 Update #include.
38586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38587 Moved ...
38588 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38589 Update #include.
38590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38591 Moved ...
38592 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38593 Update #include.
38594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38595 Moved ...
38596 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38597 Update #include.
38598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38599 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38601 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38605 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38607 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38609 Moved ...
38610 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38611 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38612 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38613 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38614 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38615
38616 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38617
38618 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38619 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38620 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38621 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38622 * nscd/nscd.c: Likewise.
38623 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38624 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38625 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38626 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38627
38628 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38629 <kernel-features.h>.
38630 (init_mq_netlink): Remove conditional have_sock_cloexec
38631 definitions. Remove code conditional on have_sock_cloexec < 0.
38632 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38633 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38634 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38635 <kernel-features.h>.
38636 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38637 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38638
38639 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38640
38641 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38642 Add tests for memset_chk and memset.
38643
38644 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38645 with AVX2_Usable.
38646
38647 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38648
38649 [BZ #16046]
38650 * elf/tst-dl-iter-static.c: New file.
38651 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38652
38653 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38654 error.
38655
38656 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38657
38658 * sysdeps/unix/sysv/linux/kernel-features.h
38659 (__ASSUME_F_GETOWN_EX): Remove macro.
38660 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38661 <kernel-features.h>.
38662 (miss_F_GETOWN_EX): Remove variable or macro.
38663 (do_fcntl): Do not check miss_F_GETOWN_EX.
38664 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38665
38666 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38667 Remove macro.
38668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38669 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38670 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38671
38672 * sysdeps/unix/sysv/linux/kernel-features.h
38673 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38674 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38675 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38676 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38677
38678 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38679
38680 [BZ #17075]
38681 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38682 Fix calculation of the symbol's value.
38683 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38684 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38685 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38686 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38687 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38688 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38689 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38690 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38691 (modules-names): Add `tst-armtlsdescmod',
38692 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38693 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38694 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38695 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38696 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38697 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38698 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38699 ($(objpfx)tst-armtlsdescloc): New dependency.
38700 ($(objpfx)tst-armtlsdescextnow): Likewise.
38701 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38702 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38703 TLS scheme support.
38704 * sysdeps/arm/configure: Regenerate.
38705
38706 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38707
38708 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38709 (__atfct_seterrno_2): Likewise.
38710 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38711 <kernel-features.h>.
38712 (__ASSUME_ATFCTS): Do not undefine and redefine.
38713 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38714 (__have_atfcts): Remove conditional definition.
38715 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38716 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38717 unreachable if [__ASSUME_ATFCTS].
38718 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38719 not undefine and redefine.
38720 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38721 <kernel-features.h>.
38722 (faccessat) [__NR_faccessat]: Make code unconditional.
38723 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38724 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38725 <kernel-features.h>.
38726 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38727 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38728 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38729 <kernel-features.h>.
38730 (fchownat) [__NR_fchownat]: Make code unconditional.
38731 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38732 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38733 <kernel-features.h>.
38734 (futimesat) [__NR_futimesat]: Make code unconditional.
38735 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38736 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38737 <kernel-features.h>.
38738 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38739 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38740 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38741 <kernel-features.h>.
38742 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38743 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38744 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38745 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38746 <kernel-features.h>.
38747 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38748 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38749 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38750 <kernel-features.h>.
38751 (linkat) [__NR_linkat]: Make code unconditional.
38752 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38753 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38754 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38755 <kernel-features.h>.
38756 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38757 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38758 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38759 <kernel-features.h>.
38760 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38761 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38762 * sysdeps/unix/sysv/linux/openat.c: Do not include
38763 <kernel-features.h>.
38764 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38765 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38766 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38767 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38768 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38769 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38770 <kernel-features.h>.
38771 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38772 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38773 result of INLINE_SYSCALL directly, not via int variable.
38774 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38775 <kernel-features.h>.
38776 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38777 (renameat) [__NR_renameat]: Make code unconditional.
38778 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38779 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38780 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38781 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38782 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38783 (__ASSUME_ATFCTS): Do not undefine and redefine.
38784 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38785 <kernel-features.h>.
38786 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38787 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38788 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38789 <kernel-features.h>.
38790 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38791 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38792 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38793 (__ASSUME_ATFCTS): Do not undefine and redefine.
38794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38795 <kernel-features.h>.
38796 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38797 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38798 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38799 <kernel-features.h>.
38800 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38801 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38802
38803 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38804
38805 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38806
38807 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38808
38809 [BZ #17069]
38810 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38811 constructed tree before returning error.
38812 * posix/bug-regexp36.c: Expand test case.
38813
38814 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38815
38816 [BZ #6803]
38817 * math/libm-test.inc (scalbln_test_date):
38818 Add errno expectations.
38819 * math/w_scalblnf.c: New File.
38820 Add wrapper which checks for setting errno to ERANGE.
38821 Add weak_alias for corresponding scalbln function.
38822 * math/w_scalbln.c: Likewise.
38823 * math/w_scalblnl.c: Likewise.
38824 * math/Makefile (libm-calls): Add w_scalbln.
38825 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38826 Remove weak_alias for corresponding scalbln function.
38827 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38829 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38830 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38831 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38832 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38833 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38834 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38835 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38836 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38837 Remove long_double_symbol for scalblnl function in libm, libc.
38838 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38839 Add wrapper which checks for setting errno to ERANGE.
38840 Add long_double_symbol for scalblnl function in libm, libc.
38841 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38842 Remove long_double_symbol for scalblnl in libm.
38843 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38844 Add wrapper which checks for setting errno to ERANGE.
38845 Add long_double_symbol for scalblnl function in libm.
38846 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38847 Do not use wrapper because of own implementation.
38848
38849 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38850
38851 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38852 3 bytes for __pad1 for x32.
38853 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38854
38855 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38856 H.J. Lu <hongjiu.lu@intel.com>
38857
38858 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38859 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38860 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38861 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38862 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38863
38864 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38865
38866 [BZ #17069]
38867 * posix/regcomp.c (parse_expression): Deallocate partially
38868 constructed tree before returning error.
38869 * posix/Makefile.c (tests): Add bug-regex36.
38870 (generated): Add bug-regex36.mtrace.
38871 (tests-special): Add $(objpfx)bug-regex36-mem.out
38872 (bug-regex36-ENV): New variable.
38873 ($(objpfx)bug-regex36-mem.out): New rule.
38874 * posix/bug-regex36.c: New file.
38875
38876 2014-06-19 Will Newton <will.newton@linaro.org>
38877
38878 * malloc/malloc.c (systrim): If extra is zero then return
38879 early.
38880
38881 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38882
38883 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38884
38885 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38886
38887 * sysdeps/aarch64/strchr.S: New file.
38888
38889 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38890
38891 [BZ #17022]
38892 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38893 from arguments -2 or below.
38894 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38895 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38896
38897 2014-06-18 Andreas Schwab <schwab@suse.de>
38898
38899 [BZ #17062]
38900 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38901 of a bracket expr not to run off the end of the string.
38902 * posix/Makefile (tests): Add tst-fnmatch3.
38903 * posix/tst-fnmatch3.c: New file.
38904
38905 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38906
38907 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38908 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38909 [$(cross-compiling) = no]: Likewise.
38910 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38911 [$(cross-compiling) = no]: Likewise.
38912
38913 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38914
38915 [BZ #17031]
38916 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38917 double, adjusted for any remainder from the high double.
38918 * math/libm-test.inc (nearbyint): Add tests.
38919 (rint): Likewise.
38920
38921 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38922
38923 * nptl/sysdeps/powerpc/Makefile: Moved ...
38924 * sysdeps/powerpc/nptl/Makefile: ... here.
38925 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38926 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38927 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38928 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38929 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38930 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38931 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38932 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38933 * nptl/sysdeps/powerpc/tls.h: Moved ...
38934 * sysdeps/powerpc/nptl/tls.h: ... here.
38935
38936 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38937
38938 [BZ #16681]
38939 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38940 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38941 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38942 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38943 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38944 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38945 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38946 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38947 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38948
38949 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38950
38951 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38952
38953 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38954
38955 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38956 defined operator.
38957
38958 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38959 $TIMEOUTFACTOR.
38960
38961 2014-06-16 Florian Weimer <fweimer@redhat.com>
38962
38963 [BZ #17058]
38964 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38965 non-executed part of the test.
38966
38967 2014-06-16 Andreas Schwab <schwab@suse.de>
38968
38969 * string/bits/string2.h (strdup, strndup): Update feature guard.
38970
38971 2014-06-14 David S. Miller <davem@davemloft.net>
38972
38973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38974
38975 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38976
38977 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38978 that was previously under [RESET_PID].
38979 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38980
38981 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38982 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38983 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38984 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38985 (__libc_vfork): New strong alias.
38986 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38987
38988 2014-06-14 Andi Kleen <ak@linux.intel.com>
38989
38990 * sysdeps/generic/elide.h: New file.
38991
38992 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38993
38994 * Makefile (installed-headers): Adjust path of pthread.h header.
38995
38996 2014-06-13 Roland McGrath <roland@hack.frob.com>
38997
38998 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38999 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39000 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39001 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39002
39003 * nptl/sysdeps/s390/Makefile: Moved ...
39004 * sysdeps/s390/nptl/Makefile: ... here.
39005 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39006 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39007 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39008 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39009 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39010 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39011 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39012 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39013 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39014 * sysdeps/s390/nptl/pthreaddef.h: ... here.
39015 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39016 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39017 * nptl/sysdeps/s390/tls.h: Moved ...
39018 * sysdeps/s390/nptl/tls.h: ... here.
39019
39020 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39021 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39022
39023 2014-06-13 David S. Miller <davem@davemloft.net>
39024
39025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39028 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39029 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39031 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39032 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39033 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39034 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39035 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39036 Remove RESET_PID cpp guards.
39037 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39038 Remove RESET_PID cpp guards.
39039 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39040
39041 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
39042
39043 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39044 __sp to uintptr_t.
39045
39046 2014-06-13 Andi Kleen <ak@linux.intel.com>
39047
39048 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39049 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39050 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39051 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39052 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39053 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39054 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39055 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39056 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39057 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39058 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39059 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39060 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39061 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39063 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39064 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39065 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39066 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39067 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39068
39069 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39070 (pthread_rwlock_rdlock): Add elision.
39071 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39072 (pthread_rwlock_wrlock): Add elision.
39073 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39074 (pthread_rwlock_trywrlock): Add elision.
39075 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39076 (pthread_rwlock_tryrdlock): Add elision.
39077 * nptl/pthread_rwlock_unlock.c: Include elide.h.
39078 (pthread_rwlock_tryrdlock): Add elision unlock.
39079 * nptl/sysdeps/pthread/pthread.h:
39080 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39081 (PTHREAD_RWLOCK_INITIALIZER,
39082 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39083 Handle new elision field.
39084 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39085 * sysdeps/arm/nptl/bits/pthreadtypes.h
39086 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39087 * sysdeps/sh/nptl/bits/pthreadtypes.h
39088 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39089 * sysdeps/tile/nptl/bits/pthreadtypes.h
39090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39091 * sysdeps/a/nptl/bits/pthreadtypes.h
39092 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39093 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39094 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39095 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39097 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39099 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39101 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39103 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39105 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39107 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39109 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39110 (elision_init): Set try_xbegin to zero when no RTM.
39111 * sysdeps/x86/nptl/bits/pthreadtypes.h
39112 (pthread_rwlock_t): Change __pad1 to __rwelision.
39113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39114
39115 2014-06-13 Andi Kleen <ak@linux.intel.com>
39116
39117 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39118 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39119 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39120 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39121
39122 2014-06-13 Meador Inge <meadori@codesourcery.com>
39123
39124 [BZ #16996]
39125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39126 that the cached result has been set before returning it.
39127
39128 2014-06-12 Roland McGrath <roland@hack.frob.com>
39129
39130 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39131 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39132 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39133 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39134 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39135 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39136
39137 * nptl/sysdeps/sparc/Makefile: Moved ...
39138 * sysdeps/sparc/nptl/Makefile: ... here.
39139 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39140 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39141 * nptl/sysdeps/sparc/tls.h: Moved ...
39142 * sysdeps/sparc/nptl/tls.h: ... here.
39143 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39144 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39145 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39146 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39147 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39148 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39149 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39150 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39151 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39152 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39153 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39154 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39155 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39156 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39157 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39158 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39159 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39160 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39161 Update #include.
39162 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39163 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39164 Update #include.
39165 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39166 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39167 Update #include.
39168 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39169 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39170 Update #include.
39171
39172 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39173
39174 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39175 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39176
39177 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39178 (struct list_links): Type removed.
39179 (struct thread_node, struct timer_node): Replace struct list_links
39180 with struct list_head.
39181 (list_unlink_ip): Likewise.
39182 * sysdeps/pthread/timer_routines.c
39183 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39184 (list_append, list_insbefore): Likewise.
39185 (list_init): Function removed.
39186 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39187 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39188 * sysdeps/pthread/Makefile: ... here, new file.
39189
39190 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39191 * sysdeps/nptl/Implies: ... here.
39192 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39193 * nptl/sysdeps/pthread/list.h: Moved ...
39194 * include/list.h: ... here.
39195 * nptl/sysdeps/pthread/createthread.c: Moved ...
39196 * nptl/createthread.c: ... here.
39197 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39198 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39199 * nptl/pt-longjmp.c: ... here.
39200 * nptl/sysdeps/pthread/Makefile: Moved ...
39201 * sysdeps/nptl/Makefile: ... here.
39202 * nptl/sysdeps/pthread/Subdirs: Moved ...
39203 * sysdeps/nptl/Subdirs: ... here.
39204 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39205 * sysdeps/nptl/aio_misc.h: ... here.
39206 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39207 * sysdeps/nptl/bits/libc-lock.h: ... here.
39208 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39209 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39210 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39211 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39212 * nptl/sysdeps/pthread/configure: Moved ...
39213 * sysdeps/nptl/configure: ... here.
39214 * nptl/sysdeps/pthread/configure.ac: Moved ...
39215 * sysdeps/nptl/configure.ac: ... here.
39216 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39217 * sysdeps/nptl/gai_misc.h: ... here.
39218 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39219 * sysdeps/nptl/librt-cancellation.c: ... here.
39220 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39221 * sysdeps/nptl/malloc-machine.h: ... here.
39222 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39223 * sysdeps/nptl/pthread-functions.h: ... here.
39224 * nptl/sysdeps/pthread/pthread.h: Moved ...
39225 * sysdeps/nptl/pthread.h: ... here.
39226 * nptl/sysdeps/pthread/setxid.h: Moved ...
39227 * sysdeps/nptl/setxid.h: ... here.
39228 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39229 * sysdeps/nptl/sigfillset.c: ... here.
39230 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39231 * sysdeps/nptl/tcb-offsets.h: ... here.
39232 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39233 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39234 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39235 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39236 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39237 * sysdeps/pthread/allocalim.h: ... here.
39238 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39239 * sysdeps/pthread/bits/sigthread.h: ... here.
39240 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39241 * sysdeps/pthread/flockfile.c: ... here.
39242 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39243 * sysdeps/pthread/ftrylockfile.c: ... here.
39244 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39245 * sysdeps/pthread/funlockfile.c: ... here.
39246 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39247 * sysdeps/pthread/posix-timer.h: ... here.
39248 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39249 * sysdeps/pthread/timer_create.c: ... here.
39250 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39251 * sysdeps/pthread/timer_delete.c: ... here.
39252 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39253 * sysdeps/pthread/timer_getoverr.c: ... here.
39254 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39255 * sysdeps/pthread/timer_gettime.c: ... here.
39256 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39257 * sysdeps/pthread/timer_routines.c: ... here.
39258 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39259 * sysdeps/pthread/timer_settime.c: ... here.
39260 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39261 * sysdeps/pthread/tst-timer.c: ... here.
39262 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39263 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39264
39265 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39266 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39267
39268 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39269 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39270 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39271 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39272 Update #include target.
39273 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39274 * sysdeps/i386/i686/nptl/Makefile: ... here.
39275 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39276 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39277 Update #include target.
39278 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39279 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39280 * nptl/sysdeps/i386/Makefile: Moved ...
39281 * sysdeps/i386/nptl/Makefile: ... here.
39282 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39283 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39284 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39285 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39286 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39287 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39288 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39289 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39290 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39291 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39292 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39293 * nptl/sysdeps/i386/tls.h: Moved ...
39294 * sysdeps/i386/nptl/tls.h: ... here.
39295
39296 * sysdeps/sh/Makefile [$(subdir) = csu]
39297 (gen-as-const-headers): Add tcb-offsets.sym.
39298 * nptl/sysdeps/sh/Makefile: File removed.
39299 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39300 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39301 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39302 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39303 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39304 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39305 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39306 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39307 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39308 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39309 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39310 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39311 * nptl/sysdeps/sh/tls.h: Moved ...
39312 * sysdeps/sh/nptl/tls.h: ... here.
39313 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39314 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39315 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39316 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39317 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39318 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39319 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39320 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39321 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39322 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39323 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39324 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39325 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39326 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39327 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39328 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39329 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39330 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39331 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39332 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39334 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39336 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39338 Moved ...
39339 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39341 Moved ...
39342 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39344 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39347 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39348 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39349 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39350 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39351 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39352 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39353 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39354 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39355 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39356 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39357 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39358 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39359 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39360 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39361
39362 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39363
39364 * posix/spawn_faction_addopen.c: Include string.h.
39365
39366 2014-06-11 Roland McGrath <roland@hack.frob.com>
39367
39368 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39369 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39370 * nptl/sysdeps/x86_64/Makefile: Moved ...
39371 * sysdeps/x86_64/nptl/Makefile: ... here.
39372 * nptl/sysdeps/x86_64/configure: Moved ...
39373 * sysdeps/x86_64/nptl/configure: ... here.
39374 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39375 * sysdeps/x86_64/nptl/configure.ac: ... here.
39376 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39377 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39378 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39379 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39380 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39381 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39382 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39383 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39384 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39385 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39386 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39387 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39388 * nptl/sysdeps/x86_64/tls.h: Moved ...
39389 * sysdeps/x86_64/nptl/tls.h: ... here.
39390 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39391 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39392 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39393 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39394
39395 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39396
39397 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39398
39399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39400
39401 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39402
39403 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39404 type.
39405 [POSIX] (off_t): Likewise.
39406 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39407 [POSIX] (S_ISBLK): Require macro.
39408 [POSIX] (S_ISCHR): Likewise.
39409 [POSIX] (S_ISDIR): Likewise.
39410 [POSIX] (S_ISFIFO): Likewise.
39411 [POSIX] (S_ISREG): Likewise.
39412 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39413 optional-macro.
39414 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39415 type.
39416 [POSIX] (time_t): Likewise.
39417 [POSIX] (timer_t): Likewise.
39418
39419 2014-06-11 Florian Weimer <fweimer@redhat.com>
39420
39421 [BZ #17048]
39422 * posix/spawn_int.h (struct __spawn_action): Make the path string
39423 non-const to support deallocation.
39424 * posix/spawn_faction_addopen.c
39425 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39426 * posix/spawn_faction_destroy.c
39427 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39428 path in all spawn_do_open actions.
39429 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39430 posix_spawn_file_actions_addopen.
39431
39432 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39433
39434 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39435 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39436 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39437 conditional code always true.
39438 (__libc_vfork): New alias.
39439
39440 2014-06-11 Roland McGrath <roland@hack.frob.com>
39441
39442 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39443 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39444
39445 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39446
39447 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39448 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39449
39450 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39451 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39452
39453 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39454 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39455
39456 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39457
39458 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39459 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39460 multiarch strcmp for PPC64.
39461 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39462 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39464 multiarch optimizations.
39465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39466 (__libc_ifunc_impl_list): Likewise.
39467
39468 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39469
39470 * benchtests/scripts/validate_benchout.py: New script.
39471 * benchtests/Makefile (bench-func): Call it.
39472 * benchtests/scripts/benchout.schema.json: New file.
39473
39474 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39475
39476 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39477 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39478 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39479 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39480 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39481 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39482 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39483 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39484 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39485 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39486 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39487 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39488 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39489 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39490 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39491 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39493 Moved ...
39494 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39495 ... here.
39496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39497 Moved ...
39498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39500 Moved ...
39501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39502 ... here.
39503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39504 Moved ...
39505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39506 ... here.
39507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39508 Moved ...
39509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39511 Moved ...
39512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39513 ... here.
39514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39515 Moved ...
39516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39517 ... here.
39518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39519 Moved ...
39520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39522 Moved ...
39523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39524 ... here.
39525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39526 Moved ...
39527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39528 ... here.
39529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39530 Moved ...
39531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39532 ... here.
39533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39534 Moved ...
39535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39537 Moved ...
39538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39539 ... here.
39540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39541 Moved ...
39542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39543 ... here.
39544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39545 Moved ...
39546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39547 ... here.
39548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39549 Moved ...
39550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39552 Moved ...
39553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39554 ... here.
39555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39556 Moved ...
39557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39558 ... here.
39559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39560 Moved ...
39561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39563 Moved ...
39564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39565 ... here.
39566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39567 Moved ...
39568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39570 Moved ...
39571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39573 Moved ...
39574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39575 ... here.
39576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39577 Moved ...
39578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39579 ... here.
39580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39581 Moved ...
39582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39583 ... here.
39584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39585 Moved ...
39586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39588 Moved ...
39589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39590 ... here.
39591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39592 Moved ...
39593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39594 ... here.
39595 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39596 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39597 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39598 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39599 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39600 Moved ...
39601 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39602 ... here.
39603 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39604 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39606 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39608 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39610 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39611 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39612 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39614 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39616 Moved ...
39617 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39619 Moved ...
39620 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39622 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39624 Moved ...
39625 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39627 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39628 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39629 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39630 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39631 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39632
39633 2014-06-10 Wilco <wdijkstr@arm.com>
39634
39635 * math/test-fenv-return.c: New file.
39636 * math/Makefile: Add new test test-fenv-return.
39637
39638 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39639
39640 [BZ #17042]
39641 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39642 when x - 1 is zero.
39643 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39644 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39645 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39646 0.0L for an argument of 1.0L.
39647 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39648 Likewise.
39649 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39650 value when x - 1 is zero.
39651 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39652 * sysdeps/i386/fpu/libm-test-ulps: Update.
39653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39654
39655 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39656
39657 [BZ #15119]
39658 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39659
39660 2014-06-09 Roland McGrath <roland@hack.frob.com>
39661
39662 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39663 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39664
39665 2014-06-09 Roland McGrath <roland@hack.frob.com>
39666
39667 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39668 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39669
39670 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39671 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39672
39673 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39674 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39675
39676 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39677 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39678
39679 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39680 if not already defined.
39681 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39682 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39683 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39684 (TLS_INIT_TP): Use it.
39685 (TLS_DEFINE_INIT_TP): New macro.
39686 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39687
39688 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39689
39690 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39691 constant.
39692 [POSIX] (IXANY): Likewise.
39693 [POSIX] (OLCUC): Likewise.
39694 [POSIX || POSIX2008] (CBAUD): Do not allow.
39695 [POSIX || POSIX2008] (DEFECHO): Likewise.
39696 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39697 [POSIX || POSIX2008] (ECHOKE): Likewise.
39698 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39699 [POSIX || POSIX2008] (EXTA): Likewise.
39700 [POSIX || POSIX2008] (EXTB): Likewise.
39701 [POSIX || POSIX2008] (FLUSHO): Likewise.
39702 [POSIX || POSIX2008] (LOBLK): Likewise.
39703 [POSIX || POSIX2008] (PENDIN): Likewise.
39704 [POSIX || POSIX2008] (SWTCH): Likewise.
39705 [POSIX || POSIX2008] (VDISCARD): Likewise.
39706 [POSIX || POSIX2008] (VDSUSP): Likewise.
39707 [POSIX || POSIX2008] (VLNEXT): Likewise.
39708 [POSIX || POSIX2008] (VREPRINT): Likewise.
39709 [POSIX || POSIX2008] (VSTATUS): Likewise.
39710 [POSIX || POSIX2008] (VWERASE): Likewise.
39711 (B*): Change to B[0123456789]*.
39712 * conform/data/time.h-data [POSIX || UNIX98]
39713 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39714 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39715 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39716 [POSIX] (tm_*): Do not allow.
39717
39718 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39719
39720 * Makefile (install): Don't set LANGUAGE.
39721 * Makefile.in (install): Likewise.
39722 * assert/Makefile (test-assert-ENV): Remove variable.
39723 (test-assert-perr-ENV): Likewise.
39724 * elf/Makefile (neededtest4-ENV): Likewise.
39725 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39726 [$(cross-compiling) = no]: Don't set LANGUAGE.
39727 * io/ftwtest-sh (LANG): Remove variable.
39728 * libio/Makefile (tst-widetext-ENV): Likewise.
39729 * manual/install.texi (Running make install): Don't refer to
39730 environment settings for make install.
39731 * INSTALL: Regenerated.
39732 * nptl/tst-tls6.sh: Don't set LANG.
39733 * posix/globtest.sh (LANG): Remove variable.
39734 * string/Makefile (tester-ENV): Likewise.
39735 (inl-tester-ENV): Likewise.
39736 (noinl-tester-ENV): Likewise.
39737 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39738 [$(cross-compiling) = no]: Don't set LANGUAGE.
39739 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39740 without explicit environment settings.
39741
39742 2014-06-06 Roland McGrath <roland@hack.frob.com>
39743
39744 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39745 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39746 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39747 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39748
39749 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39750
39751 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39752 other files in the crypt directory.
39753 * crypt/crypt.c: Remove duplicate includes.
39754 * crypt/crypt-entry.c: Likewise.
39755 * crypt/crypt_util.c: Likewise.
39756
39757 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39758
39759 * Makeconfig (run-program-env): New variable.
39760 (run-program-prefix-before-env): Likewise.
39761 (run-program-prefix-after-env): Likewise.
39762 (run-program-prefix): Define in terms of new variables.
39763 (built-program-cmd-before-env): New variable.
39764 (built-program-cmd-after-env): Likewise.
39765 (built-program-cmd): Define in terms of new variables.
39766 (test-program-prefix-before-env): New variable.
39767 (test-program-prefix-after-env): Likewise.
39768 (test-program-prefix): Define in terms of new variables.
39769 (test-program-cmd-before-env): New variable.
39770 (test-program-cmd-after-env): Likewise.
39771 (test-program-cmd): Define in terms of new variables.
39772 * Rules (make-test-out): Use $(run-program-env).
39773 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39774 (help): Do not mention environment variables. Mention
39775 --timeoutfactor option.
39776 (timeoutfactor): New variable.
39777 (blacklist_exports): Remove function.
39778 (exports): Remove variable.
39779 (command): Do not include ${exports}.
39780 * manual/install.texi (Configuring and compiling): Do not mention
39781 test wrappers preserving environment variables. Mention that last
39782 assignment to a variable must take precedence.
39783 * INSTALL: Regenerated.
39784 * benchtests/Makefile (run-bench): Use $(run-program-env).
39785 * catgets/Makefile ($(objpfx)test1.cat): Use
39786 $(built-program-cmd-before-env), $(run-program-env) and
39787 $(built-program-cmd-after-env).
39788 ($(objpfx)test2.cat): Do not specify environment variables
39789 explicitly.
39790 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39791 $(run-program-env) and $(built-program-cmd-after-env).
39792 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39793 $(run-program-env) and $(test-program-cmd-after-env).
39794 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39795 explicitly.
39796 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39797 run_program_env and test_program_cmd_after_env arguments.
39798 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39799 * elf/tst-pathopt.sh: Use run_program_env argument.
39800 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39801 $(test-wrapper-env) and $(run-program-env).
39802 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39803 run_program_env arguments.
39804 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39805 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39806 $(test-program-prefix-before-env), $(run-program-env) and
39807 $(test-program-prefix-after-env).
39808 ($(objpfx)tst-gettext2.out): Likewise.
39809 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39810 run_program_env and test_program_prefix_after_env arguments.
39811 * intl/tst-gettext2.sh: Likewise.
39812 * intl/tst-gettext4.sh: Do not set environment variables
39813 explicitly.
39814 * intl/tst-gettext6.sh: Likewise.
39815 * intl/tst-translit.sh: Likewise.
39816 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39817 $(test-program-prefix-before-env), $(run-program-env) and
39818 $(test-program-prefix-after-env).
39819 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39820 run_program_env and test_program_prefix_after_env arguments.
39821 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39822 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39823 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39824 explicitly with each use of ${test_wrapper_env}.
39825 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39826 $(test-program-prefix-before-env), $(run-program-env) and
39827 $(test-program-prefix-after-env).
39828 * posix/tst-getconf.sh: Do not set environment variables
39829 explicitly.
39830 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39831 run_program_env and test_program_prefix_after_env arguments.
39832 * stdio-common/tst-printf.sh: Do not set environment variables
39833 explicitly.
39834 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39835 $(test-program-prefix-before-env), $(run-program-env) and
39836 $(test-program-prefix-after-env).
39837 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39838 run_program_env and test_program_prefix_after_env arguments.
39839 Split $test calls into $test_pre and $test.
39840 * timezone/Makefile (build-testdata): Use
39841 $(built-program-cmd-before-env), $(run-program-env) and
39842 $(built-program-cmd-after-env).
39843
39844 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39845
39846 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39847 strlen for non SHARED builds.
39848
39849 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39850
39851 * nptl/allocatestack.c (check_list): Inlined function...
39852 (__reclaim_stacks): ... here.
39853
39854 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39855
39856 [BZ #15698]
39857 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39858 memory overrun.
39859
39860 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39861
39862 * Rules (make-test-out): Include
39863 LOCPATH=$(common-objpfx)localedata in default environment.
39864 * debug/Makefile (tst-chk1-ENV): Remove variable.
39865 (tst-chk2-ENV): Likewise.
39866 (tst-chk3-ENV): Likewise.
39867 (tst-chk4-ENV): Likewise.
39868 (tst-chk5-ENV): Likewise.
39869 (tst-chk6-ENV): Likewise.
39870 (tst-lfschk1-ENV): Likewise.
39871 (tst-lfschk2-ENV): Likewise.
39872 (tst-lfschk3-ENV): Likewise.
39873 (tst-lfschk4-ENV): Likewise.
39874 (tst-lfschk5-ENV): Likewise.
39875 (tst-lfschk6-ENV): Likewise.
39876 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39877 (tst-iconv7-ENV): Likewise.
39878 * intl/Makefile (LOCPATH-ENV): Likewise.
39879 (tst-codeset-ENV): Likewise.
39880 (tst-gettext3-ENV): Likewise.
39881 (tst-gettext5-ENV): Likewise.
39882 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39883 (tst-fopenloc-ENV): Likewise.
39884 (tst-fgetws-ENV): Remove variable.
39885 (tst-ungetwc1-ENV): Likewise.
39886 (tst-ungetwc2-ENV): Likewise.
39887 (bug-ungetwc2-ENV): Likewise.
39888 (tst-swscanf-ENV): Likewise.
39889 (bug-ftell-ENV): Likewise.
39890 (tst-fgetwc-ENV): Likewise.
39891 (tst-fseek-ENV): Likewise.
39892 (tst-ftell-partial-wide-ENV): Likewise.
39893 (tst-ftell-active-handler-ENV): Likewise.
39894 (tst-ftell-append-ENV): Likewise.
39895 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39896 (tst-regexloc-ENV): Likewise.
39897 (bug-regex1-ENV): Likewise.
39898 (tst-regex-ENV): Likewise.
39899 (tst-regex2-ENV): Likewise.
39900 (bug-regex5-ENV): Likewise.
39901 (bug-regex6-ENV): Likewise.
39902 (bug-regex17-ENV): Likewise.
39903 (bug-regex18-ENV): Likewise.
39904 (bug-regex19-ENV): Likewise.
39905 (bug-regex20-ENV): Likewise.
39906 (bug-regex22-ENV): Likewise.
39907 (bug-regex23-ENV): Likewise.
39908 (bug-regex25-ENV): Likewise.
39909 (bug-regex26-ENV): Likewise.
39910 (bug-regex30-ENV): Likewise.
39911 (bug-regex32-ENV): Likewise.
39912 (bug-regex33-ENV): Likewise.
39913 (bug-regex34-ENV): Likewise.
39914 (bug-regex35-ENV): Likewise.
39915 (tst-rxspencer-ENV): Likewise.
39916 (tst-rxspencer-no-utf8-ENV): Likewise.
39917 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39918 (tst-sscanf-ENV): Likewise.
39919 (tst-swprintf-ENV): Likewise.
39920 (tst-swscanf-ENV): Likewise.
39921 (test-vfprintf-ENV): Likewise.
39922 (scanf13-ENV): Likewise.
39923 (bug14-ENV): Likewise.
39924 (tst-grouping-ENV): Likewise.
39925 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39926 (tst-strtod3-ENV): Likewise.
39927 (tst-strtod4-ENV): Likewise.
39928 (tst-strtod5-ENV): Likewise.
39929 (testmb2-ENV): Likewise./
39930 * string/Makefile (tst-strxfrm-ENV): Likewise.
39931 (tst-strxfrm2-ENV): Likewise.
39932 (bug-strcoll1-ENV): Likewise.
39933 (test-strcasecmp-ENV): Likewise.
39934 (test-strncasecmp-ENV): Likewise.
39935 * time/Makefile (tst-strptime-ENV): Likewise.
39936 (tst-ftime_l-ENV): Likewise.
39937 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39938 (tst-mbrtowc-ENV): Likewise.
39939 (tst-wcrtomb-ENV): Likewise.
39940 (tst-mbrtowc2-ENV): Likewise.
39941 (tst-c16c32-1-ENV): Likewise.
39942 (tst-mbsnrtowcs-ENV): Likewise.
39943
39944 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39945
39946 * manual/resource.texi (How to get information about the memory
39947 subsystem?): Fix typo.
39948 Reported by Peon de la Parra Ivan <peon@keba.com>
39949
39950 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39951
39952 [BZ #16882]
39953 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39954 (pthread_spin_lock): Branch out of spin loop to proper location.
39955 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39956 (pthread_spin_lock): Likewise.
39957
39958 * nptl/tst-spin4.c: New test.
39959 * nptl/Makefile (tests): Add tst-spin4.
39960
39961 2014-06-03 Andreas Schwab <schwab@suse.de>
39962
39963 [BZ #15946]
39964 * resolv/res_send.c (send_dg): Reload file descriptor after
39965 calling reopen.
39966
39967 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39968
39969 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39970
39971 2014-06-03 Richard Henderson <rth@redhat.com>
39972
39973 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39974 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39975 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39976 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39977 in the SAVE_PID block.
39978 (__libc_vfork): New alias.
39979 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39980
39981 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39982 child in registers, not on the stack. Remove RESET_PID conditionals.
39983 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39984
39985 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
39986
39987 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39988
39989 2014-06-03 Wilco <wdijkstr@arm.com>
39990
39991 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39992 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39993 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39994 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39995 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39996 Likewise.
39997
39998 2014-06-03 Wilco <wdijkstr@arm.com>
39999
40000 * sysdeps/aarch64/fpu/math_private.h
40001 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40002 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40003 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40004 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40005 Fix declarations.
40006
40007 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40008
40009 * crypt/crypt-private.h: Include ufc-crypt.h.
40010 (__b64_from_24bit): Declare extern.
40011 * crypt/crypt_util.c(__b64_from_24bit): New function.
40012 (b64t): New static const variable.
40013 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40014 (b64t): Remove variable.
40015 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40016 * crypt/sha256-crypt.c: Include crypt-private.h.
40017 (b64t): Remove variable.
40018 (__sha256_crypt_r): Remove b64_from_24bit and replace
40019 with __b64_from_24bit.
40020 * crypt/sha512-crypt.c: Likewise.
40021
40022 2014-06-02 Roland McGrath <roland@hack.frob.com>
40023
40024 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40025 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40026 Label the code __libc_vfork rather than __vfork.
40027 [!NOT_IN_libc] (vfork): Define as weak alias.
40028 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40029 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40030 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40031
40032 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40033
40034 * malloc/malloc.c (malloc_info): Fix format specifier for
40035 n_mmaps.
40036
40037 2014-06-02 Wilco <wdijkstr@arm.com>
40038
40039 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40040 FPCR write.
40041
40042 2014-06-02 Wilco <wdijkstr@arm.com>
40043
40044 [BZ #17009]
40045 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40046 Rewrite to reduce FPCR/FPSR accesses.
40047
40048 2014-06-01 David S. Miller <davem@davemloft.net>
40049
40050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40051
40052 2014-05-31 David S. Miller <davem@davemloft.net>
40053
40054 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40055 to occur in round to nearest mode when |x| >= 2.0
40056
40057 2014-05-30 Richard Henderson <rth@twiddle.net>
40058
40059 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40060 (PSEUDO_RET_NOERRNO): Remove.
40061 (ret): Don't redefine.
40062 (ret_NOERRNO): Define in terms of ret.
40063 (ret_ERRVAL): Likewise.
40064
40065 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40066 use of PSEUDO_RET; perform the error check directly.
40067
40068 2014-05-30 Marko Myllynen <myllynen@redhat.com>
40069
40070 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40071 with __int128_t.
40072
40073 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40074
40075 * malloc/malloc (malloc_info): Fix formatting.
40076
40077 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40078 Roland McGrath <roland@hack.frob.com>
40079
40080 * malloc/malloc (malloc_info): Also print mmapped statistics.
40081
40082 2014-05-30 Roland McGrath <roland@hack.frob.com>
40083
40084 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40085 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40086
40087 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40088
40089 * malloc/malloc.c (malloc_info): Inline mi_arena.
40090
40091 2014-05-29 Richard Henderson <rth@twiddle.net>
40092
40093 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40094 Remove comma before expanding ASM_ARGS_##nr.
40095 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40096 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40097 of ASM_ARGS_##nr.
40098 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40099 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40100 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40101 (ASM_ARGS_1): Add leading comma.
40102
40103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40104 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40105 to __errno_location.
40106 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40107 Remove the expected plt for __errno_location.
40108
40109 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40110 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40111 call to __read_tp.
40112
40113 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40114 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40115 it and break it down.
40116 (DOCARGS_0, DOCARGS_1): Do nothing.
40117 (DOCARGS_2): Update to store into the new stack frame.
40118 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40119 (UNDOCARGS_1): Update to restore from the new stack frame.
40120 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40121 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40122
40123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40124 (SINGLE_THREAD_P): New parameter for result regno.
40125 (PSEUDO): Update to match; use cbz instead of beq.
40126
40127 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40128 Use ENTRY to define the _nocancel entry point. Share the syscall
40129 and syscall error check paths with the cancel path.
40130 (PSEUDO_END): New.
40131
40132 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40133 whitespace; tabs before and after asm mnemonics.
40134
40135 2014-05-29 Eric Wong <normalperson@yhbt.net>
40136
40137 [BZ #15132]
40138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40139 Call fstat64 or stat64 internally, depending on arguments passed.
40140 Replace stat buffer argument with file descriptor argument.
40141 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40142 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40143 Pass fd to __internal_statvfs instead of calling fstat64.
40144 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40145 Pass fd to __internal_statvfs64 instead of calling fstat64.
40146 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40147 Pass -1 to __internal_statvfs instead of calling stat64.
40148 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40149 Pass -1 to __internal_statvfs64 instead of calling stat64.
40150
40151 2014-05-28 Roland McGrath <roland@hack.frob.com>
40152
40153 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40154 that was previously under [RESET_PID].
40155 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40156
40157 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40158 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40159
40160 2014-05-27 Roland McGrath <roland@hack.frob.com>
40161
40162 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40163
40164 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40165 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40166
40167 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40168
40169 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40170
40171 2014-05-27 Andreas Schwab <schwab@suse.de>
40172
40173 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40174 TLS_INIT_TP macro.
40175 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40176 * elf/rtld.c (init_tls, dl_main): Likewise.
40177 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40178 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40179 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40180 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40181 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40182 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40183 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40184 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40185 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40186 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40187 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40188 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40189 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40190 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40191 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40192 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40193 * sysdeps/generic/tls.h: Update description.
40194
40195 2014-05-27 Will Newton <will.newton@linaro.org>
40196
40197 [BZ #16990]
40198 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40199 and restore r2 rather than just restoring.
40200
40201 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40202
40203 [BZ #16724]
40204 * libio/tst-ftell-append.c: New test case.
40205 * libio/Makefile (tests): Add test case.
40206 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40207 append mode.
40208 * libio/wfileops.c (do_ftell_wide): Likewise.
40209
40210 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40211
40212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40213
40214 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40215 ...
40216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40218 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40219 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40220 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40221 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40222 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40223 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40225 Moved ...
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40228 Moved ...
40229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40230 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40231 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40232 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40233 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40234 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40235 ...
40236 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40237 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40238 Moved ...
40239 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40240 here.
40241 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40242 ...
40243 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40244 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40245 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40246
40247 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40248 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40249 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40250 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40251
40252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40253 merge into ...
40254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40256 ...
40257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40258 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40259 ...
40260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40261 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40262 Moved ...
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40264 here.
40265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40266 Moved ...
40267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40269 Moved ...
40270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40271
40272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40273 conditional [RESET_PID].
40274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40276 removed.
40277 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40278 removed.
40279
40280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40281 <tcb-offsets.h>.
40282 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40283 (__libc_vfork): New strong alias.
40284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40285 removed.
40286 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40287 Removed.
40288
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40290 <tcb-offsets.h>.
40291 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40292 (__libc_vfork): New strong alias.
40293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40294 removed.
40295 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40296 removed.
40297
40298 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40299
40300 * malloc/malloc.c (mi_arena): New function.
40301 (malloc_info): Remove nested function mi_arena. Call non-nosted
40302 function mi_arena.
40303
40304 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40305
40306 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40307 by insrwi.
40308 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40309 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40310 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40311 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40312 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40313 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40314 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40315
40316 2014-05-26 Andreas Schwab <schwab@suse.de>
40317
40318 [BZ #16984]
40319 * locale/programs/repertoire.c (repertoire_read): Add slash
40320 between I18NPATH element and file name.
40321 * locale/programs/locfile.c (locfile_read): Likewise.
40322
40323 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40324
40325 * nptl/pthread_mutexattr_settype.c
40326 (__pthread_mutexattr_settype):
40327 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40328
40329 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40330
40331 * nptl/tst-mutex5 (do_test):
40332 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40333
40334 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40335
40336 * benchtests/README: Document 'init' directive.
40337 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40338 BENCH_INIT.
40339 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40340 (parse_file): Recognize 'init' directive.
40341
40342 2014-05-26 Kyle McMartin <kyle@redhat.com>
40343
40344 [BZ #16796]
40345 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40346 alignment of struct pthread.
40347
40348 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40349
40350 [BZ #16878]
40351 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40352 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40353 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40354 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40355
40356 2014-05-25 Richard Henderson <rth@twiddle.net>
40357
40358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40359 (SINGLE_THREAD_P_PIC): Remove.
40360 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40361 (SINGLE_THREAD_P_PIC): Remove.
40362
40363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40364 branch to syscall error ...
40365 (PSEUDO): ... here.
40366 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40367 from __local_syscall_error to .Lsyscall_error.
40368 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40369 (SYSCALL_ERROR): Update label name.
40370
40371 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40372 Do not use DOARGS/UNDOARGS.
40373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40374 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40375 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40376 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40377 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40378
40379 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40380 block comment.
40381
40382 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40383 define if !NOT_IN_libc.
40384 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40385 define with non-default symbol versions.
40386
40387 2014-05-23 Richard Henderson <rth@twiddle.net>
40388
40389 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40390 (vfork, __vfork): Define via compat_symbol.
40391
40392 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40393 [!HAVE_IFUNC] (vfork_compat): Remove.
40394 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40395
40396 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40397
40398 [BZ #16978]
40399 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40400 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40401 variable.
40402
40403 2014-05-23 Richard Henderson <rth@twiddle.net>
40404
40405 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40406 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40407 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40408 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40409
40410 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40411 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40412 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40413 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40414 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40415 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40416 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40417 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40418 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40419 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40420 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40421 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40422 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40423 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40424 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40425 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40426 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40427 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40428 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40429 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40430 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40431 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40432 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40433 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40434 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40435 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40436 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40437 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40438 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40439 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40440 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40441 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40442 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40443 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40444 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40445 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40446 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40447 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40448 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40449 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40450 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40451 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40452 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40453 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40454 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40455 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40457 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40458 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40459 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40460 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40461 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40462 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40463 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40464 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40465 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40466
40467 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40468 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40469 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40470 before exiting on error.
40471 (__libc_vfork): New strong alias.
40472 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40473 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40474
40475 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40476 that was previously under [RESET_PID].
40477 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40478
40479 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40480
40481 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40482
40483 [BZ #16977]
40484 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40485 value when x - 1 is zero.
40486 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40487 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40488 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40489 0.0L for an argument of 1.0L.
40490 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40491 Likewise.
40492 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40493 value when x - 1 is zero.
40494 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40495 * sysdeps/i386/fpu/libm-test-ulps: Update.
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40497
40498 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40499
40500 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40501 alphasort and versionsort.
40502
40503 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40504
40505 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40506 macro.
40507 [copysignf]: Likewise.
40508
40509 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40510
40511 * crypt/md5-crypt.c: Fix formatting.
40512
40513 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40514
40515 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40516 (b64_from_24bit): New function.
40517
40518 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40519
40520 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40521 libc_hidden_builtin_def to ifunc.
40522 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40523 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40524
40525 2014-05-21 Roland McGrath <roland@hack.frob.com>
40526
40527 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40528 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40529
40530 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40531
40532 * nscd/Depend (linuxthreads): Remove.
40533 (nptl): Add.
40534 * resolv/Depend (linuxthreads): Remove.
40535 * rt/Depend (linuxthreads): Remove.
40536
40537 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40538 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40539 $(common-objpfx)elf/.
40540 (link-libc-before-gnulib): Likewise.
40541 (elfobjdir): Remove variable.
40542 * Makefile (install): Use $(elf-objpfx) instead of
40543 $(common-objpfx)elf/.
40544 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40545 $(elfobjdir)/.
40546 (link-libc-deps): Likewise.
40547 ($(common-objpfx)libc.so): Likewise.
40548 ($(common-objpfx)linkobj/libc.so): Likewise.
40549 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40550 instead of $(common-objpfx)elf/.
40551 (symbolic-link-list): Likewise.
40552 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40553 [$(cross-compiling) = no]: Likewise.
40554 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40555 $(elfobjdir)/.
40556 (static-gnulib-arch): Likewise.
40557 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40558 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40559 $(common-objpfx)elf/.
40560
40561 2014-05-21 Richard Henderson <rth@redhat.com>
40562
40563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40564 (SINGLE_THREAD_P): Use the correct width load. Fold
40565 into the ldr offset.
40566
40567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40568 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40569
40570 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40571
40572 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40573 (libgcc_s_resume): Use __attribute_used__.
40574 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40575 Likewise.
40576
40577 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40578
40579 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40580 optimization when used with float constants.
40581
40582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40583
40584 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40585
40586 [BZ #16915]
40587 * locale/nl_langinfo_l.c: Make direct reference to every
40588 _nl_current_CATEGORY symbol.
40589 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40590 (tests-static): Add tst-langinfo-static.
40591 (tests-special): Add tst-langinfo-static.out.
40592 ($(objpfx)tst-langinfo.out): Redirect output.
40593 ($(objpfx)tst-langinfo-static.out): New.
40594 * localedata/tst-langinfo.sh: Send output to stdout.
40595 * localedata/tst-langinfo-static.c: New file.
40596
40597 [BZ #16965]
40598 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40599 when the shift amount is modulo the limb size.
40600
40601 2014-05-20 Richard Henderson <rth@redhat.com>
40602
40603 [BZ #16967]
40604 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40605 Change type of sa_flags from unsigned int to int.
40606
40607 [BZ #16966]
40608 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40609
40610 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40611
40612 2014-05-20 Will Newton <will.newton@linaro.org>
40613
40614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40615 Test the return value of the system call in the nocancel case.
40616
40617 2014-05-20 Will Newton <will.newton@linaro.org>
40618 Yvan Roux <yvan.roux@linaro.org>
40619
40620 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40621 #include of asm/ptrace.h.
40622 (PTRACE_GET_THREAD_AREA): Remove #undef.
40623 (PTRACE_GETHBPREGS): Likewise.
40624 (PTRACE_SETHBPREGS): Likewise.
40625 (struct user_regs_struct): New structure.
40626 (struct user_fpsimd_struct): New structure.
40627 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40628 #include of asm/ptrace.h and second #include of sys/user.h.
40629 (PTRACE_GET_THREAD_AREA): Remove #undef.
40630 (PTRACE_GETHBPREGS): Likewise.
40631 (PTRACE_SETHBPREGS): Likewise.
40632 (ELF_NGREG): Use new struct user_regs_struct.
40633 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40634
40635 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40636
40637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40639
40640 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40641
40642 [BZ #16958]
40643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40644 membar to avoid block loads/stores to overlap previous stores.
40645
40646 2014-05-17 Richard Henderson <rth@redhat.com>
40647
40648 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40649 Create the __##syscall_name##_nocancel entry point.
40650 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40651 Remove; let the sysdep-cancel.h code create it.
40652
40653 2014-05-17 David S. Miller <davem@davemloft.net>
40654
40655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40656 Protect with __USE_GNU.
40657 (TIOCSET_TEMPT): Likewise.
40658 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40659 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40660 these are already provided in bits/ioctl-types.h
40661
40662 2014-05-16 Roland McGrath <roland@hack.frob.com>
40663
40664 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40665 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40666
40667 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40668 Use wait4 regardless of [__NR_waitpid].
40669
40670 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40671
40672 PR libgcc/60166
40673 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40674 (_FP_NANSIGN_Q): Set the quiet bit.
40675
40676 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40677
40678 * benchtests/Makefile
40679 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40680 not $(common-objpfx)math/libm.so.
40681 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40682 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40683 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40684 $(common-objpfx)dlfcn/libdl.so.
40685 ($(objpfx)tst-audit8): Depend on $(libm), not
40686 $(common-objpfx)math/libm.so.
40687 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40688 not $(common-objpfx)dlfcn/libdl.so.
40689 * math/Makefile
40690 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40691 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40692 [$(build-shared) = yes].
40693 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40694 $(common-objpfx)nptl/libpthread.so.
40695 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40696 $(common-objpfx)math/libm.so$(libm.so-version) or
40697 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40698 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40699 $(common-objpfx)dlfcn/libdl.so.
40700 * setjmp/Makefile (link-libm): Remove variable.
40701 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40702 * stdio-common/Makefile (link-libm): Remove variable.
40703 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40704 * stdlib/Makefile (link-libm): Remove variable.
40705 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40706 ($(objpfx)tst-strtod-round): Likewise.
40707 ($(objpfx)tst-tininess): Likewise.
40708 ($(objpfx)tst-strtod-underflow): Likewise.
40709 ($(objpfx)tst-strtod6): Likewise.
40710 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40711 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40712 $(common-objpfx)dlfcn/libdl.so.
40713
40714 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40715
40716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40717 BSD terminal modes definitions.
40718
40719 2014-05-16 Roland McGrath <roland@hack.frob.com>
40720
40721 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40722 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40723
40724 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40725 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40726 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40727 Don't do #include_next.
40728 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40729 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40730 Don't do #include_next.
40731 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40732 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40733 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40734 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40735
40736 2014-05-16 Allan McRae <allan@archlinux.org>
40737
40738 * po/sv.po: Update Swedish translation from translation project.
40739
40740 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40741 in sed expression.
40742
40743 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40744
40745 [BZ #16917]
40746 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40747 errno if the TIOCGPTN ioctl fails with an error different than
40748 EINVAL.
40749 * login/tst-ptsname.c: New file.
40750 * login/Makefile (tests): Add tst-ptsname.
40751
40752 [BZ #16943]
40753 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40754 and prlimit64.
40755
40756 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40757
40758 [BZ #16849]
40759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40760 herrno to return EAI_AGAIN.
40761
40762 2014-05-14 Roland McGrath <roland@hack.frob.com>
40763
40764 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40765 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40766 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40767 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40768 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40769 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40770 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40771 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40773 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40774 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40775 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40776 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40777 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40778 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40779 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40780 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40781 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40782 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40783 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40785 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40786 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40787 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40788 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40789 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40790 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40791 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40792 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40793 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40795 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40797 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40799 Moved ...
40800 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40802 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40804 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40806 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40808 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40810 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40812 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40814 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40816 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40818 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40820 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40822 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40824 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40826 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40827 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40828 Moved ...
40829 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40831 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40833 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40835 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40837 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40839 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40841 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40843 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40845 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40847 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40849 Moved ...
40850 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40852 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40853
40854 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40855 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40856 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40857 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40858 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40859 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40860 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40861 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40862 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40863 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40864 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40865 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40866 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40867 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40868 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40869 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40870 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40871 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40872 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40873 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40874 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40875 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40876 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40877 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40878 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40879 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40880 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40881 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40882 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40883 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40884 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40885
40886 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40887 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40888
40889 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40890 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40891 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40892 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40893 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40895 Moved ...
40896 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40897 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40898 Moved ...
40899 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40900 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40901 Moved ...
40902 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40903 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40904 Moved ...
40905 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40906 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40907 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40908 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40909 Moved ...
40910 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40911 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40912 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40914 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40915 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40916 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40917 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40918 Moved ...
40919 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40921 Moved ...
40922 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40923 ... here.
40924 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40925 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40926 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40927 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40929 Moved ...
40930 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40931 ... here.
40932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40933 Moved ...
40934 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40935 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40936 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40937 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40938 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40940 Moved ...
40941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40942 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40943 Moved ...
40944 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40945 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40946 Moved ...
40947 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40948 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40949 Moved ...
40950 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40951 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40952 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40953 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40954 Moved ...
40955 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40956 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40957 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40959 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40960 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40961 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40962 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40963 Moved ...
40964 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40966 Moved ...
40967 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40968 ... here.
40969 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40970 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40971 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40972 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40974 Moved ...
40975 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40976 ... here.
40977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40978 Moved ...
40979 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40980 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40981 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40982 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40983 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40984 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40985 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40986 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40987 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40988 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40989 Moved ...
40990 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40991 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40992 Moved ...
40993 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40994 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40995 Moved ...
40996 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40997 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40998 Moved ...
40999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41001 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41002 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41003 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41005 Moved ...
41006 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41007 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41008 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41009 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41010 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41011 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41012 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41013 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41014 Moved ...
41015 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41017 Moved ...
41018 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41019 ... here.
41020 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41021 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41022 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41023 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41024 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41025 Moved ...
41026 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41027 ... here.
41028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41029 Moved ...
41030 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41031 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41032 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41033 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41034 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41035 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41036 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41037 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41038 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41039 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41040 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41041
41042 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41043 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41044
41045 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41046 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41047
41048 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41049 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41050 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41051 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41052 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41053 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41054 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41055 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41056 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41057 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41058 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41059 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41060 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41061 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41062 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41063 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41064 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41065 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41066 Moved ...
41067 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41068 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41069 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41071 Moved ...
41072 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41074 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41076 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41078 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41079 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41080 Moved ...
41081 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41083 Moved ...
41084 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41086 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41090 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41091 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41092 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41093 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41094 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41095 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41096 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41097 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41098 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41099 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41100 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41101
41102 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41103 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41104 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41105 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41106 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41107
41108 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41109 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41110 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41111 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41112 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41113 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41114 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41115 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41116 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41117 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41118
41119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41120 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41121
41122 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41123 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41124 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41125 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41126 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41127 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41128 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41129 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41130 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41131 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41132 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41133 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41134 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41135 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41136 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41137 Update #include.
41138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41139 Likewise.
41140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41141 Likewise.
41142 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41143 Likewise.
41144 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41145 Likewise.
41146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41147 Likewise.
41148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41149 Likewise.
41150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41151 Likewise.
41152 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41153 Likewise.
41154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41155 Likewise.
41156 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41157 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41158 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41159 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41160 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41161 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41162 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41163 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41164 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41165 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41166 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41168 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41170 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41171
41172 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41173 that was previously under [RESET_PID].
41174 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41175 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41176 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41177
41178 * sysdeps/i386/nptl/Implies: New file.
41179 * sysdeps/x86_64/nptl/Implies: New file.
41180 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41181 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41182 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41183 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41184
41185 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41186 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41187 (__libc_vfork): New strong alias.
41188 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41189 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41190
41191 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41192 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41193 (__libc_vfork): New strong alias.
41194 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41195 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41196
41197 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41198 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41199 (__libc_vfork): New strong alias.
41200 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41201 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41202 * nptl/pt-vfork.c: New file.
41203 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41204 (libpthread: GLIBC_2.20): New version set (empty).
41205
41206 2014-05-14 Will Newton <will.newton@linaro.org>
41207
41208 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41209 rather than #if.
41210
41211 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41212
41213 [BZ #16564]
41214 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41215 arguments with exponent 65 or above.
41216 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41217 arguments 0x1p113L or above.
41218 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41219 to arguments 0x1p107L or above.
41220 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41221 positive arguments with exponent 65 or above.
41222 * math/auto-libm-test-in: Add more tests of log1p.
41223 * math/auto-libm-test-out: Regenerated.
41224
41225 [BZ #16928]
41226 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41227 non-finite arguments is +0.
41228 * math/s_cacosf.c (__cacosf): Likewise.
41229 * math/s_cacosl.c (__cacosl): Likewise.
41230 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41231 * sysdeps/i386/fpu/libm-test-ulps: Update.
41232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41233
41234 [BZ #16927]
41235 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41236 value.
41237 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41238 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41239 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41240 for explicit high bit of mantissa when testing for argument equal
41241 to 1.
41242 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41243 * sysdeps/i386/fpu/libm-test-ulps: Update.
41244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41245
41246 [BZ #16516]
41247 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41248 (__erf): Scale by 16 instead of 8 in potentially underflowing
41249 case. Ensure exception if result actually underflows.
41250 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41251 (__erff): Scale by 16 instead of 8 in potentially underflowing
41252 case. Ensure exception if result actually underflows.
41253 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41254 (efx8): Remove variable.
41255 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41256 case. Ensure exception if result actually underflows.
41257 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41258 (efx8): Remove variable.
41259 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41260 case. Ensure exception if result actually underflows.
41261 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41262 (efx8): Remove variable.
41263 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41264 case. Ensure exception if result actually underflows.
41265 * math/auto-libm-test-in: Add more tests of erf.
41266 * math/auto-libm-test-out: Regenerated.
41267
41268 2014-05-14 Andreas Schwab <schwab@suse.de>
41269
41270 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41271 Remove code conditionalized on USE___THREAD.
41272
41273 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41274 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41275 not definedness.
41276
41277 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41278
41279 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41280 Define unconditionally.
41281 (__ASSUME_O_CLOEXEC): Likewise.
41282 (__ASSUME_SOCK_CLOEXEC): Likewise.
41283 (__ASSUME_IN_NONBLOCK): Likewise.
41284 (__ASSUME_PIPE2): Likewise.
41285 (__ASSUME_EVENTFD2): Likewise.
41286 (__ASSUME_SIGNALFD4): Likewise.
41287 (__ASSUME_DUP3): Likewise.
41288 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41289 (__ASSUME_DUP3): Do not define.
41290 (__ASSUME_EVENTFD2): Likewise.
41291 (__ASSUME_IN_NONBLOCK): Likewise.
41292 (__ASSUME_O_CLOEXEC): Likewise.
41293 (__ASSUME_PIPE2): Likewise.
41294 (__ASSUME_SIGNALFD4): Likewise.
41295 (__ASSUME_SOCK_CLOEXEC): Likewise.
41296 (__ASSUME_UTIMES): Undefine.
41297 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41298 (__ASSUME_UTIMES): Do not define.
41299 (__ASSUME_O_CLOEXEC): Likewise.
41300 (__ASSUME_SOCK_CLOEXEC): Likewise.
41301 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41302 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41303 0x020621].
41304 (__ASSUME_PIPE2): Likewise.
41305 (__ASSUME_EVENTFD2): Likewise.
41306 (__ASSUME_SIGNALFD4): Likewise.
41307 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41308 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41309 Do not define.
41310 (__ASSUME_EVENTFD2): Likewise.
41311 (__ASSUME_SIGNALFD4): Likewise.
41312 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41313 (__ASSUME_32BITUIDS): Likewise.
41314 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41315 (__ASSUME_IPC64): Likewise.
41316 (__ASSUME_ST_INO_64_BIT): Likewise.
41317 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41318 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41319 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41320 (__ASSUME_UTIMES): Do not define.
41321 (__ASSUME_PSELECT): Likewise.
41322 (__ASSUME_PPOLL): Likewise.
41323 (__ASSUME_O_CLOEXEC): Likewise.
41324 (__ASSUME_SOCK_CLOEXEC): Likewise.
41325 (__ASSUME_IN_NONBLOCK): Likewise.
41326 (__ASSUME_PIPE2): Likewise.
41327 (__ASSUME_EVENTFD2): Likewise.
41328 (__ASSUME_SIGNALFD4): Likewise.
41329 (__ASSUME_DUP3): Likewise.
41330 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41331 (__ASSUME_UTIMES): Likewise.
41332 (__ASSUME_O_CLOEXEC): Likewise.
41333 (__ASSUME_SOCK_CLOEXEC): Likewise.
41334 (__ASSUME_IN_NONBLOCK): Likewise.
41335 (__ASSUME_PIPE2): Likewise.
41336 (__ASSUME_EVENTFD2): Likewise.
41337 (__ASSUME_SIGNALFD4): Likewise.
41338 (__ASSUME_DUP3): Likewise.
41339 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41340 (__ASSUME_UTIMES): Likewise.
41341 (__ASSUME_O_CLOEXEC): Likewise.
41342 (__ASSUME_SOCK_CLOEXEC): Likewise.
41343 (__ASSUME_IN_NONBLOCK): Likewise.
41344 (__ASSUME_PIPE2): Likewise.
41345 (__ASSUME_EVENTFD2): Likewise.
41346 (__ASSUME_SIGNALFD4): Likewise.
41347 (__ASSUME_DUP3): Likewise.
41348 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41349 Likewise.
41350 (__ASSUME_UTIMES): Likewise.
41351 (__ASSUME_EVENTFD2): Likewise.
41352 (__ASSUME_SIGNALFD4): Likewise.
41353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41354 (__ASSUME_O_CLOEXEC): Likewise.
41355 (__ASSUME_SOCK_CLOEXEC): Likewise.
41356 (__ASSUME_IN_NONBLOCK): Likewise.
41357 (__ASSUME_PIPE2): Likewise.
41358 (__ASSUME_EVENTFD2): Likewise.
41359 (__ASSUME_SIGNALFD4): Likewise.
41360 (__ASSUME_DUP3): Likewise.
41361 (__ASSUME_UTIMES): Undefine.
41362
41363 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41364 feclearexcept. Remove symbol versioning code.
41365 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41366 symbol versioning code.
41367 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41368 symbol versioning code.
41369 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41370 feupdateenv. Remove symbol versioning code.
41371 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41372 fegetexceptflag. Remove symbol versioning code.
41373 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41374 fesetexceptflag. Remove symbol versioning code.
41375 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41376 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41377 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41378 (__posix_fadvise64_l32): Remove prototype.
41379 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41380 code.
41381
41382 2014-05-13 Roland McGrath <roland@hack.frob.com>
41383
41384 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41385 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41386 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41387 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41388
41389 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41390
41391 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41392 current working directory
41393
41394 2014-05-13 Roland McGrath <roland@hack.frob.com>
41395
41396 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41397 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41398 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41399 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41400 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41401 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41402 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41403 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41404 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41405 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41406 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41407 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41408 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41409 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41410 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41411 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41412 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41413 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41414 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41415 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41416 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41417 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41418 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41419 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41420 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41421 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41422 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41423 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41424 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41425 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41426 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41427 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41428 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41429 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41430 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41431 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41432 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41433 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41434 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41435 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41436 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41437 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41438
41439 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41440 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41441
41442 * sysdeps/unix/sysv/linux/arm/Makefile
41443 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41444 Add rt-aeabi_unwind_cpp_pr1.
41445 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41446 Add nptl-aeabi_unwind_cpp_pr1.
41447 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41448 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41449 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41450 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41451 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41452 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41453
41454 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41455 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41456 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41457 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41458
41459 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41460 Deconditionalize the code that was previously under [RESET_PID].
41461 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41462
41463 * sysdeps/generic/exit-thread.h: New file.
41464 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41465 * include/unistd.h (__exit_thread): Remove declaration.
41466 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41467 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41468 * csu/libc-start.c: Include <exit-thread.h>.
41469 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41470 * nptl/pthread_create.c: Include <exit-thread.h>.
41471 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41472 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41473 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41474 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41475 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41476 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41477 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41478 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41479 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41480 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41481 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41482 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41483 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41484 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41485 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41486 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41487 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41488
41489 2014-05-13 Andreas Schwab <schwab@suse.de>
41490
41491 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41492
41493 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41494
41495 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41496 (__ASSUME_UTIMES): Do not condition on kernel version.
41497 (__ASSUME_PSELECT): Define unconditionally.
41498 (__ASSUME_PPOLL): Likewise.
41499 (__ASSUME_ATFCTS): Likewise.
41500 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41501 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41502 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41503 (__ASSUME_UTIMENSAT): Define unconditionally.
41504 (__ASSUME_PRIVATE_FUTEX): Likewise.
41505 (__ASSUME_FALLOCATE): Likewise.
41506 (__ASSUME_O_CLOEXEC): Likewise.
41507 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41508 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41509 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41510 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41511 (__ASSUME_IN_NONBLOCK): Likewise.
41512 (__ASSUME_PIPE2): Likewise.
41513 (__ASSUME_EVENTFD2): Likewise.
41514 (__ASSUME_SIGNALFD4): Likewise.
41515 (__ASSUME_DUP3): Likewise.
41516 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41517 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41518 (__ASSUME_AT_RANDOM): Likewise.
41519 (__ASSUME_PREADV): Likewise.
41520 (__ASSUME_PWRITEV): Likewise.
41521 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41522 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41523 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41524 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41525 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41526 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41527 (__ASSUME_O_CLOEXEC): Define unconditionally.
41528 (__ASSUME_PSELECT): Do not undefine conditionally.
41529 (__ASSUME_PPOLL): Likewise.
41530 (__ASSUME_ATFCTS): Likewise.
41531 (__ASSUME_SET_ROBUST_LIST): Likewise.
41532 (__ASSUME_UTIMENSAT): Likewise.
41533 (__ASSUME_FDATASYNC): Define unconditionally.
41534 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41535 (__ASSUME_SIGFRAME_V2): Likewise.
41536 )__ASSUME_EVENTFD2): Likewise.
41537 (__ASSUME_SIGNALFD4): Likewise.
41538 (__ASSUME_PSELECT): Do not undefine conditionally.
41539 (__ASSUME_PPOLL): Likewise.
41540 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41541 (__ASSUME_PSELECT): Define unconditionally.
41542 (__ASSUME_PPOLL): Likewise.
41543 (__ASSUME_O_CLOEXEC): Likewise.
41544 (__ASSUME_SOCK_CLOEXEC): Likewise.
41545 (__ASSUME_IN_NONBLOCK): Likewise.
41546 (__ASSUME_PIPE2): Likewise.
41547 (__ASSUME_EVENTFD2): Likewise.
41548 (__ASSUME_SIGNALFD4): Likewise.
41549 (__ASSUME_DUP3): Likewise.
41550 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41551 (__ASSUME_O_CLOEXEC): Likewise.
41552 (__ASSUME_SOCK_CLOEXEC): Likewise.
41553 (__ASSUME_IN_NONBLOCK): Likewise.
41554 (__ASSUME_PIPE2): Likewise.
41555 (__ASSUME_EVENTFD2): Likewise.
41556 (__ASSUME_SIGNALFD4): Likewise.
41557 (__ASSUME_DUP3): Likewise.
41558 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41559 (__ASSUME_EVENTFD2): Likewise.
41560 (__ASSUME_SIGNALFD4): Likewise.
41561 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41562
41563 2014-05-12 Andreas Schwab <schwab@suse.de>
41564
41565 [BZ #16932]
41566 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41567 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41568 than maximum RPC packet size.
41569 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41570 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41571 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41572 (_nss_nis_getservbyport_r): Likewise.
41573
41574 2014-05-12 Will Newton <will.newton@linaro.org>
41575
41576 * malloc/Makefile (tests): Add tst-mallopt.
41577 * malloc/tst-mallopt.c: New file.
41578
41579 2014-05-09 Roland McGrath <roland@hack.frob.com>
41580
41581 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41582 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41583
41584 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41585
41586 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41587 (tst-tlsmod6.so): Likewise.
41588
41589 2014-05-09 Roland McGrath <roland@hack.frob.com>
41590
41591 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41592
41593 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41594
41595 [BZ #16064]
41596 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41597 and <dl-procinfo.h>.
41598 (__fegetenv): Save SSE state in envp->__eip if supported.
41599 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41600 envp->__eip if supported.
41601 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41602 and <dl-procinfo.h>.
41603 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41604 __data_offset and __data_selector in environment to 0. Set SSE
41605 state if supported.
41606 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41607 test-fenv-sse.
41608 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41609 -mfpmath=sse.
41610 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41611
41612 2014-05-09 Will Newton <will.newton@linaro.org>
41613
41614 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41615 and libc_relro_required for ARM.
41616 * sysdeps/arm/preconfigure: Regenerate.
41617
41618 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41619 Stefan Liebler <stli@linux.vnet.ibm.com>
41620
41621 * config.make.in (enable-lock-elision): New Makefile variable.
41622 * configure.ac: Likewise.
41623 * configure: Regenerate.
41624 * sysdeps/s390/configure.ac:
41625 Add check for gcc transactions support.
41626 * sysdeps/s390/configure: Regenerate.
41627 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41628 Build elision files if enabled.
41629 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41630 Add lock elision support for s390.
41631 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41632 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41633 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41634 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41635 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41636 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41637 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41638 Likewise.
41639 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41640 Likewise.
41641 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41642 Likewise.
41643 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41644 Likewise.
41645 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41646 (__lll_timedlock_elision, __lll_lock_elision)
41647 (__lll_unlock_elision, __lll_trylock_elision)
41648 (lll_timedlock_elision, lll_lock_elision)
41649 (lll_unlock_elision, lll_trylock_elision): Add.
41650 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41651 (pthread_mutex_t): Add lock elision support for s390.
41652
41653 2014-05-14 Wilco <wdijkstr@arm.com>
41654
41655 * sysdeps/arm/fclrexcpt.c: Cleanup.
41656 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41657 * sysdeps/arm/feenablxcpt.c: Cleanup.
41658 * sysdeps/arm/fegetenv.c: Cleanup.
41659 * sysdeps/arm/fegetexcept.c: Cleanup.
41660 * sysdeps/arm/fegetround.c: Cleanup.
41661 * sysdeps/arm/feholdexcpt.c: Cleanup.
41662 * sysdeps/arm/fesetenv.c: Cleanup.
41663 * sysdeps/arm/fesetround.c: Cleanup.
41664 * sysdeps/arm/feupdateenv.c: Cleanup.
41665 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41666 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41667 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41668 * sysdeps/arm/ftestexcept.c: Cleanup.
41669 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41670 * sysdeps/arm/setfpucw.c: Cleanup.
41671
41672 2014-05-09 Will Newton <will.newton@linaro.org>
41673
41674 * sysdeps/arm/armv7/strcmp.S: New file.
41675 * NEWS: Mention addition of ARMv7 optimized strcmp.
41676
41677 2014-05-08 Roland McGrath <roland@hack.frob.com>
41678
41679 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41680 look for %.ac rather than %.in.
41681
41682 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41683 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41684 * sysdeps/mach/hurd/configure: Regenerated.
41685 * sysdeps/unix/sysv/linux/configure: Regenerated.
41686
41687 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41688
41689 2014-05-07 Steve Ellcey <sellcey@mips.com>
41690
41691 [BZ# 16922]
41692 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41693 (LONG_SUB): Ditto.
41694 (PTR_SUB): Ditto.
41695
41696 2014-05-07 Andreas Schwab <schwab@suse.de>
41697
41698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41699 when skipping over non-matching result from nscd.
41700
41701 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41702
41703 [BZ #16876]
41704 * nptl/sockperf.c (client): Check socket return value.
41705
41706 [BZ #16877]
41707 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41708 nscd security class.
41709
41710 2014-05-06 Roland McGrath <roland@hack.frob.com>
41711
41712 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41713 * sysdeps/arm/unwind.h: ... here.
41714
41715 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41716
41717 [BZ# 16916]
41718 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41719 Define.
41720
41721 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41722
41723 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41724 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41725 multiarch strncpy for PPC64.
41726 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41727 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41729 multiarch optimizations.
41730 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41731 (__libc_ifunc_impl_list): Likewise.
41732 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41733 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41734 multiarch stpncpy for PPC64.
41735 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41736 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41737
41738 2014-05-06 Andreas Schwab <schwab@suse.de>
41739
41740 [BZ #16912]
41741 * gmon/mcount.c (_MCOUNT_DECL): Use
41742 atomic_compare_and_exchange_bool_acq instead of
41743 catomic_compare_and_exchange_bool_acq.
41744
41745 2014-05-05 Roland McGrath <roland@hack.frob.com>
41746
41747 * elf/Makefile (others, install-bin): Remove pldd.
41748 (pldd-modules): Variable removed.
41749 ($(objpfx)pldd): Target removed.
41750 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41751 (others, install-bin): Append pldd here.
41752 ($(objpfx)pldd): New target.
41753
41754 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41755 to 0, so the first #if test emitted later doesn't see it undefined.
41756 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41757 * sysdeps/gnu/errlist.c: Regenerated.
41758
41759 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41760
41761 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41762 [libc_hidden_builtin_def]: Define to empty value.
41763 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41764 [libc_hidden_builtin_def]: Likewise.
41765 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41766 [libc_hidden_builtin_def]: Likewise.
41767 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41768 [libc_hidden_builtin_def]: Likewise.
41769 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41770 __redirect_memcpy and define ifunc as default hidden symbol.
41771 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41772 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41773
41774 2014-05-04 Adam Conrad <adconrad@0c3.net>
41775
41776 * locale/iso-4217.def: Reintroduce XDR currency.
41777
41778 2014-05-04 Allan McRae <allan@archlinux.org>
41779
41780 * po/eo.po: Update Esperanto translation from translation project.
41781
41782 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41783
41784 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41785 and FEATURE_INDEX_MAX to 1.
41786 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41787
41788 2014-05-01 Steve Ellcey <sellcey@mips.com>
41789
41790 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41791 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41792 * iconvdata/big5.c (ONE_DIRECTION): Define.
41793 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41794 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41795 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41796 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41797 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41798 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41799 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41800 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41801 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41802 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41803 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41804 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41805 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41806 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41807 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41808 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41809 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41810 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41811 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41812 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41813 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41814 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41815 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41816 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41817 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41818 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41819 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41820 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41821 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41822 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41823 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41824 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41825 * iconvdata/johab.c (ONE_DIRECTION): Define.
41826 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41827 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41828 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41829 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41830 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41831 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41832 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41833 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41834 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41835 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41836
41837 2014-05-01 Roland McGrath <roland@hack.frob.com>
41838
41839 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41840 (_IO_JUMPS_OFFSET): Define to 0.
41841
41842 * nptl/sysdeps/pthread/bits/libc-lock.h
41843 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41844 (__libc_lock_define_initialized_recursive): Always define using
41845 initializer. Modern compilers treat uninitialized (implicit zero) and
41846 explicit zero initializers the same (i.e. put the datum in bss).
41847
41848 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41849
41850 * nscd/nscd-client.h: Include <string.h>.
41851
41852 2014-05-01 David S. Miller <davem@davemloft.net>
41853
41854 [BZ #16885]
41855 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41856 multiple zero bytes exist at the end of a string.
41857 Reported by Aurelien Jarno <aurelien@aurel32.net>
41858
41859 * string/test-strcmp.c (check): Add explicit test for situations where
41860 there are multiple zero bytes after the first.
41861
41862 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41863
41864 [BZ #16890]
41865 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41866 when compiling wprintf.
41867 * stdio-common/tstdiomisc.c (t3): New function.
41868 (main): Call it.
41869
41870 2014-05-01 Steve Ellcey <sellcey@mips.com>
41871
41872 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41873 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41874 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41875 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41876
41877 2014-05-01 Steve Ellcey <sellcey@mips.com>
41878
41879 * stdlib/longlong.h: Updated from GCC.
41880
41881 2014-05-01 Will Newton <will.newton@linaro.org>
41882 Bernard Ogden <bernie.ogden@linaro.org>
41883
41884 * NEWS: Update fixed bug list.
41885
41886 [BZ #15119]
41887 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41888
41889 2014-04-30 David S. Miller <davem@davemloft.net>
41890
41891 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41892 (libc_feholdexcept_setround_sparc_ctx): New function.
41893 (libc_fesetenv_sparc_ctx): Likewise.
41894 (libc_feupdateenv_sparc_ctx): Likewise.
41895 (libc_feholdsetround_sparc_ctx): Likewise.
41896 (libc_feholdexcept_setround_ctx): Define.
41897 (libc_feholdexcept_setroundf_ctx): Likewise.
41898 (libc_feholdexcept_setroundl_ctx): Likewise.
41899 (libc_fesetenv_ctx): Likewise.
41900 (libc_fesetenvf_ctx): Likewise.
41901 (libc_fesetenvl_ctx): Likewise.
41902 (libc_feupdateenv_ctx): Likewise.
41903 (libc_feupdateenvf_ctx): Likewise.
41904 (libc_feupdateenvl_ctx): Likewise.
41905 (libc_feresetround_ctx): Likewise.
41906 (libc_feresetroundf_ctx): Likewise.
41907 (libc_feresetroundl_ctx): Likewise.
41908 (libc_feholdsetround_ctx): Likewise.
41909 (libc_feholdsetroundf_ctx): Likewise.
41910 (libc_feholdsetroundl_ctx): Likewise.
41911
41912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41913 with __USE_GNU instead of XOPEN cpp guards.
41914
41915 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41916 0.
41917
41918 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41919 with XOPEN cpp guards.
41920
41921 2014-04-30 Julian Brown <julian@codesourcery.com>
41922
41923 [BZ #16888]
41924 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41925 handling.
41926
41927 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41928
41929 [BZ #9894]
41930 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41931 Change to 2.6.32.
41932 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41933 * sysdeps/unix/sysv/linux/configure: Regenerated.
41934 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41935 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41936 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41937 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41938 * README: Update reference to required Linux kernel version.
41939 * manual/install.texi (Linux): Update reference to required Linux
41940 kernel headers version.
41941 * INSTALL: Regenerated.
41942
41943 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41944 header inclusion.
41945 [POSIX] (limits.h): Likewise.
41946 [POSIX] (math.h): Likewise.
41947 [POSIX] (sys/wait.h): Likewise.
41948 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41949 function.
41950 [POSIX] (stddef.h): Do not allow header inclusion.
41951
41952 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41953
41954 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41955
41956 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41957
41958 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41959 Return immediately after lll_futex_wake.
41960
41961 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41962
41963 [BZ #16791]
41964 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41965 structure.
41966 (datahead_init_pos): Call datahead_init_common early.
41967 (datahead_init_neg): Likewise.
41968
41969 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41970 datahead_init_neg): New functions.
41971 * nscd/aicache.c (addhstaiX): Use them.
41972 * nscd/grpcache.c (cache_addgr): Likewise.
41973 * nscd/hstcache.c (cache_addhst): Likewise.
41974 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41975 * nscd/netgroupcache.c (do_notfound): Likewise.
41976 (addgetnetgrentX): Likewise.
41977 (addinnetgrX): Likewise.
41978 * nscd/pwdcache.c (cache_addpw): Likewise.
41979 * nscd/servicescache.c (cache_addserv): Likewise.
41980
41981 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41982 Atsushi Onoe <atsushi@onoe.org>
41983
41984 [BZ #14308]
41985 [BZ #12994]
41986 [BZ #13651]
41987 * resolv/res_query.c (__libc_res_nsearch): Return if at least
41988 one response is valid.
41989 * resolv/res_send.c (send_dg): Check for validity of other
41990 response if the current response is a referral.
41991
41992 2014-04-29 Steve Ellcey <sellcey@mips.com>
41993
41994 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41995
41996 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
41997
41998 [BZ #16823]
41999 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42000 Always divide by positive zero when computing -Inf result.
42001 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42002 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42003
42004 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42005
42006 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42007 FPSCR if value do not change.
42008 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42009 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42010 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42011 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42012 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42013 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42014 function.
42015
42016 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
42017
42018 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42019 * sysdeps/unix/sysv/linux/hppa: Move directory from
42020 ports/systeps/unix/sysv/linux/hppa.
42021 * README: Update listing for hppa-*-linux-gnu.
42022
42023 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
42024
42025 [BZ #16754]
42026 * manual/stdio.texi (Hook functions): Fix types of stream hook
42027 functions.
42028 [BZ #16854]
42029 * socket/sys/socket.h: Fix typo in comment.
42030
42031 2014-04-28 Wilco <wdijkstr@arm.com>
42032
42033 * sysdeps/arm/fenv_private.h: New file.
42034 * sysdeps/arm/math_private.h: New file.
42035 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42036
42037 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42040 with __int128_t.
42041 (La_x86_64_retval): Likewise.
42042
42043 2014-04-24 Ian Bolton <ian.bolton@arm.com>
42044
42045 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42046 fpsr if value didn't change.
42047 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42048 to fpcr if value didn't change.
42049 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42050 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42051 fpsr or fpcr if value didn't change.
42052 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42053 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42054 fpcr if value didn't change.
42055 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42056 to fpsr if value didn't change.
42057
42058 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
42059
42060 * nptl/tst-sem3.c: Use test-skeleton.c
42061 (main): Rename to do_test. Use return instead of
42062 exit.
42063 * nptl/tst-sem4.c: Use test-skeleton.c
42064 (main): Rename to do_test.
42065
42066 2014-04-22 David S. Miller <davem@davemloft.net>
42067
42068 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42069 (struct sigaction): New struct member __glibc_reserved0, change
42070 type of sa_flags to int.
42071
42072 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
42073
42074 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42075 (COUNT_LEADING_ZEROS_0): Define for AArch64.
42076
42077 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
42078
42079 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42080 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42081
42082 2014-04-22 Will Newton <will.newton@linaro.org>
42083 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
42084
42085 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42086 (__longjmp): Add longjmp and longjmp_target SystemTap
42087 probes.
42088 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42089 (__sigsetjmp): Add setjmp SystemTap probe.
42090
42091 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42092
42093 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42094 match manual order.
42095
42096 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42097
42098 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42099
42100 * sysdeps/powerpc/fpu/fenv_private.h
42101 (libc_feholdexcept_setroundl_ctx): Define to
42102 libc_feholdexcept_setround_ppc_ctx.
42103 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42104 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42105 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42106 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42107
42108 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42109
42110 * sysdeps/aarch64/math-tests.h: New file.
42111
42112 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42113
42114 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42115 New.
42116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42117 Check and set bit_AVX2_Usable.
42118 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42119 macro.
42120 (bit_AVX2): Likewise.
42121 (index_AVX2_Usable): Likewise.
42122 (CPUID_AVX2): Likewise.
42123 (HAS_AVX2): Likewise.
42124
42125 2014-04-17 Will Newton <will.newton@linaro.org>
42126
42127 * manual/setjmp.texi (System V contexts): Add note that
42128 calling setcontext on a context created by a call to a
42129 signal handler is undefined. Update text to note that
42130 setcontext from a signal handler is possible but not
42131 recommended.
42132
42133 [BZ #16629]
42134 * stdlib/tst-setcontext.c: Include signal.h.
42135 (main): Check that the signal stack before and
42136 after swapcontext is the same.
42137
42138 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42139 Re-implement to restore registers in user code and avoid
42140 rt_sigreturn system call.
42141
42142 2014-04-17 Wilco <wdijkstr@arm.com>
42143
42144 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42145 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42146 * math/test-fenv.c: Skip exception trap tests on targets which only
42147 support non-stop mode.
42148
42149 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42150 Wilco Dijkstra <wilco.dijkstra@arm.com>
42151
42152 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42153 (libc_feholdsetround_aarch64_ctx)
42154 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42155 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42156 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42157 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42158 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42159 (libc_feresetround_noexl_ctx): Define.
42160
42161 2014-04-16 Richard Henderson <rth@redhat.com>
42162
42163 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42164
42165 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42166 unwind tables.
42167
42168 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42169 const from the non-libc, non-ldso copy.
42170
42171 * sysdeps/alpha/libm-test-ulps: Regenerate.
42172
42173 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42174 Wilco Dijkstra <wilco.dijkstra@arm.com>
42175
42176 * sysdeps/aarch64/fpu/math_private.h: New file.
42177
42178 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42179
42180 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42181
42182 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42183
42184 [BZ #16275]
42185 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42186 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42187 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42188 Intel MPX bound registers before _dl_profile_fixup.
42189 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42190 registers after _dl_profile_fixup. Save and restore bound
42191 registers bnd0/bnd1 when calling _dl_call_pltexit.
42192 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42193 (LR_BND_OFFSET): Likewise.
42194 (LRV_BND0_OFFSET): Likewise.
42195 (LRV_BND1_OFFSET): Likewise.
42196
42197 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42198
42199 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42200 to...
42201 * sysdeps/mach/hurd/i386/tls.h: ... here.
42202 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42203 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42204 fields.
42205
42206 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42207
42208 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42209
42210 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42211
42212 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42213
42214 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42215
42216 [BZ #14770]
42217 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42218 * sysdeps/s390/configure: Regenerate.
42219
42220 [BZ #16824]
42221 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42222 Set round-to-nearest internally to reduce error accumulation.
42223
42224 2014-04-16 Alan Modra <amodra@gmail.com>
42225
42226 [BZ #16740]
42227 [BZ #16619]
42228 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42229 * math/libm-test.inc (frexp_test_data): Add tests.
42230 * NEWS: Update fixed bug list.
42231
42232 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42233
42234 * benchtests/Makefile: Depend on libraries in build directory.
42235 (bench-math): Separate out math tests.
42236 (bench-pthread): Separate out pthread tests.
42237 (bench): Include math and pthread tests.
42238
42239 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42240
42241 [BZ #16831]
42242 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42243 _dl_debug_initialize.
42244
42245 * configure.ac: Remove SELinux header check.
42246 * configure: Regenerate.
42247 * nscd/selinux.c (perms): Array of const char* to permission names.
42248 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42249 default policy. Call string_to_security_class and string_to_av_perm to
42250 translate strings. Enforce default policy and call avs_has_perm with
42251 results of translated strings.
42252
42253 2014-04-13 David S. Miller <davem@davemloft.net>
42254
42255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42256
42257 2014-04-12 Allan McRae <allan@archlinux.org>
42258
42259 [BZ #16838]
42260 * manual/string.texi (Collation Functions): Fix qsort argument
42261 order in example.
42262 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42263
42264 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42265
42266 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42267 Make the test a no-op if there are no exceptions defined.
42268
42269 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42270
42271 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42272 enable-hardcoded-path-in-tests
42273
42274 2014-04-11 Will Newton <will.newton@linaro.org>
42275
42276 * benchtests/Makefile (extra-objs): Add json-lib.o.
42277 (bench-func): Tidy up JSON output.
42278 * benchtests/bench-skeleton.c: Include json-lib.h.
42279 (main): Use JSON library functions to do output of
42280 benchmark results.
42281 * benchtests/bench-timing-type.c (main): Output the
42282 timing type simply, leaving formatting to the user.
42283 * benchtests/json-lib.c: New file.
42284 * benchtests/json-lib.h: Likewise.
42285
42286 2014-04-11 Torvald Riegel <triegel@redhat.com>
42287
42288 [BZ #15215]
42289 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42290 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42291 memory barriers. Add comments.
42292 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42293 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42294 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42295 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42296 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42297 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42298
42299 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42300
42301 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42302 * sysdeps/s390/s390-64/configure.ac: ... this ...
42303 * sysdeps/s390/configure.ac: ... to here.
42304 * sysdeps/s390/s390-32/configure: Delete file.
42305 * sysdeps/s390/s390-64/configure: Delete file.
42306 * sysdeps/s390/configure: Regenerate.
42307
42308 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42309
42310 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42311
42312 2014-04-11 Will Newton <will.newton@linaro.org>
42313
42314 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42315 to zero if it is not defined elsewhere. (mtrim): Test
42316 the value of MALLOC_DEBUG with #if rather than #ifdef.
42317
42318 2014-04-10 Torvald Riegel <triegel@redhat.com>
42319
42320 * benchtests/pthread_once-inputs: New file.
42321 * benchtests/pthread_once-source.c: New file.
42322 * benchtests/README: Update documentation.
42323
42324 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42325 H.J. Lu <hongjiu.lu@intel.com>
42326
42327 [BZ #16275]
42328 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42329 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42330 * sysdeps/x86_64/configure: Regenerated.
42331 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42332 macro.
42333 (REGISTER_SAVE_RAX): Likewise.
42334 (REGISTER_SAVE_RCX): Likewise.
42335 (REGISTER_SAVE_RDX): Likewise.
42336 (REGISTER_SAVE_RSI): Likewise.
42337 (REGISTER_SAVE_RDI): Likewise.
42338 (REGISTER_SAVE_R8): Likewise.
42339 (REGISTER_SAVE_R9): Likewise.
42340 (REGISTER_SAVE_BND0): Likewise.
42341 (REGISTER_SAVE_BND1): Likewise.
42342 (REGISTER_SAVE_BND2): Likewise.
42343 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42344 bound registers when calling _dl_fixup.
42345
42346 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42347
42348 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42349 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42350 of its definition.
42351 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42352 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42353 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42354 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42355 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42356 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42357 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42358
42359 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42360
42361 [BZ #15514]
42362 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42363 pathconf(_PC_NAME_MAX).
42364
42365 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42366
42367 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42368 Remove macro usage.
42369 (__PTHREAD_SPINS): Move definition to ...
42370 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42371 (__PTHREAD_SPINS): ... here.
42372 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42373 (__PTHREAD_SPIN): Likewise.
42374 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42375 (__PTHREAD_SPIN): Likewise.
42376 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42377 (__PTHREAD_SPIN): Likewise.
42378 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42379 (__PTHREAD_SPIN): Likewise.
42380 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42381 (__PTHREAD_SPIN): Likewise.
42382 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42383 (__PTHREAD_SPIN): Likewise.
42384 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42385 (__PTHREAD_SPIN): Likewise.
42386 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42387 (__PTHREAD_SPIN): Likewise.
42388 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42389 (__PTHREAD_SPIN): Likewise.
42390 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42391 (__PTHREAD_SPIN): Likewise.
42392 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42393 (__PTHREAD_SPIN): Likewise.
42394 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42395 (__PTHREAD_SPIN): Likewise.
42396
42397 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42398 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42399 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42400 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42401 imply folder.
42402 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42403 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42404 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42405 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42406 correct imply path.
42407 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42408 strlen symbol for non multi-arch builds.
42409 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42410 missing hidden_def and weak_alias.
42411
42412 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42413
42414 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42415
42416 2014-04-07 Will Newton <will.newton@linaro.org>
42417
42418 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42419 and contents. [!_LIBC] Remove #ifndef and contents.
42420 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42421 * string/memccpy.c (__memccpy): Use ANSI prototype.
42422 * string/memfrob.c (memfrob): Likewise.
42423 * string/strcoll.c (STRCOLL): Likewise.
42424 * string/strlen.c (strlen): Likewise.
42425 * string/strtok.c (STRTOK): Likewise.
42426 * string/strcat.c: Remove unused #include of memcopy.h.
42427 (strcat): Use ANSI prototype.
42428 * string/strchr.c: Remove unused #include of memcopy.h.
42429 (strchr): Use ANSI prototype.
42430 * string/strcmp.c: Remove unused #include of memcopy.h.
42431 (strcmp): Use ANSI prototype.
42432 * string/strcpy.c: Remove unused #include of memcopy.h.
42433 (strcpy): Use ANSI prototype.
42434
42435 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42436
42437 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42438 * config.make.in (config-extra-cppflags): Set it from
42439 libc_extra_cppflags.
42440 * configure.ac (libc_extra_cflags): Make it accumulate over
42441 configure fragments.
42442 (libc_extra_cppflags): New flag.
42443 * configure. Regenerate.
42444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42445 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42446 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42448
42449 [BZ #16815]
42450 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42451 result for FE_DOWNWARD rounding mode.
42452 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42453 Likewise.
42454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42455
42456 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42457
42458 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42459 in function argument name.
42460
42461 2014-04-03 David Svoboda <svoboda@cert.org>
42462
42463 [BZ #5666]
42464 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42465 explicitly.
42466
42467 2014-04-03 Roland McGrath <roland@hack.frob.com>
42468
42469 * elf/dl-unmap-segments.h: New file.
42470 * sysdeps/generic/ldsodefs.h
42471 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42472 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42473 * elf/dl-fptr.c: Likewise.
42474 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42475 * sysdeps/aarch64/tlsdesc.c: Likewise.
42476 * sysdeps/arm/tlsdesc.c: Likewise.
42477 * sysdeps/i386/tlsdesc.c: Likewise.
42478 * sysdeps/tile/dl-runtime.c: Likewise.
42479 * sysdeps/x86_64/tlsdesc.c: Likewise.
42480 * elf/dl-load.h: New file.
42481 * elf/dl-load.c: Include it.
42482 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42483 Macros moved to dl-load.h.
42484 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42485 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42486 Use _dl_unmap_segments in place of __munmap.
42487 Break out segment-mapping loop into ...
42488 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42489
42490 2014-04-03 Will Newton <will.newton@linaro.org>
42491
42492 * elf/dl-lookup.c (do_lookup_x): Remove comment
42493 referring to nested function and move variable
42494 declarations down to before first use.
42495
42496 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42497
42498 [BZ #16799]
42499 [BZ #16800]
42500 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42501 with 0 numerator.
42502 * math/s_catanf.c (__catanf): Likewise.
42503 * math/s_catanh.c (__catanh): Likewise.
42504 * math/s_catanhf.c (__catanhf): Likewise.
42505 * math/s_catanhl.c (__catanhl): Likewise.
42506 * math/s_catanl.c (__catanl): Likewise.
42507 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42508 by positive zero when computing -Inf result.
42509 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42510 (catanh_test): Likewise.
42511 * sysdeps/i386/fpu/libm-test-ulps: Update.
42512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42513
42514 [BZ #16789]
42515 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42516 instead of using underflowing value in computing result.
42517 * math/s_clog10.c (__clog10): Likewise.
42518 * math/s_clog10f.c (__clog10f): Likewise.
42519 * math/s_clog10l.c (__clog10l): Likewise.
42520 * math/s_clogf.c (__clogf): Likewise.
42521 * math/s_clogl.c (__clogl): Likewise.
42522 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42523 (clog10_test): Likewise.
42524 * sysdeps/i386/fpu/libm-test-ulps: Update.
42525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42526
42527 2014-04-02 Alan Modra <amodra@gmail.com>
42528
42529 [BZ #16739]
42530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42531 output when value is near a power of two. Use int64_t for lx and
42532 remove casts. Use decimal rather than hex exponent constants.
42533 Don't use long double multiplication when double will suffice.
42534 * math/libm-test.inc (nextafter_test_data): Add tests.
42535 * NEWS: Add 16739 and 16786 to bug list.
42536
42537 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42538
42539 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42540
42541 2014-04-01 Will Newton <will.newton@linaro.org>
42542
42543 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42544 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42545
42546 2014-04-01 Florian Weimer <fweimer@redhat.com>
42547
42548 [BZ #13347]
42549 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42550 * nptl/tst-setuid2.c: New file.
42551 * nptl/Makefile (xtests): Add tst-setuid2.
42552
42553 2014-04-01 Alan Modra <amodra@gmail.com>
42554
42555 [BZ #16786]
42556 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42557
42558 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42559
42560 [BZ #6803]
42561 [BZ #6804]
42562 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42563 set errno as appropriate.
42564 * math/w_scalbf.c (__scalbf): Likewise.
42565 * math/w_scalbl.c (__scalbl): Likewise.
42566 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42567 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42568 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42569 Add more NaN tests.
42570
42571 [BZ #16349]
42572 * math/w_atan2.c: Include <errno.h>.
42573 (__atan2): Set errno for result underflowing to zero.
42574 * math/w_atan2f.c: Include <errno.h>.
42575 (__atan2f): Set errno for result underflowing to zero.
42576 * math/w_atan2l.c: Include <errno.h>.
42577 (__atan2l): Set errno for result underflowing to zero.
42578 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42579 tests.
42580 * math/auto-libm-test-out: Regenerated.
42581
42582 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42583
42584 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42585 Encode instruction correctly in little endian.
42586 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42587 Likewise.
42588 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42589 Likewise.
42590 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42591 Likewise.
42592 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42593 Likewise.
42594
42595 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42596
42597 [BZ #9894]
42598 * sysdeps/unix/sysv/linux/kernel-features.h
42599 [__sparc__ && !__arch64__ && !__sparc_v9__]
42600 (__ASSUME_SET_ROBUST_LIST): Do not define.
42601 [__sparc__ && !__arch64__ && !__sparc_v9__]
42602 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42603 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42604 Likewise.
42605 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42606 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42607 (__ASSUME_REQUEUE_PI): Likewise.
42608 (__ASSUME_SET_ROBUST_LIST): Likewise.
42609 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42610 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42611 Undefine.
42612 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42613 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42614 Likewise.
42615 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42616 Likewise.
42617 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42618 Likewise.
42619 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42620 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42621 Undefine.
42622 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42623 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42624 Likewise.
42625
42626 [BZ #16648]
42627 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42628 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42629 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42630
42631 2014-03-31 Will Newton <will.newton@linaro.org>
42632
42633 * benchtests/Makefile (bench): Add ffs and ffsll to list
42634 of tests.
42635 * benchtests/ffs-inputs: New file.
42636 * benchtests/ffsll-inputs: Likewise.
42637
42638 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42639
42640 [BZ #16770]
42641 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42642 too large before casting to int.
42643 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42644 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42645 * math/libm-test.inc (scalb_test_data): Add more tests.
42646
42647 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42648
42649 * benchtests/Makefile (DETAILED_OPT): New make option.
42650 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42651 set.
42652 * benchtests/bench-skeleton.c: Include stdbool.h.
42653 (main): Store and print timings per input.
42654 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42655 member to each argument value.
42656 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42657 (_print_arg_data): Initialize per-input timing to 0.
42658
42659 * benchtests/Makefile (timing-type): New binary.
42660 (bench-clean): Also remove bench-timing-type.
42661 (bench): New target for timing-type.
42662 (bench-func): Print output in JSON format.
42663 * benchtests/bench-skeleton.c (main): Print output in JSON
42664 format.
42665 * benchtests/bench-timing-type.c: New file.
42666 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42667 (TIMING_PRINT_STATS): Remove.
42668 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42669 name separately.
42670
42671 * benchtests/bench-modf.c: Remove.
42672 * benchtests/modf-inputs: New inputs file.
42673
42674 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42675
42676 [BZ #16362]
42677 * math/s_clog10.c (M_PI_LOG10E): New macro.
42678 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42679 imaginary parts are 0.
42680 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42681 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42682 imaginary parts are 0.
42683 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42684 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42685 imaginary parts are 0.
42686 * math/libm-test.inc (clog10_test_data): Update expected results
42687 for when real and imaginary parts are 0.
42688
42689 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42690
42691 * elf/dl-load.c: Finish conversion of __builtin_expect into
42692 __glibc_{un}likely.
42693
42694 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42695
42696 [BZ #16348]
42697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42698 1+x for argument with exponent below -67.
42699 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42700 Likewise.
42701 * math/auto-libm-test-in: Add more tests of exp.
42702 * math/auto-libm-test-out: Regenerated.
42703
42704 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42705
42706 [BZ #16759]
42707 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42708 (nscd_getnetgrent): Use it.
42709
42710 [BZ #16760]
42711 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42712 of stpcpy.
42713
42714 2014-03-27 Andi Kleen <ak@linux.intel.com>
42715
42716 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42717 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42718 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42719 (lll_robust_unlock): Remove out of line section. Use cfi
42720 intrinsics.
42721 (LLL_STUB_UNWIND_INFO*): Remove.
42722 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42723 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42724 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42725 (lll_robust_unlock): Remove out of line section. Use cfi
42726 intrinsics.
42727 (LLL_STUB_UNWIND_INFO*): Remove.
42728
42729 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42730
42731 [BZ #16758]
42732 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42733 blank values.
42734
42735 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42736
42737 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42738
42739 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42740
42741 [BZ #16198]
42742 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42743 fnstenv.
42744 * math/test-fenv-preserve.c: New file.
42745 * math/Makefile (tests): Add test-fenv-preserve.
42746
42747 2014-03-26 Will Newton <will.newton@linaro.org>
42748
42749 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42750
42751 2014-03-25 Roland McGrath <roland@hack.frob.com>
42752
42753 * scripts/versionlist.awk: Partition the version sets and emit all
42754 GLIBC_* (sorted) before all others (sorted).
42755
42756 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42757
42758 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42759 GLIBC_2.2.5 version.
42760
42761 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42762
42763 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42764 calls.
42765
42766 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42767 previous change.
42768
42769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42770
42771 2014-03-25 Andreas Schwab <schwab@suse.de>
42772
42773 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42774 label to be used after in6ailist is initialized.
42775
42776 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42777
42778 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42779 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42780
42781 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42782
42783 [BZ #16357]
42784 [BZ #16599]
42785 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42786 min_plus_half.
42787 (fp_formats): Update initializers.
42788 (init_fp_formats): Initialize new field.
42789 (output_for_one_input_case): Allow underflow for results up to
42790 min_plus_half.
42791 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42792 * math/auto-libm-test-in: Don't mark some underflows from asin and
42793 atanh as spurious.
42794 * math/auto-libm-test-out: Regenerated.
42795 * sysdeps/i386/fpu/libm-test-ulps: Update.
42796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42797
42798 2014-03-25 Andreas Schwab <schwab@suse.de>
42799
42800 * libio/Makefile (tst-ftell-partial-wide-ENV)
42801 (tst-ftell-active-handler-ENV): Define.
42802
42803 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42804
42805 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42806
42807 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42808
42809 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42810
42811 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42812
42813 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42814 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42815 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42816
42817 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42818
42819 [BZ #16634]
42820 * elf/dl-load.c (open_verify): Add mode parameter.
42821 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42822 (open_path): Change from boolean 'secure' to complete flag 'mode'
42823 (_dl_map_object): Adjust.
42824 * elf/Makefile (tests): Add tst-dlopen-aout.
42825 * elf/tst-dlopen-aout.c: New test.
42826
42827 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42828
42829 [BZ #16714]
42830 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42831 (struct stat): Rename member pad0 to __glibc_reserved0.
42832
42833 [BZ #16712]
42834 * sysdeps/s390/s390-32/bits/wordsize.h
42835 (__WORDSIZE32_SIZE_ULONG): New define.
42836 * sysdeps/s390/s390-64/bits/wordsize.h
42837 (__WORDSIZE32_SIZE_ULONG): Likewise.
42838 * sysdeps/generic/stdint.h (SIZE_MAX):
42839 Define as UL if __WORDSIZE32_SIZE_ULONG.
42840
42841 [BZ #16713]
42842 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42843 (__glibc_reserved0): New variable.
42844 (sa_flags): Change type to int.
42845
42846 * posix/Makefile (before-compile): Use += before-compile instead
42847 of a :=.
42848
42849 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42850 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42851
42852 2014-03-20 Andreas Schwab <schwab@suse.de>
42853
42854 [BZ #16743]
42855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42856 non-matching result from nscd.
42857
42858 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42859
42860 * scripts/bench.py: Moved to ...
42861 * benchtests/scripts/bench.py: ... here.
42862 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42863
42864 2014-03-24 Andreas Schwab <schwab@suse.de>
42865
42866 [BZ #16002]
42867 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42868 alloca_account and account alloca use for struct in6ailist.
42869
42870 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42871
42872 [BZ #16284]
42873 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42874 rounding mode to recompute results that overflow to infinity or
42875 underflow to zero.
42876 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42877 bug 16284.
42878 * math/auto-libm-test-out: Regenerated.
42879 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42880 (ccosh_test): Likewise.
42881 (csin_test_data): Use plus_oflow.
42882 (csin_test): Use ALL_RM_TEST.
42883 (csinh_test_data): Use plus_oflow.
42884 (csinh_test): Use ALL_RM_TEST.
42885 * sysdeps/i386/fpu/libm-test-ulps: Update.
42886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42887
42888 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42889
42890 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42891 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42892 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42893
42894 [BZ #16731]
42895 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42896 when x - 1 is zero.
42897 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42898 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42899 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42901 argument is 1.
42902 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42903 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42904 zero.
42905 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42906 * sysdeps/i386/fpu/libm-test-ulps: Update.
42907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42908
42909 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42910
42911 * scripts/bench.pl: Remove file.
42912 * scripts/bench.py: New benchmark script.
42913 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42914 * benchtests/README: Mention python dependency.
42915 * scripts/pylintrc: New file.
42916 * scripts/pylint: New file.
42917
42918 * bits/mathdef.h: Use #ifdef instead of #if.
42919 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42920 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42921 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42922 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42923 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42924 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42925
42926 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42927 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42928
42929 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42931 and strpbrk-ppc64 objects.
42932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42933 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42934 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42935 multiarch strpbrk for POWER7.
42936 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42937 multiarch strpbrk for PPC64.
42938 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42939 ifunc selector.
42940 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42941 strpbrk for POWER7.
42942
42943 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42944
42945 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42946 (atan_test): Likewise.
42947 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42948 (atanh_test): Use ALL_RM_TEST.
42949 (atan2_test_data): Likewise.
42950 (cabs_test): Likewise.
42951 (cacosh_test): Likewise.
42952 (carg_test): Likewise.
42953 (casin_test): Likewise.
42954 (casinh_test): Likewise.
42955 (cbrt_test): Likewise.
42956 (csqrt_test): Likewise.
42957 (erf_test): Likewise.
42958 (erfc_test): Likewise.
42959 (pow10_test): Likewise.
42960 (exp2_test): Likewise.
42961 (hypot_test): Likewise.
42962 (j0_test): Likewise.
42963 (j1_test): Likewise.
42964 (lgamma_test): Likewise.
42965 (gamma_test): Likewise.
42966 (sincos_test): Likewise.
42967 (tanh_test): Likewise.
42968 (y0_test): Likewise.
42969 (y1_test): Likewise.
42970 * sysdeps/i386/fpu/libm-test-ulps: Update.
42971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42972
42973 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42974
42975 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42976 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42977 and strcspn-ppc64 objects.
42978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42979 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42980 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42981 multiarch strcspn for POWER7.
42982 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42983 multiarch strcspn for PPC64.
42984 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42985 ifunc selector.
42986 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42987 strcspn for POWER7.
42988
42989 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42990
42991 * math/gen-libm-test.pl (generate_testfile): Expect only function
42992 name as argument to AUTO_TESTS_* and pass results for all rounding
42993 modes to parse_args.
42994 (parse_auto_input): Separate inputs of automatic tests from
42995 outputs before storing in %auto_tests.
42996 * math/libm-test.inc (acos_test_data): Update call to
42997 AUTO_TESTS_f_f.
42998 (acos_test): Use ALL_RM_TEST.
42999 (acos_tonearest_test_data): Remove.
43000 (acos_test_tonearest): Likewise.
43001 (acos_towardzero_test_data): Likewise.
43002 (acos_test_towardzero): Likewise.
43003 (acos_downward_test_data): Likewise.
43004 (acos_test_downward): Likewise.
43005 (acos_upward_test_data): Likewise.
43006 (acos_test_upward): Likewise.
43007 (acosh_test_data): Update call to AUTO_TESTS_f_f.
43008 (asin_test_data): Likewise.
43009 (asin_test): Use ALL_RM_TEST.
43010 (asin_tonearest_test_data): Remove.
43011 (asin_test_tonearest): Likewise.
43012 (asin_towardzero_test_data): Likewise.
43013 (asin_test_towardzero): Likewise.
43014 (asin_downward_test_data): Likewise.
43015 (asin_test_downward): Likewise.
43016 (asin_upward_test_data): Likewise.
43017 (asin_test_upward): Likewise.
43018 (asinh_test_data): Update call to AUTO_TESTS_f_f.
43019 (atan_test_data): Likewise.
43020 (atanh_test_data): Likewise.
43021 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43022 (cabs_test_data): Update call to AUTO_TESTS_c_f.
43023 (carg_test_data): Likewise.
43024 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43025 (ccos_test_data): Update call to AUTO_TESTS_c_c.
43026 (ccosh_test_data): Likewise.
43027 (cexp_test_data): Likewise.
43028 (clog_test_data): Likewise.
43029 (clog10_test_data): Likewise.
43030 (cos_test_data): Update call to AUTO_TESTS_f_f.
43031 (cos_test): Use ALL_RM_TEST.
43032 (cos_tonearest_test_data): Remove.
43033 (cos_test_tonearest): Likewise.
43034 (cos_towardzero_test_data): Likewise.
43035 (cos_test_towardzero): Likewise.
43036 (cos_downward_test_data): Likewise.
43037 (cos_test_downward): Likewise.
43038 (cos_upward_test_data): Likewise.
43039 (cos_test_upward): Likewise.
43040 (cosh_test_data): Update call to AUTO_TESTS_f_f.
43041 (cosh_test): Use ALL_RM_TEST.
43042 (cosh_tonearest_test_data): Remove.
43043 (cosh_test_tonearest): Likewise.
43044 (cosh_towardzero_test_data): Likewise.
43045 (cosh_test_towardzero): Likewise.
43046 (cosh_downward_test_data): Likewise.
43047 (cosh_test_downward): Likewise.
43048 (cosh_upward_test_data): Likewise.
43049 (cosh_test_upward): Likewise.
43050 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43051 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43052 (ctan_test_data): Likewise.
43053 (ctan_test): Use ALL_RM_TEST.
43054 (ctan_tonearest_test_data): Remove.
43055 (ctan_test_tonearest): Likewise.
43056 (ctan_towardzero_test_data): Likewise.
43057 (ctan_test_towardzero): Likewise.
43058 (ctan_downward_test_data): Likewise.
43059 (ctan_test_downward): Likewise.
43060 (ctan_upward_test_data): Likewise.
43061 (ctan_test_upward): Likewise.
43062 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43063 (ctanh_test): Use ALL_RM_TEST.
43064 (ctanh_tonearest_test_data): Remove.
43065 (ctanh_test_tonearest): Likewise.
43066 (ctanh_towardzero_test_data): Likewise.
43067 (ctanh_test_towardzero): Likewise.
43068 (ctanh_downward_test_data): Likewise.
43069 (ctanh_test_downward): Likewise.
43070 (ctanh_upward_test_data): Likewise.
43071 (ctanh_test_upward): Likewise.
43072 (erf_test_data): Update call to AUTO_TESTS_f_f.
43073 (erfc_test_data): Likewise.
43074 (exp_test_data): Likewise.
43075 (exp_test): Use ALL_RM_TEST.
43076 (exp_tonearest_test_data): Remove.
43077 (exp_test_tonearest): Likewise.
43078 (exp_towardzero_test_data): Likewise.
43079 (exp_test_towardzero): Likewise.
43080 (exp_downward_test_data): Likewise.
43081 (exp_test_downward): Likewise.
43082 (exp_upward_test_data): Likewise.
43083 (exp_test_upward): Likewise.
43084 (exp10_test_data): Update call to AUTO_TESTS_f_f.
43085 (exp10_test): Use ALL_RM_TEST.
43086 (exp10_tonearest_test_data): Remove.
43087 (exp10_test_tonearest): Likewise.
43088 (exp10_towardzero_test_data): Likewise.
43089 (exp10_test_towardzero): Likewise.
43090 (exp10_downward_test_data): Likewise.
43091 (exp10_test_downward): Likewise.
43092 (exp10_upward_test_data): Likewise.
43093 (exp10_test_upward): Likewise.
43094 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43095 (expm1_test_data): Likewise.
43096 (expm1_test): Use ALL_RM_TEST.
43097 (expm1_tonearest_test_data): Remove.
43098 (expm1_test_tonearest): Likewise.
43099 (expm1_towardzero_test_data): Likewise.
43100 (expm1_test_towardzero): Likewise.
43101 (expm1_downward_test_data): Likewise.
43102 (expm1_test_downward): Likewise.
43103 (expm1_upward_test_data): Likewise.
43104 (expm1_test_upward): Likewise.
43105 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43106 (fma_test): Use ALL_RM_TEST.
43107 (fma_towardzero_test_data): Remove.
43108 (fma_test_towardzero): Likewise.
43109 (fma_downward_test_data): Likewise.
43110 (fma_test_downward): Likewise.
43111 (fma_upward_test_data): Likewise.
43112 (fma_test_upward): Likewise.
43113 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43114 (j0_test_data): Update call to AUTO_TESTS_f_f.
43115 (j1_test_data): Likewise.
43116 (jn_test_data): Update call to AUTO_TESTS_if_f.
43117 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43118 (log_test_data): Update call to AUTO_TESTS_f_f.
43119 (log10_test_data): Likewise.
43120 (log1p_test_data): Likewise.
43121 (log2_test_data): Likewise.
43122 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43123 (pow_tonearest_test_data): Likewise.
43124 (sin_test_data): Update call to AUTO_TESTS_f_f.
43125 (sin_test): Use ALL_RM_TEST.
43126 (sin_tonearest_test_data): Remove.
43127 (sin_test_tonearest): Likewise.
43128 (sin_towardzero_test_data): Likewise.
43129 (sin_test_towardzero): Likewise.
43130 (sin_downward_test_data): Likewise.
43131 (sin_test_downward): Likewise.
43132 (sin_upward_test_data): Likewise.
43133 (sin_test_upward): Likewise.
43134 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43135 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43136 (sinh_test): Use ALL_RM_TEST.
43137 (sinh_tonearest_test_data): Remove.
43138 (sinh_test_tonearest): Likewise.
43139 (sinh_towardzero_test_data): Likewise.
43140 (sinh_test_towardzero): Likewise.
43141 (sinh_downward_test_data): Likewise.
43142 (sinh_test_downward): Likewise.
43143 (sinh_upward_test_data): Likewise.
43144 (sinh_test_upward): Likewise.
43145 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43146 (sqrt_test): Use ALL_RM_TEST.
43147 (sqrt_tonearest_test_data): Remove.
43148 (sqrt_test_tonearest): Likewise.
43149 (sqrt_towardzero_test_data): Likewise.
43150 (sqrt_test_towardzero): Likewise.
43151 (sqrt_downward_test_data): Likewise.
43152 (sqrt_test_downward): Likewise.
43153 (sqrt_upward_test_data): Likewise.
43154 (sqrt_test_upward): Likewise.
43155 (tan_test_data): Update call to AUTO_TESTS_f_f.
43156 (tan_test): Use ALL_RM_TEST.
43157 (tan_tonearest_test_data): Remove.
43158 (tan_test_tonearest): Likewise.
43159 (tan_towardzero_test_data): Likewise.
43160 (tan_test_towardzero): Likewise.
43161 (tan_downward_test_data): Likewise.
43162 (tan_test_downward): Likewise.
43163 (tan_upward_test_data): Likewise.
43164 (tan_test_upward): Likewise.
43165 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43166 (tgamma_test_data): Likewise.
43167 (y0_test_data): Likewise.
43168 (y1_test_data): Likewise.
43169 (yn_test_data): Update call to AUTO_TESTS_if_f.
43170 (main): Do not call removed functions.
43171
43172 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43173
43174 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43175 (ldexp_test_data): Remove.
43176 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43177 scalbn_test_data.
43178 (scalb_test): Use ALL_RM_TEST.
43179
43180 2014-03-19 Andreas Schwab <schwab@suse.de>
43181
43182 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43183
43184 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43185
43186 [BZ #16649]
43187 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43189 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43191 (__ASSUME_PREADV): Undefine.
43192 (__ASSUME_PWRITEV): Likewise.
43193
43194 2014-03-18 Roland McGrath <roland@hack.frob.com>
43195
43196 * bits/mman-linux.h: Add comment about non-Linux use.
43197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43198 bits/mman-linux.h resting place.
43199
43200 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43201 * bits/mman-linux.h: ... here.
43202
43203 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43204
43205 * conform/conformtest.pl: Add standard definition when calling C
43206 preprocessor on data files.
43207 (checknamespace): Remove unused variable.
43208
43209 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43210
43211 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43212 minus_oflow, plus_uflow and minus_uflow in expected results.
43213 * math/libm-test.inc (scalbn_test_data): Add more tests of
43214 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43215 minus_uflow.
43216 (scalbn_test): Use ALL_RM_TEST.
43217 (scalbln_test_data): Add more tests of negative arguments. Use
43218 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43219 (scalbln_test): Use ALL_RM_TEST.
43220
43221 2014-03-18 Roland McGrath <roland@hack.frob.com>
43222
43223 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43224
43225 2014-03-18 Will Newton <will.newton@linaro.org>
43226
43227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43228 inaccurate comment.
43229
43230 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43231
43232 * Makerules [!subdir] (check-abi): Exit with error status if a
43233 test failed.
43234
43235 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43236
43237 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43238 for rint. Include results for all rounding modes.
43239 (nearbyint_test): Use ALL_RM_TEST.
43240 (rint_test_data): Include all tests used for nearbyint.
43241
43242 2014-03-17 Will Newton <will.newton@linaro.org>
43243
43244 * nptl/sysdeps/pthread/pthread.h: Revert previous
43245 change.
43246
43247 * sysdeps/generic/ldsodefs.h: Revert previous
43248 change.
43249
43250 * libio/genops.c: Revert previous change.
43251 * libio/libioP.h: Likewise.
43252 * stdio-common/vfprintf.c: Likewise.
43253
43254 * sysdeps/generic/math_private.h: Revert previous
43255 change.
43256
43257 * sysdeps/generic/math_private.h: Check whether
43258 HAVE_RM_CTX is defined with #ifdef rather
43259 than #if.
43260
43261 * argp/argp-fmtstream.h: Check whether
43262 __STRICT_ANSI__ is defined with #ifdef rather
43263 than #if.
43264 * argp/argp.h: Likewise.
43265
43266 * libio/genops.c: Check whether
43267 _IO_JUMPS_OFFSET is defined with #ifdef rather
43268 than #if.
43269 * libio/libioP.h: Likewise.
43270 * stdio-common/vfprintf.c: Likewise.
43271
43272 * sysdeps/generic/ldsodefs.h: Check whether
43273 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43274 than #if.
43275
43276 * nptl/sysdeps/pthread/pthread.h: Check
43277 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43278 its value.
43279
43280 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43281
43282 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43283 setting O_APPEND.
43284 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43285 test case.
43286
43287 [BZ #16680]
43288 * libio/fileops.c (_IO_file_open): Seek to end of file but
43289 don't cache the offset.
43290 (get_file_offset): Remove function.
43291 (do_ftell): Use cached offset when available.
43292 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43293 don't cache the offset.
43294 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43295 case.
43296 (do_one_test): Call it.
43297 (do_ftell_test): Fix up expected old offset for a+ mode.
43298 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43299 available.
43300
43301 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43302 up test status with function return status.
43303 (do_write_test): Likewise.
43304 (do_append_test): Likewise.
43305
43306 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43307 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43308 Remove.
43309
43310 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43311
43312 * math/gen-libm-test.pl (parse_args): Handle results specified for
43313 each rounding mode separately.
43314 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43315 tests and results from lrint_tonearest_test_data,
43316 lrint_towardzero_test_data, lrint_downward_test_data and
43317 lrint_upward_test_data.
43318 (lrint_test): Use ALL_RM_TEST.
43319 (lrint_tonearest_test_data): Remove.
43320 (lrint_test_tonearest): Likewise.
43321 (lrint_towardzero_test_data): Likewise.
43322 (lrint_test_towardzero): Likewise.
43323 (lrint_downward_test_data): Likewise.
43324 (lrint_test_downward): Likewise.
43325 (lrint_upward_test_data): Likewise.
43326 (lrint_test_upward): Likewise.
43327 (llrint_test_data): Merge in per-rounding-mode tests and results
43328 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43329 llrint_downward_test_data and llrint_upward_test_data.
43330 (llrint_test): Use ALL_RM_TEST.
43331 (llrint_tonearest_test_data): Remove.
43332 (llrint_test_tonearest): Likewise.
43333 (llrint_towardzero_test_data): Likewise.
43334 (llrint_test_towardzero): Likewise.
43335 (llrint_downward_test_data): Likewise.
43336 (llrint_test_downward): Likewise.
43337 (llrint_upward_test_data): Likewise.
43338 (llrint_test_upward): Likewise.
43339 (rint_test_data): Merge in per-rounding-mode tests and results
43340 from rint_tonearest_test_data, rint_towardzero_test_data,
43341 rint_downward_test_data and rint_upward_test_data. Add
43342 per-rounding-mode results for tests not in those arrays.
43343 (rint_test): Use ALL_RM_TEST.
43344 (rint_tonearest_test_data): Remove.
43345 (rint_test_tonearest): Likewise.
43346 (rint_towardzero_test_data): Likewise.
43347 (rint_test_towardzero): Likewise.
43348 (rint_downward_test_data): Likewise.
43349 (rint_test_downward): Likewise.
43350 (rint_upward_test_data): Likewise.
43351 (rint_test_upward): Likewise.
43352 (main): Don't call removed functions.
43353
43354 2014-03-14 Roland McGrath <roland@hack.frob.com>
43355
43356 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43357 "Compiled on ..." crapola. It is anti-useful.
43358
43359 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43360
43361 * scripts/evaluate-test.sh: Handle fourth argument to determine
43362 whether test run should stop on failure.
43363 * Makeconfig (stop-on-test-failure): New variable.
43364 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43365 $(stop-on-test-failure).
43366 * Makefile (tests): Give a summary of results from testing and
43367 exit with failure status if they include an ERROR or FAIL.
43368 (xtests): Likewise.
43369 * manual/install.texi (Configuring and compiling): Mention
43370 stop-on-test-failure=y.
43371 * INSTALL: Regenerated.
43372
43373 2014-03-14 Roland McGrath <roland@hack.frob.com>
43374
43375 * scripts/versionlist.awk: New file.
43376 * Makerules [$(build-shared) = yes]
43377 (postclean-generated): Add Versions.def, not Versions.def.v and
43378 Versions.def.v.i.
43379 ($(common-objpfx)Versions.def.v.i): Target removed.
43380 ($(common-objpfx)Versions.def): New target.
43381 ($(common-objpfx)Versions.all): Depend on that rather that
43382 $(common-objpfx)Versions.def.v.
43383 * Versions.def: File removed.
43384
43385 * Makeconfig (+gccwarn): Add -Wundef.
43386 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43387 a dl-sysdep.h breaking its contract.
43388 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43389 * include/stackinfo.h: New file.
43390 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43391 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43392 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43393 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43394 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43395 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43396 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43397 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43398 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43399 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43400 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43401 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43402 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43403 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43404 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43405
43406 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43407
43408 [BZ #16707]
43409 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43410 implementation.
43411 * math/libm-test.inc (round_test_data): Add more tests.
43412
43413 [BZ #16706]
43414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43415 implementation.
43416 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43417
43418 [BZ #16701]
43419 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43420 implementation.
43421 * math/libm-test.inc (ceil_test_data): Add more tests.
43422
43423 * math/libm-test.inc (trunc_test_data): Add more tests related to
43424 BZ#16414.
43425
43426 2014-03-14 Roland McGrath <roland@hack.frob.com>
43427
43428 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43429 with #if rather than #ifdef.
43430 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43431
43432 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43433
43434 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43435 first. Disable AVX-512 GCC support if assembler doesn't support
43436 it.
43437 * sysdeps/x86_64/configure: Regenerated.
43438
43439 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43440
43441 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43442 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43443 (__old_pthread_attr_setstack): Likewise.
43444 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43445 [!_STACK_GROWS_DOWN]: Likewise.
43446
43447 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43448
43449 * config.make.in (have-bash2): Delete.
43450 * configure.ac (libc_cv_have_bash2): Delete.
43451 * configure: Regenerate.
43452 * elf/Makefile (common-ldd-rewrite): Rename to ...
43453 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43454 (sh-ldd-rewrite): Delete.
43455 (bash-ldd-rewrite): Delete.
43456 (have-bash2): Delete checks.
43457 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43458 ldd-rewrite.
43459
43460 * config.make.in (have-ksh): Delete.
43461 (KSH): Delete.
43462 * configure.ac (libc_cv_have_ksh): Delete.
43463 * configure: Regenerate.
43464
43465 * elf/Makefile: Delete $(have-ksh) check.
43466 ($(objpfx)sotruss): Change KSH to BASH.
43467 * elf/sotruss.ksh: Rename to ...
43468 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43469 function style to match POSIX. Drop ksh vim mode setting.
43470
43471 * manual/time.texi (Specifying the Time Zone with TZ): Change
43472 Tuesday to Thursday.
43473
43474 * debug/tst-longjmp_chk2.c: Update header comment.
43475 (stackoverflow_handler): Add comment. Call assert on pass value.
43476
43477 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43478
43479 [BZ #16194]
43480 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43481 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43482 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43483 (La_x86_64_vector): Add zmm.
43484 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43485 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43486 ($(objpfx)tst-audit10): New target.
43487 ($(objpfx)tst-audit10.out): Likewise.
43488 (tst-audit10-ENV): New.
43489 (AVX512-CFLAGS): Likewise.
43490 (CFLAGS-tst-audit10.c): Likewise.
43491 (CFLAGS-tst-auditmod10a.c): Likewise.
43492 (CFLAGS-tst-auditmod10b.c): Likewise.
43493 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43494 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43495 * sysdeps/x86_64/configure: Regenerated.
43496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43497 AVX-512 zmm register support.
43498 (_dl_x86_64_save_sse): Likewise.
43499 (_dl_x86_64_restore_sse): Likewise.
43500 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43501 size vector registers.
43502 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43503 (ZMM_SIZE): Likewise.
43504 * sysdeps/x86_64/tst-audit10.c: New file.
43505 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43506 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43507
43508 2014-03-13 Roland McGrath <roland@hack.frob.com>
43509
43510 * configure.ac (HAVE_EHDR_START): New check.
43511 * configure: Regenerated.
43512 * config.h.in (HAVE_EHDR_START): New #undef.
43513 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43514 assuming the lowest-addressed segment maps the start of the file.
43515
43516 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43517
43518 * INSTALL: Regenerated.
43519
43520 2014-03-13 Will Newton <will.newton@linaro.org>
43521
43522 * manual/setjmp.texi (System V contexts): Improve
43523 clarity and grammar of documentation.
43524
43525 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43526
43527 [BZ #16381]
43528 * elf/Makefile (tests): Add tst-pie2.
43529 (tests-pie): Add tst-pie2.
43530 * elf/tst-pie2.c: New file.
43531 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43532 for ET_EXEC.
43533 * elf/rtld.c (map_doit): Load executable as lt_executable.
43534 (dl_main): Likewise.
43535
43536 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43537
43538 [BZ #16642]
43539 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43540 (__ASSUME_PSELECT): Undefine.
43541
43542 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43543
43544 [BZ #16689]
43545 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43546 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43547 static build.
43548 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43549 selector for static builds.
43550
43551 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43552
43553 [BZ #16695]
43554 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43555 key in the buffer.
43556
43557 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43558
43559 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43560 IFUNC selector for static builds.
43561
43562 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43563
43564 * sysdeps/mips/math_private.h [__mips_hard_float]
43565 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43566 libc_feresetround_mips_ctx.
43567 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43568 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43569 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43570
43571 [BZ #16677]
43572 * math/s_nextafter.c (__nextafter): Do not return value from
43573 overflowing computation.
43574 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43575 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43576 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43577 Likewise.
43578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43579 Likewise.
43580 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43581 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43582
43583 2014-03-11 Roland McGrath <roland@hack.frob.com>
43584
43585 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43586 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43587 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43588 the new mov targetting sp.
43589
43590 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43591
43592 [BZ #16683]
43593 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43594 Define it for static builds as well.
43595 (NO_BZERO_IMPL): Likewise.
43596
43597 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43598
43599 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43600 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43601 multiarch strspn for PPC64.
43602 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43603 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43605 (__libc_ifunc_impl_list): Likewise.
43606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43607 multiarch optimizations
43608 * string/strspn.c (strspn): Using macro to redefine symbol name.
43609
43610 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43611 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43612
43613 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43614 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43615 multiarch strncat for PPC64.
43616 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43617 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43619 (__libc_ifunc_impl_list): Likewise.
43620 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43621 multiarch optimizations
43622
43623 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43624
43625 [BZ #16639]
43626 * nscd/nscd.service: Make service type forking.
43627
43628 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43629
43630 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43631 sign in non default rounding modes.
43632 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43633
43634 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43635
43636 * math/libm-test.inc (ALL_RM_TEST): New macro.
43637 (ceil_test): Use ALL_RM_TEST.
43638 (cimag_test): Likewise.
43639 (conj_test): Likewise.
43640 (copysign_test): Likewise.
43641 (cproj_test): Likewise.
43642 (creal_test): Likewise.
43643 (fabs_test): Likewise.
43644 (floor_test): Likewise.
43645 (fmax_test): Likewise.
43646 (fmin_test): Likewise.
43647 (fmod_test): Likewise.
43648 (fpclassify_test): Likewise.
43649 (frexp_test): Likewise.
43650 (ilogb_test): Likewise.
43651 (isfinite_test): Likewise.
43652 (finite_test): Likewise.
43653 (isgreater_test): Likewise.
43654 (isgreaterequal_test): Likewise.
43655 (isinf_test): Likewise.
43656 (isless_test): Likewise.
43657 (islessequal_test): Likewise.
43658 (islessgreater_test): Likewise.
43659 (isnan_test): Likewise.
43660 (isnormal_test): Likewise.
43661 (issignaling_test): Likewise.
43662 (isunordered_test): Likewise.
43663 (logb_test): Likewise.
43664 (logb_downward_test_data): Remove.
43665 (logb_test_downward): Likewise.
43666 (lround_test): Use ALL_RM_TEST.
43667 (llround_test): Likewise.
43668 (modf_test): Likewise.
43669 (nexttoward_test): Likewise.
43670 (remainder_test): Likewise.
43671 (drem_test): Likewise.
43672 (remainder_tonearest_test_data): Likewise.
43673 (remainder_test_tonearest): Likewise.
43674 (drem_test_tonearest): Likewise.
43675 (remainder_towardzero_test_data): Likewise.
43676 (remainder_test_towardzero): Likewise.
43677 (drem_test_towardzero): Likewise.
43678 (remainder_downward_test_data): Likewise.
43679 (remainder_test_downward): Likewise.
43680 (drem_test_downward): Likewise.
43681 (remainder_upward_test_data): Likewise.
43682 (remainder_test_upward): Likewise.
43683 (drem_test_upward): Likewise.
43684 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43685 (round_test): Use ALL_RM_TEST.
43686 (signbit_test): Likewise.
43687 (trunc_test): Likewise.
43688 (significand_test): Likewise.
43689 (main): Don't call removed functions.
43690
43691 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43692
43693 [BZ #16674]
43694 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43695 || __USE_XOPEN2K8].
43696 (ILL_ILLOPN): Likewise.
43697 (ILL_ILLADR): Likewise.
43698 (ILL_ILLTRP): Likewise.
43699 (ILL_PRVOPC): Likewise.
43700 (ILL_PRVREG): Likewise.
43701 (ILL_COPROC): Likewise.
43702 (ILL_BADSTK): Likewise.
43703 (FPE_INTDIV): Likewise.
43704 (FPE_INTOVF): Likewise.
43705 (FPE_FLTDIV): Likewise.
43706 (FPE_FLTOVF): Likewise.
43707 (FPE_FLTUND): Likewise.
43708 (FPE_FLTRES): Likewise.
43709 (FPE_FLTINV): Likewise.
43710 (FPE_FLTSUB): Likewise.
43711 (SEGV_MAPERR): Likewise.
43712 (SEGV_ACCERR): Likewise.
43713 (BUS_ADRALN): Likewise.
43714 (BUS_ADRERR): Likewise.
43715 (BUS_OBJERR): Likewise.
43716 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43717 (TRAP_TRACE): Likewise.
43718 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43719 __USE_XOPEN2K8].
43720 (CLD_KILLED): Likewise.
43721 (CLD_DUMPED): Likewise.
43722 (CLD_TRAPPED): Likewise.
43723 (CLD_STOPPED): Likewise.
43724 (CLD_CONTINUED): Likewise.
43725 (POLL_IN): Likewise.
43726 (POLL_OUT): Likewise.
43727 (POLL_MSG): Likewise.
43728 (POLL_ERR): Likewise.
43729 (POLL_PRI): Likewise.
43730 (POLL_HUP): Likewise.
43731 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43732 Likewise.
43733 (ILL_ILLOPN): Likewise.
43734 (ILL_ILLADR): Likewise.
43735 (ILL_ILLTRP): Likewise.
43736 (ILL_PRVOPC): Likewise.
43737 (ILL_PRVREG): Likewise.
43738 (ILL_COPROC): Likewise.
43739 (ILL_BADSTK): Likewise.
43740 (FPE_INTDIV): Likewise.
43741 (FPE_INTOVF): Likewise.
43742 (FPE_FLTDIV): Likewise.
43743 (FPE_FLTOVF): Likewise.
43744 (FPE_FLTUND): Likewise.
43745 (FPE_FLTRES): Likewise.
43746 (FPE_FLTINV): Likewise.
43747 (FPE_FLTSUB): Likewise.
43748 (SEGV_MAPERR): Likewise.
43749 (SEGV_ACCERR): Likewise.
43750 (BUS_ADRALN): Likewise.
43751 (BUS_ADRERR): Likewise.
43752 (BUS_OBJERR): Likewise.
43753 (BUS_MCEERR_AR): Likewise.
43754 (BUS_MCEERR_AO): Likewise.
43755 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43756 (TRAP_TRACE): Likewise.
43757 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43758 __USE_XOPEN2K8].
43759 (CLD_KILLED): Likewise.
43760 (CLD_DUMPED): Likewise.
43761 (CLD_TRAPPED): Likewise.
43762 (CLD_STOPPED): Likewise.
43763 (CLD_CONTINUED): Likewise.
43764 (POLL_IN): Likewise.
43765 (POLL_OUT): Likewise.
43766 (POLL_MSG): Likewise.
43767 (POLL_ERR): Likewise.
43768 (POLL_PRI): Likewise.
43769 (POLL_HUP): Likewise.
43770 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43771 (ILL_ILLOPN): Likewise.
43772 (ILL_ILLADR): Likewise.
43773 (ILL_ILLTRP): Likewise.
43774 (ILL_PRVOPC): Likewise.
43775 (ILL_PRVREG): Likewise.
43776 (ILL_COPROC): Likewise.
43777 (ILL_BADSTK): Likewise.
43778 (FPE_INTDIV): Likewise.
43779 (FPE_INTOVF): Likewise.
43780 (FPE_FLTDIV): Likewise.
43781 (FPE_FLTOVF): Likewise.
43782 (FPE_FLTUND): Likewise.
43783 (FPE_FLTRES): Likewise.
43784 (FPE_FLTINV): Likewise.
43785 (FPE_FLTSUB): Likewise.
43786 (SEGV_MAPERR): Likewise.
43787 (SEGV_ACCERR): Likewise.
43788 (BUS_ADRALN): Likewise.
43789 (BUS_ADRERR): Likewise.
43790 (BUS_OBJERR): Likewise.
43791 (BUS_MCEERR_AR): Likewise.
43792 (BUS_MCEERR_AO): Likewise.
43793 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43794 (TRAP_TRACE): Likewise.
43795 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43796 __USE_XOPEN2K8].
43797 (CLD_KILLED): Likewise.
43798 (CLD_DUMPED): Likewise.
43799 (CLD_TRAPPED): Likewise.
43800 (CLD_STOPPED): Likewise.
43801 (CLD_CONTINUED): Likewise.
43802 (POLL_IN): Likewise.
43803 (POLL_OUT): Likewise.
43804 (POLL_MSG): Likewise.
43805 (POLL_ERR): Likewise.
43806 (POLL_PRI): Likewise.
43807 (POLL_HUP): Likewise.
43808 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43809 Likewise.
43810 (ILL_ILLOPN): Likewise.
43811 (ILL_ILLADR): Likewise.
43812 (ILL_ILLTRP): Likewise.
43813 (ILL_PRVOPC): Likewise.
43814 (ILL_PRVREG): Likewise.
43815 (ILL_COPROC): Likewise.
43816 (ILL_BADSTK): Likewise.
43817 (ILL_BADIADDR): Likewise.
43818 (ILL_BREAK): Likewise.
43819 (FPE_INTDIV): Likewise.
43820 (FPE_INTOVF): Likewise.
43821 (FPE_FLTDIV): Likewise.
43822 (FPE_FLTOVF): Likewise.
43823 (FPE_FLTUND): Likewise.
43824 (FPE_FLTRES): Likewise.
43825 (FPE_FLTINV): Likewise.
43826 (FPE_FLTSUB): Likewise.
43827 (FPE_DECOVF): Likewise.
43828 (FPE_DECDIV): Likewise.
43829 (FPE_DECERR): Likewise.
43830 (FPE_INVASC): Likewise.
43831 (FPE_INVDEC): Likewise.
43832 (SEGV_MAPERR): Likewise.
43833 (SEGV_ACCERR): Likewise.
43834 (SEGV_PSTKOVF): Likewise.
43835 (BUS_ADRALN): Likewise.
43836 (BUS_ADRERR): Likewise.
43837 (BUS_OBJERR): Likewise.
43838 (BUS_MCEERR_AR): Likewise.
43839 (BUS_MCEERR_AO): Likewise.
43840 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43841 (TRAP_TRACE): Likewise.
43842 (TRAP_BRANCH): Likewise.
43843 (TRAP_HWBKPT): Likewise.
43844 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43845 __USE_XOPEN2K8].
43846 (CLD_KILLED): Likewise.
43847 (CLD_DUMPED): Likewise.
43848 (CLD_TRAPPED): Likewise.
43849 (CLD_STOPPED): Likewise.
43850 (CLD_CONTINUED): Likewise.
43851 (POLL_IN): Likewise.
43852 (POLL_OUT): Likewise.
43853 (POLL_MSG): Likewise.
43854 (POLL_ERR): Likewise.
43855 (POLL_PRI): Likewise.
43856 (POLL_HUP): Likewise.
43857 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43858 (ILL_ILLOPN): Likewise.
43859 (ILL_ILLADR): Likewise.
43860 (ILL_ILLTRP): Likewise.
43861 (ILL_PRVOPC): Likewise.
43862 (ILL_PRVREG): Likewise.
43863 (ILL_COPROC): Likewise.
43864 (ILL_BADSTK): Likewise.
43865 (FPE_INTDIV): Likewise.
43866 (FPE_INTOVF): Likewise.
43867 (FPE_FLTDIV): Likewise.
43868 (FPE_FLTOVF): Likewise.
43869 (FPE_FLTUND): Likewise.
43870 (FPE_FLTRES): Likewise.
43871 (FPE_FLTINV): Likewise.
43872 (FPE_FLTSUB): Likewise.
43873 (SEGV_MAPERR): Likewise.
43874 (SEGV_ACCERR): Likewise.
43875 (BUS_ADRALN): Likewise.
43876 (BUS_ADRERR): Likewise.
43877 (BUS_OBJERR): Likewise.
43878 (BUS_MCEERR_AR): Likewise.
43879 (BUS_MCEERR_AO): Likewise.
43880 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43881 (TRAP_TRACE): Likewise.
43882 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43883 __USE_XOPEN2K8].
43884 (CLD_KILLED): Likewise.
43885 (CLD_DUMPED): Likewise.
43886 (CLD_TRAPPED): Likewise.
43887 (CLD_STOPPED): Likewise.
43888 (CLD_CONTINUED): Likewise.
43889 (POLL_IN): Likewise.
43890 (POLL_OUT): Likewise.
43891 (POLL_MSG): Likewise.
43892 (POLL_ERR): Likewise.
43893 (POLL_PRI): Likewise.
43894 (POLL_HUP): Likewise.
43895 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43896 (ILL_ILLOPN): Likewise.
43897 (ILL_ILLADR): Likewise.
43898 (ILL_ILLTRP): Likewise.
43899 (ILL_PRVOPC): Likewise.
43900 (ILL_PRVREG): Likewise.
43901 (ILL_COPROC): Likewise.
43902 (ILL_BADSTK): Likewise.
43903 (FPE_INTDIV): Likewise.
43904 (FPE_INTOVF): Likewise.
43905 (FPE_FLTDIV): Likewise.
43906 (FPE_FLTOVF): Likewise.
43907 (FPE_FLTUND): Likewise.
43908 (FPE_FLTRES): Likewise.
43909 (FPE_FLTINV): Likewise.
43910 (FPE_FLTSUB): Likewise.
43911 (SEGV_MAPERR): Likewise.
43912 (SEGV_ACCERR): Likewise.
43913 (BUS_ADRALN): Likewise.
43914 (BUS_ADRERR): Likewise.
43915 (BUS_OBJERR): Likewise.
43916 (BUS_MCEERR_AR): Likewise.
43917 (BUS_MCEERR_AO): Likewise.
43918 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43919 (TRAP_TRACE): Likewise.
43920 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43921 __USE_XOPEN2K8].
43922 (CLD_KILLED): Likewise.
43923 (CLD_DUMPED): Likewise.
43924 (CLD_TRAPPED): Likewise.
43925 (CLD_STOPPED): Likewise.
43926 (CLD_CONTINUED): Likewise.
43927 (POLL_IN): Likewise.
43928 (POLL_OUT): Likewise.
43929 (POLL_MSG): Likewise.
43930 (POLL_ERR): Likewise.
43931 (POLL_PRI): Likewise.
43932 (POLL_HUP): Likewise.
43933 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43934 (ILL_ILLOPN): Likewise.
43935 (ILL_ILLADR): Likewise.
43936 (ILL_ILLTRP): Likewise.
43937 (ILL_PRVOPC): Likewise.
43938 (ILL_PRVREG): Likewise.
43939 (ILL_COPROC): Likewise.
43940 (ILL_BADSTK): Likewise.
43941 (FPE_INTDIV): Likewise.
43942 (FPE_INTOVF): Likewise.
43943 (FPE_FLTDIV): Likewise.
43944 (FPE_FLTOVF): Likewise.
43945 (FPE_FLTUND): Likewise.
43946 (FPE_FLTRES): Likewise.
43947 (FPE_FLTINV): Likewise.
43948 (FPE_FLTSUB): Likewise.
43949 (SEGV_MAPERR): Likewise.
43950 (SEGV_ACCERR): Likewise.
43951 (BUS_ADRALN): Likewise.
43952 (BUS_ADRERR): Likewise.
43953 (BUS_OBJERR): Likewise.
43954 (BUS_MCEERR_AR): Likewise.
43955 (BUS_MCEERR_AO): Likewise.
43956 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43957 (TRAP_TRACE): Likewise.
43958 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43959 __USE_XOPEN2K8].
43960 (CLD_KILLED): Likewise.
43961 (CLD_DUMPED): Likewise.
43962 (CLD_TRAPPED): Likewise.
43963 (CLD_STOPPED): Likewise.
43964 (CLD_CONTINUED): Likewise.
43965 (POLL_IN): Likewise.
43966 (POLL_OUT): Likewise.
43967 (POLL_MSG): Likewise.
43968 (POLL_ERR): Likewise.
43969 (POLL_PRI): Likewise.
43970 (POLL_HUP): Likewise.
43971 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43972 (ILL_ILLOPN): Likewise.
43973 (ILL_ILLADR): Likewise.
43974 (ILL_ILLTRP): Likewise.
43975 (ILL_PRVOPC): Likewise.
43976 (ILL_PRVREG): Likewise.
43977 (ILL_COPROC): Likewise.
43978 (ILL_BADSTK): Likewise.
43979 (ILL_DBLFLT): Likewise.
43980 (ILL_HARDWALL): Likewise.
43981 (FPE_INTDIV): Likewise.
43982 (FPE_INTOVF): Likewise.
43983 (FPE_FLTDIV): Likewise.
43984 (FPE_FLTOVF): Likewise.
43985 (FPE_FLTUND): Likewise.
43986 (FPE_FLTRES): Likewise.
43987 (FPE_FLTINV): Likewise.
43988 (FPE_FLTSUB): Likewise.
43989 (SEGV_MAPERR): Likewise.
43990 (SEGV_ACCERR): Likewise.
43991 (BUS_ADRALN): Likewise.
43992 (BUS_ADRERR): Likewise.
43993 (BUS_OBJERR): Likewise.
43994 (BUS_MCEERR_AR): Likewise.
43995 (BUS_MCEERR_AO): Likewise.
43996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43997 (TRAP_TRACE): Likewise.
43998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43999 __USE_XOPEN2K8].
44000 (CLD_KILLED): Likewise.
44001 (CLD_DUMPED): Likewise.
44002 (CLD_TRAPPED): Likewise.
44003 (CLD_STOPPED): Likewise.
44004 (CLD_CONTINUED): Likewise.
44005 (POLL_IN): Likewise.
44006 (POLL_OUT): Likewise.
44007 (POLL_MSG): Likewise.
44008 (POLL_ERR): Likewise.
44009 (POLL_PRI): Likewise.
44010 (POLL_HUP): Likewise.
44011 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44012 (ILL_ILLOPN): Likewise.
44013 (ILL_ILLADR): Likewise.
44014 (ILL_ILLTRP): Likewise.
44015 (ILL_PRVOPC): Likewise.
44016 (ILL_PRVREG): Likewise.
44017 (ILL_COPROC): Likewise.
44018 (ILL_BADSTK): Likewise.
44019 (FPE_INTDIV): Likewise.
44020 (FPE_INTOVF): Likewise.
44021 (FPE_FLTDIV): Likewise.
44022 (FPE_FLTOVF): Likewise.
44023 (FPE_FLTUND): Likewise.
44024 (FPE_FLTRES): Likewise.
44025 (FPE_FLTINV): Likewise.
44026 (FPE_FLTSUB): Likewise.
44027 (SEGV_MAPERR): Likewise.
44028 (SEGV_ACCERR): Likewise.
44029 (BUS_ADRALN): Likewise.
44030 (BUS_ADRERR): Likewise.
44031 (BUS_OBJERR): Likewise.
44032 (BUS_MCEERR_AR): Likewise.
44033 (BUS_MCEERR_AO): Likewise.
44034 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44035 (TRAP_TRACE): Likewise.
44036 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44037 __USE_XOPEN2K8].
44038 (CLD_KILLED): Likewise.
44039 (CLD_DUMPED): Likewise.
44040 (CLD_TRAPPED): Likewise.
44041 (CLD_STOPPED): Likewise.
44042 (CLD_CONTINUED): Likewise.
44043 (POLL_IN): Likewise.
44044 (POLL_OUT): Likewise.
44045 (POLL_MSG): Likewise.
44046 (POLL_ERR): Likewise.
44047 (POLL_PRI): Likewise.
44048 (POLL_HUP): Likewise.
44049 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44050 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44051
44052 [BZ #16670]
44053 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44054 before #include of <time.h>.
44055 [!__USE_XOPEN2K] (__need_timespec): Likewise.
44056 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44057 (test-xfail-UNIX98/sched.h/conform): Likewise.
44058
44059 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
44060
44061 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44062 error absence of trapping exception support.
44063 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44064
44065 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44066
44067 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44068 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44069 * timezone/Makefile (testdata): Move definition above include of
44070 Rules.
44071 (test-zones): New variable.
44072 (tests-special): Add zone files.
44073 (build-testdata): Use $(evaluate-test).
44074
44075 * elf/Makefile (tests-special): Rename tests to end with .out.
44076 ($(objpfx)noload-mem): Likewise.
44077 ($(objpfx)tst-leaks1-mem): Likewise.
44078 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44079 * iconv/Makefile (xtests-special): Change test-iconvconfig to
44080 $(objpfx)test-iconvconfig.out.
44081 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
44082 set -e inside subshell and redirect output to file.
44083 * iconvdata/Makefile (generated): Rename tests to end with .out.
44084 Correct type.
44085 (tests-special): Rename tests to end with .out.
44086 ($(objpfx)mtrace-tst-loading): Likewise.
44087 * intl/Makefile (generated): Likewise.
44088 (tests-special): Likewise.
44089 ($(objpfx)mtrace-tst-gettext): Likewise.
44090 * misc/Makefile (generated): Likewise.
44091 (tests-special): Likewise.
44092 ($(objpfx)tst-error1-mem): Likewise.
44093 * nptl/Makefile (tests-special): Likewise.
44094 ($(objpfx)tst-stack3-mem): Likewise.
44095 (generated): Likewise.
44096 * posix/Makefile (generated): Likewise.
44097 (tests-special): Likewise.
44098 (xtests-special): Likewise.
44099 ($(objpfx)tst-fnmatch-mem): Likewise.
44100 ($(objpfx)bug-regex2-mem): Likewise.
44101 ($(objpfx)bug-regex14-mem): Likewise.
44102 ($(objpfx)bug-regex21-mem): Likewise.
44103 ($(objpfx)bug-regex31-mem): Likewise.
44104 ($(objpfx)tst-vfork3-mem): Likewise.
44105 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44106 ($(objpfx)tst-pcre-mem): Likewise.
44107 ($(objpfx)tst-boost-mem): Likewise.
44108 ($(objpfx)bug-ga2-mem): Likewise.
44109 ($(objpfx)bug-glob2-mem): Likewise.
44110 * resolv/Makefile (generate): Likewise.
44111 (tests-special): Likewise.
44112 (xtests-special): Likewise.
44113 (generated): Likewise.
44114 ($(objpfx)mtrace-tst-leaks): Likewise.
44115 ($(objpfx)mtrace-tst-leaks2): Likewise.
44116
44117 * scripts/merge-test-results.sh: New file.
44118 * Makefile (tests-special-notdir): New variable.
44119 (tests): Run merge-test-results.sh.
44120 (xtests): Likewise.
44121 * Rules (tests-special-notdir): New variable.
44122 (xtests-special-notdir): Likewise.
44123 (tests): Run merge-test-results.sh
44124 (xtests): Likewise.
44125
44126 * Makeconfig (test-xfail-name): New variable.
44127 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44128 compute variable name for expected failures.
44129 * conform/Makefile (conformtest-headers-data): New variable.
44130 (conformtest-standards): Likewise.
44131 (conformtest-headers-ISO): Likewise.
44132 (conformtest-headers-ISO99): Likewise.
44133 (conformtest-headers-ISO11): Likewise.
44134 (conformtest-headers-POSIX): Likewise.
44135 (conformtest-headers-XPG3): Likewise.
44136 (conformtest-headers-XPG4): Likewise.
44137 (conformtest-headers-UNIX98): Likewise.
44138 (conformtest-headers-XOPEN2K): Likewise.
44139 (conformtest-headers-POSIX2008): Likewise.
44140 (conformtest-headers-XOPEN2K8): Likewise.
44141 (conformtest-header-list-base): Likewise.
44142 (conformtest-header-list-tests): Likewise.
44143 (conformtest-header-base): Likewise.
44144 (conformtest-header-tests): Likewise.
44145 (tests-special): Add $(conformtest-header-list-tests). If
44146 [$(fast-check) && !$(cross-compiling)], add
44147 $(conformtest-header-tests) instead of
44148 $(objpfx)run-conformtest.out.
44149 (generated): Add $(conformtest-header-list-base). If
44150 [$(fast-check) && !$(cross-compiling)], add
44151 $(conformtest-header-base). Remove previous setting.
44152 ($(conformtest-header-list-tests)): New target.
44153 (test-xfail-run-conformtest): Remove variable.
44154 ($(objpfx)run-conformtest.out): Remove target.
44155 (test-xfail-ISO11/complex.h/conform): New variable.
44156 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44157 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44158 (test-xfail-XPG3/varargs.h/conform): Likewise.
44159 (test-xfail-XPG4/varargs.h/conform): Likewise.
44160 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44161 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44162 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44163 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44164 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44165 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44166 (test-xfail-XPG3/ftw.h/conform): Likewise.
44167 (test-xfail-XPG3/grp.h/conform): Likewise.
44168 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44169 (test-xfail-XPG3/limits.h/conform): Likewise.
44170 (test-xfail-XPG3/pwd.h/conform): Likewise.
44171 (test-xfail-XPG3/search.h/conform): Likewise.
44172 (test-xfail-XPG3/signal.h/conform): Likewise.
44173 (test-xfail-XPG3/stdio.h/conform): Likewise.
44174 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44175 (test-xfail-XPG3/string.h/conform): Likewise.
44176 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44177 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44178 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44179 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44180 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44181 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44182 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44183 (test-xfail-XPG3/termios.h/conform): Likewise.
44184 (test-xfail-XPG3/time.h/conform): Likewise.
44185 (test-xfail-XPG3/unistd.h/conform): Likewise.
44186 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44187 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44188 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44189 (test-xfail-XPG4/netdb.h/conform): Likewise.
44190 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44191 (test-xfail-XPG4/signal.h/conform): Likewise.
44192 (test-xfail-XPG4/stdio.h/conform): Likewise.
44193 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44194 (test-xfail-XPG4/stropts.h/conform): Likewise.
44195 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44196 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44197 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44198 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44199 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44200 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44201 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44202 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44203 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44204 (test-xfail-XPG4/termios.h/conform): Likewise.
44205 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44206 (test-xfail-XPG4/unistd.h/conform): Likewise.
44207 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44208 (test-xfail-POSIX/sched.h/conform): Likewise.
44209 (test-xfail-POSIX/signal.h/conform): Likewise.
44210 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44211 (test-xfail-POSIX/tar.h/conform): Likewise.
44212 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44213 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44214 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44215 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44216 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44217 (test-xfail-UNIX98/sched.h/conform): Likewise.
44218 (test-xfail-UNIX98/signal.h/conform): Likewise.
44219 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44220 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44221 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44222 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44223 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44224 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44225 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44226 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44227 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44228 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44229 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44230 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44231 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44232 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44233 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44234 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44235 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44236 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44237 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44238 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44239 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44240 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44241 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44242 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44243 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44244 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44245 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44246 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44247 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44248 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44249 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44250 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44251 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44252 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44253 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44254 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44255 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44256 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44257 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44258 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44259 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44260 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44261 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44262 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44263 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44264 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44265 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44266 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44267 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44268 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44269 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44270 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44271 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44272 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44273 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44274 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44275 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44276 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44277 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44278 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44279 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44280 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44281 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44282 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44283 (conformtest-cc-flags): Likewise.
44284 ($(conformtest-header-tests): New target.
44285 * conform/check-header-lists.sh: New file.
44286 * conform/run-conformtest.sh: Remove.
44287
44288 * conform/conformtest.pl: Allow ' and \ in values given for
44289 constants.
44290 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44291 inclusion.
44292 [POSIX] (sys/types.h): Likewise.
44293 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44294 inclusion.
44295 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44296 inclusion.
44297 * conform/data/signal.h-data (SIGIO): Remove expectation.
44298 [XPG3] (SIGBUS): Do not expect.
44299 [POSIX || XPG3] (SIGPOLL): Likewise.
44300 [POSIX || XPG3] (SIGPROF): Likewise.
44301 [POSIX || XPG3] (SIGSYS): Likewise.
44302 [XPG3] (SIGTRAP): Likewise.
44303 [POSIX || XPG3] (SIGURG): Likewise.
44304 [POSIX || XPG3] (SIGVTALRM): Likewise.
44305 [POSIX || XPG3] (SIGXCPU): Likewise.
44306 [POSIX || XPG3] (SIGXFSZ): Likewise.
44307 [POSIX] (SA_SIGINFO): Expect.
44308 [XPG3] (siginfo_t): Do not expect type or contents.
44309 [POSIX] (si_pid): Do not expect element.
44310 [POSIX] (si_uid): Likewise.
44311 [POSIX] (si_addr): Likewise.
44312 [POSIX] (si_status): Likewise.
44313 [POSIX] (si_band): Likewise.
44314 [XPG4] (si_value): Likewise.
44315 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44316 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44317 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44318 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44319 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44320 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44321 [POSIX || XPG3] (ILL_COPROC): Likewise.
44322 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44323 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44324 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44325 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44326 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44327 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44328 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44329 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44330 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44331 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44332 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44333 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44334 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44335 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44336 [POSIX || XPG3] (CLD_EXITED): Likewise.
44337 [POSIX || XPG3] (CLD_KILLED): Likewise.
44338 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44339 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44340 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44341 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44342 [POSIX || XPG3] (POLL_IN): Likewise.
44343 [POSIX || XPG3] (POLL_OUT): Likewise.
44344 [POSIX || XPG3] (POLL_MSG): Likewise.
44345 [POSIX || XPG3] (POLL_ERR): Likewise.
44346 [POSIX || XPG3] (POLL_PRI): Likewise.
44347 [POSIX || XPG3] (POLL_HUP): Likewise.
44348 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44349 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44350 (SIG*): Do not allow.
44351 [XPG3] (si_*): Likewise.
44352 [XPG3] (SI_*): Likewise.
44353 [XPG3 || XPG4] (sigev_*): Likewise.
44354 [XPG3 || XPG4] (SIGEV_*): Likewise.
44355 [XPG3 || XPG4] (sival_*): Likewise.
44356 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44357 [POSIX || XPG3] (BUS_*): Likewise.
44358 [POSIX || XPG3] (CLD_*): Likewise.
44359 [POSIX || XPG3] (FPE_*): Likewise.
44360 [POSIX || XPG3] (ILL_*): Likewise.
44361 [POSIX || XPG3] (POLL_*): Likewise.
44362 [POSIX || XPG3] (SEGV_*): Likewise.
44363 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44364 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44365 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44366 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44367 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44368 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44369 Specify type and value.
44370 (TVERSLEN): Likewise.
44371 (REGTYPE): Likewise.
44372 (AREGTYPE): Likewise.
44373 (LNKTYPE): Likewise.
44374 (SYMTYPE): Likewise.
44375 (CHRTYPE): Likewise.
44376 (BLKTYPE): Likewise.
44377 (DIRTYPE): Likewise.
44378 (FIFOTYPE): Likewise.
44379 (CONTTYPE): Likewise.
44380 (TSUID): Likewise.
44381 (TSGID): Likewise.
44382 (TSVTX): Likewise.
44383 (TUREAD): Likewise.
44384 (TUWRITE): Likewise.
44385 (TUEXEC): Likewise.
44386 (TGREAD): Likewise.
44387 (TGWRITE): Likewise.
44388 (TGEXEC): Likewise.
44389 (TOREAD): Likewise.
44390 (TOWRITE): Likewise.
44391 (TOEXEC): Likewise.
44392 [POSIX] (TSVTX): Expect constant.
44393
44394 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44395
44396 * Makefile (tests): Change dependencies to ....
44397 (tests-special): ... additions to this variable.
44398 (tests): Depend on $(tests-special).
44399 * Makerules (check-abi-list): New variable.
44400 (check-abi): Depend on $(check-abi-list).
44401 [$(subdir) = elf] (tests-special): Add
44402 $(objpfx)check-abi-libc.out.
44403 [$(build-shared) = yes && subdir] (tests-special): Add
44404 $(check-abi-list).
44405 [$(build-shared) = yes && subdir] (tests): Do not depend on
44406 check-abi.
44407 * Rules (tests): Depend on $(tests-special).
44408 (xtests): Depend on $(xtests-special).
44409 * catgets/Makefile (tests): Change dependencies to ....
44410 (tests-special): ... additions to this variable.
44411 * conform/Makefile (tests): Change dependencies to ....
44412 (tests-special): ... additions to this variable.
44413 * elf/Makefile (tests): Change dependencies to ....
44414 (tests-special): ... additions to this variable.
44415 * grp/Makefile (tests): Change dependencies to ....
44416 (tests-special): ... additions to this variable.
44417 * iconv/Makefile (xtests): Change dependencies to ....
44418 (xtests-special): ... additions to this variable.
44419 * iconvdata/Makefile (tests): Change dependencies to ....
44420 (tests-special): ... additions to this variable.
44421 * intl/Makefile (tests): Change dependencies to ....
44422 (tests-special): ... additions to this variable. Also add
44423 $(objpfx)tst-gettext.out.
44424 * io/Makefile (tests): Change dependencies to ....
44425 (tests-special): ... additions to this variable.
44426 * libio/Makefile (tests): Change dependencies to ....
44427 (tests-special): ... additions to this variable.
44428 * malloc/Makefile (tests): Change dependencies to ....
44429 (tests-special): ... additions to this variable.
44430 * misc/Makefile (tests): Change dependencies to ....
44431 (tests-special): ... additions to this variable.
44432 * nptl/Makefile (tests): Change dependencies to ....
44433 (tests-special): ... additions to this variable.
44434 * nptl_db/Makefile (tests): Change dependencies to ....
44435 (tests-special): ... additions to this variable.
44436 * posix/Makefile (tests): Change dependencies to ....
44437 (tests-special): ... additions to this variable.
44438 (xtests): Change dependencies to ....
44439 (xtests-special): ... additions to this variable.
44440 * resolv/Makefile (tests): Change dependencies to ....
44441 (tests-special): ... additions to this variable.
44442 (xtests): Change dependencies to ....
44443 (xtests-special): ... additions to this variable.
44444 * stdio-common/Makefile (tests): Change dependencies to ....
44445 (tests-special): ... additions to this variable.
44446 (do-tst-unbputc): Remove target.
44447 (do-tst-printf): Likewise.
44448 * stdlib/Makefile (tests): Change dependencies to ....
44449 (tests-special): ... additions to this variable.
44450 * string/Makefile (tests): Change dependencies to ....
44451 (tests-special): ... additions to this variable.
44452 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44453 (tests-special): ... additions to this variable.
44454
44455 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44456 whole file.
44457 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44458 whole file.
44459 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44460 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44461
44462 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44463 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44464 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44465 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44466 * conform/data/libgen.h-data [XPG3]: Likewise.
44467 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44468 * conform/data/ndbm.h-data [XPG3]: Likewise.
44469 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44470 * conform/data/netdb.h-data [XPG3]: Likewise.
44471 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44472 * conform/data/poll.h-data [XPG3]: Likewise.
44473 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44474 * conform/data/strings.h-data [XPG3]: Likewise.
44475 * conform/data/stropts.h-data [XPG3]: Likewise.
44476 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44477 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44478 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44479 Likewise.
44480 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44481 * conform/data/sys/time.h-data [XPG3]: Likewise.
44482 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44483 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44484 * conform/data/sys/un.h-data [XPG3]: Likewise.
44485 * conform/data/syslog.h-data [XPG3]: Likewise.
44486 * conform/data/ucontext.h-data [XPG3]: Likewise.
44487 * conform/data/utmpx.h-data [XPG3]: Likewise.
44488 * conform/data/varargs.h-data [UNIX98]: Enable file.
44489
44490 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44491
44492 * math/libm-test.inc (struct test_f_f_data): Move expected results
44493 into structure for each rounding mode.
44494 (struct test_ff_f_data): Likewise.
44495 (struct test_ff_f_data_nexttoward): Likewise.
44496 (struct test_fi_f_data): Likewise.
44497 (struct test_fl_f_data): Likewise.
44498 (struct test_if_f_data): Likewise.
44499 (struct test_fff_f_data): Likewise.
44500 (struct test_c_f_data): Likewise.
44501 (struct test_f_f1_data): Likewise.
44502 (struct test_fF_f1_data): Likewise.
44503 (struct test_ffI_f1_data): Likewise.
44504 (struct test_c_c_data): Likewise.
44505 (struct test_cc_c_data): Likewise.
44506 (struct test_f_i_data): Likewise.
44507 (struct test_ff_i_data): Likewise.
44508 (struct test_f_l_data): Likewise.
44509 (struct test_f_L_data): Likewise.
44510 (struct test_fFF_11_data): Likewise.
44511 (RM_): New macro.
44512 (RM_FE_DOWNWARD): Likewise.
44513 (RM_FE_TONEAREST): Likewise.
44514 (RM_FE_TOWARDZERO): Likewise.
44515 (RM_FE_UPWARD): Likewise.
44516 (RUN_TEST_LOOP_f_f): Update references to expected results.
44517 (RUN_TEST_LOOP_2_f): Likewise.
44518 (RUN_TEST_LOOP_fff_f): Likewise.
44519 (RUN_TEST_LOOP_c_f): Likewise.
44520 (RUN_TEST_LOOP_f_f1): Likewise.
44521 (RUN_TEST_LOOP_fF_f1): Likewise.
44522 (RUN_TEST_LOOP_fI_f1): Likewise.
44523 (RUN_TEST_LOOP_ffI_f1): Likewise.
44524 (RUN_TEST_LOOP_c_c): Likewise.
44525 (RUN_TEST_LOOP_cc_c): Likewise.
44526 (RUN_TEST_LOOP_f_i): Likewise.
44527 (RUN_TEST_LOOP_f_i_tg): Likewise.
44528 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44529 (RUN_TEST_LOOP_f_b): Likewise.
44530 (RUN_TEST_LOOP_f_b_tg): Likewise.
44531 (RUN_TEST_LOOP_f_l): Likewise.
44532 (RUN_TEST_LOOP_f_L): Likewise.
44533 (RUN_TEST_LOOP_fFF_11): Likewise.
44534 * math/gen-libm-test.pl (parse_args): Output four copies of
44535 expected results for each test.
44536
44537 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44538 (__ASSUME_UTIMES): Remove.
44539 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44540 (__ASSUME_UTIMES): Likewise.
44541
44542 * math/gen-auto-libm-tests.c: Update comment on output format.
44543 (output_for_one_input_case): Generate before-rounding and
44544 after-rounding information as conditions on output flags not
44545 floating-point format.
44546 * math/auto-libm-test-out: Regenerated.
44547 * math/gen-libm-test.pl (cond_value): New function.
44548 (or_cond_value): Use cond_value.
44549 (generate_testfile): Handle conditional exceptions.
44550
44551 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44552
44553 * math/libm-test.inc (max_valid_error): New variable.
44554 (init_max_error): Take new argument specifying whether function
44555 results are exactly determined. Set max_valid_error and bound
44556 other variables for errors based on this argument.
44557 (set_max_error): Do not record results above max_valid_error.
44558 (check_float_internal): Only accept errors of up to 0.5ulps if
44559 also at most max_valid_error.
44560 (START): Take new argument EXACT and pass it to init_max_error.
44561 (acos_test): Update call to START.
44562 (acos_test_tonearest): Likewise.
44563 (acos_test_towardzero): Likewise.
44564 (acos_test_downward): Likewise.
44565 (acos_test_upward): Likewise.
44566 (acosh_test): Likewise.
44567 (asin_test): Likewise.
44568 (asin_test_tonearest): Likewise.
44569 (asin_test_towardzero): Likewise.
44570 (asin_test_downward): Likewise.
44571 (asin_test_upward): Likewise.
44572 (asinh_test): Likewise.
44573 (atan_test): Likewise.
44574 (atanh_test): Likewise.
44575 (atan2_test): Likewise.
44576 (cabs_test): Likewise.
44577 (cacos_test): Likewise.
44578 (cacosh_test): Likewise.
44579 (carg_test): Likewise.
44580 (casin_test): Likewise.
44581 (casinh_test): Likewise.
44582 (catan_test): Likewise.
44583 (catanh_test): Likewise.
44584 (cbrt_test): Likewise.
44585 (ccos_test): Likewise.
44586 (ccosh_test): Likewise.
44587 (ceil_test): Likewise.
44588 (cexp_test): Likewise.
44589 (cimag_test): Likewise.
44590 (clog_test): Likewise.
44591 (clog10_test): Likewise.
44592 (conj_test): Likewise.
44593 (copysign_test): Likewise.
44594 (cos_test): Likewise.
44595 (cos_test_tonearest): Likewise.
44596 (cos_test_towardzero): Likewise.
44597 (cos_test_downward): Likewise.
44598 (cos_test_upward): Likewise.
44599 (cosh_test): Likewise.
44600 (cosh_test_tonearest): Likewise.
44601 (cosh_test_towardzero): Likewise.
44602 (cosh_test_downward): Likewise.
44603 (cosh_test_upward): Likewise.
44604 (cpow_test): Likewise.
44605 (cproj_test): Likewise.
44606 (creal_test): Likewise.
44607 (csin_test): Likewise.
44608 (csinh_test): Likewise.
44609 (csqrt_test): Likewise.
44610 (ctan_test): Likewise.
44611 (ctan_test_tonearest): Likewise.
44612 (ctan_test_towardzero): Likewise.
44613 (ctan_test_downward): Likewise.
44614 (ctan_test_upward): Likewise.
44615 (ctanh_test): Likewise.
44616 (ctanh_test_tonearest): Likewise.
44617 (ctanh_test_towardzero): Likewise.
44618 (ctanh_test_downward): Likewise.
44619 (ctanh_test_upward): Likewise.
44620 (erf_test): Likewise.
44621 (erfc_test): Likewise.
44622 (exp_test): Likewise.
44623 (exp_test_tonearest): Likewise.
44624 (exp_test_towardzero): Likewise.
44625 (exp_test_downward): Likewise.
44626 (exp_test_upward): Likewise.
44627 (exp10_test): Likewise.
44628 (exp10_test_tonearest): Likewise.
44629 (exp10_test_towardzero): Likewise.
44630 (exp10_test_downward): Likewise.
44631 (exp10_test_upward): Likewise.
44632 (pow10_test): Likewise.
44633 (exp2_test): Likewise.
44634 (expm1_test): Likewise.
44635 (expm1_test_tonearest): Likewise.
44636 (expm1_test_towardzero): Likewise.
44637 (expm1_test_downward): Likewise.
44638 (expm1_test_upward): Likewise.
44639 (fabs_test): Likewise.
44640 (fdim_test): Likewise.
44641 (floor_test): Likewise.
44642 (fma_test): Likewise.
44643 (fma_test_towardzero): Likewise.
44644 (fma_test_downward): Likewise.
44645 (fma_test_upward): Likewise.
44646 (fmax_test): Likewise.
44647 (fmin_test): Likewise.
44648 (fmod_test): Likewise.
44649 (fpclassify_test): Likewise.
44650 (frexp_test): Likewise.
44651 (hypot_test): Likewise.
44652 (ilogb_test): Likewise.
44653 (isfinite_test): Likewise.
44654 (finite_test): Likewise.
44655 (isgreater_test): Likewise.
44656 (isgreaterequal_test): Likewise.
44657 (isinf_test): Likewise.
44658 (isless_test): Likewise.
44659 (islessequal_test): Likewise.
44660 (islessgreater_test): Likewise.
44661 (isnan_test): Likewise.
44662 (isnormal_test): Likewise.
44663 (issignaling_test): Likewise.
44664 (isunordered_test): Likewise.
44665 (j0_test): Likewise.
44666 (j1_test): Likewise.
44667 (jn_test): Likewise.
44668 (ldexp_test): Likewise.
44669 (lgamma_test): Likewise.
44670 (gamma_test): Likewise.
44671 (lrint_test): Likewise.
44672 (lrint_test_tonearest): Likewise.
44673 (lrint_test_towardzero): Likewise.
44674 (lrint_test_downward): Likewise.
44675 (lrint_test_upward): Likewise.
44676 (llrint_test): Likewise.
44677 (llrint_test_tonearest): Likewise.
44678 (llrint_test_towardzero): Likewise.
44679 (llrint_test_downward): Likewise.
44680 (llrint_test_upward): Likewise.
44681 (log_test): Likewise.
44682 (log10_test): Likewise.
44683 (log1p_test): Likewise.
44684 (log2_test): Likewise.
44685 (logb_test): Likewise.
44686 (logb_test_downward): Likewise.
44687 (lround_test): Likewise.
44688 (llround_test): Likewise.
44689 (modf_test): Likewise.
44690 (nearbyint_test): Likewise.
44691 (nextafter_test): Likewise.
44692 (nexttoward_test): Likewise.
44693 (pow_test): Likewise.
44694 (pow_test_tonearest): Likewise.
44695 (pow_test_towardzero): Likewise.
44696 (pow_test_downward): Likewise.
44697 (pow_test_upward): Likewise.
44698 (remainder_test): Likewise.
44699 (drem_test): Likewise.
44700 (remainder_test_tonearest): Likewise.
44701 (drem_test_tonearest): Likewise.
44702 (remainder_test_towardzero): Likewise.
44703 (drem_test_towardzero): Likewise.
44704 (remainder_test_downward): Likewise.
44705 (drem_test_downward): Likewise.
44706 (remainder_test_upward): Likewise.
44707 (drem_test_upward): Likewise.
44708 (remquo_test): Likewise.
44709 (rint_test): Likewise.
44710 (rint_test_tonearest): Likewise.
44711 (rint_test_towardzero): Likewise.
44712 (rint_test_downward): Likewise.
44713 (rint_test_upward): Likewise.
44714 (round_test): Likewise.
44715 (scalb_test): Likewise.
44716 (scalbn_test): Likewise.
44717 (scalbln_test): Likewise.
44718 (signbit_test): Likewise.
44719 (sin_test): Likewise.
44720 (sin_test_tonearest): Likewise.
44721 (sin_test_towardzero): Likewise.
44722 (sin_test_downward): Likewise.
44723 (sin_test_upward): Likewise.
44724 (sincos_test): Likewise.
44725 (sinh_test): Likewise.
44726 (sinh_test_tonearest): Likewise.
44727 (sinh_test_towardzero): Likewise.
44728 (sinh_test_downward): Likewise.
44729 (sinh_test_upward): Likewise.
44730 (sqrt_test): Likewise.
44731 (sqrt_test_tonearest): Likewise.
44732 (sqrt_test_towardzero): Likewise.
44733 (sqrt_test_downward): Likewise.
44734 (sqrt_test_upward): Likewise.
44735 (tan_test): Likewise.
44736 (tan_test_tonearest): Likewise.
44737 (tan_test_towardzero): Likewise.
44738 (tan_test_downward): Likewise.
44739 (tan_test_upward): Likewise.
44740 (tanh_test): Likewise.
44741 (tgamma_test): Likewise.
44742 (trunc_test): Likewise.
44743 (y0_test): Likewise.
44744 (y1_test): Likewise.
44745 (yn_test): Likewise.
44746 (significand_test): Likewise.
44747
44748 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44749 individual tests in comment.
44750 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44751 (prev_max_error): New variable.
44752 (prev_real_max_error): Likewise.
44753 (prev_imag_max_error): Likewise.
44754 (compare_ulp_data): Don't refer to test names in comment.
44755 (find_test_ulps): Remove function.
44756 (find_function_ulps): Likewise.
44757 (find_complex_function_ulps): Likewise.
44758 (init_max_error): Take function name as argument. Look up ulps
44759 for that function.
44760 (print_ulps): Remove function.
44761 (print_max_error): Use prev_max_error instead of calling
44762 find_function_ulps.
44763 (print_complex_max_error): Use prev_real_max_error and
44764 prev_imag_max_error instead of calling find_complex_function_ulps.
44765 (check_float_internal): Take max_ulp parameter instead of calling
44766 find_test_ulps. Don't call print_ulps.
44767 (check_float): Update call to check_float_internal.
44768 (check_complex): Update calls to check_float_internal.
44769 (START): Pass argument to init_max_error.
44770 * math/gen-libm-test.pl (%results): Don't include "kind"
44771 information.
44772 (parse_ulps): Don't handle ulps of individual tests.
44773 (print_ulps_file): Likewise.
44774 (output_ulps): Likewise.
44775 * math/README.libm-test: Update.
44776 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44777 individual tests.
44778 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44779 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44780 * sysdeps/arm/libm-test-ulps: Likewise.
44781 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44782 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44783 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44784 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44785 * sysdeps/microblaze/libm-test-ulps: Likewise.
44786 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44787 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44788 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44789 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44790 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44791 * sysdeps/sh/libm-test-ulps: Likewise.
44792 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44793 * sysdeps/tile/libm-test-ulps: Likewise.
44794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44795
44796 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44797
44798 * math/libm-test.inc (print_complex_max_error): Check separately
44799 whether real and imaginary errors are within allowed range and
44800 pass 0 to print_complex_function_ulps instead of value within
44801 allowed range.
44802
44803 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44804
44805 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44806 formatting.
44807 (get_handles_fopen): Likewise.
44808 (do_write_test): Likewise.
44809
44810 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44811
44812 * libio/fileops.c (do_ftell): Use cached offset when
44813 available.
44814 * libio/iofwide.c (do_ftell_wide): Likewise.
44815 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44816 _IO_file_attach.
44817 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44818
44819 [BZ #16532]
44820 * libio/libioP.h (get_file_offset): New function.
44821 * libio/fileops.c (get_file_offset): Likewise.
44822 (do_ftell): Likewise.
44823 (_IO_new_file_seekoff): Split out ftell logic.
44824 * libio/wfileops.c (do_ftell_wide): Likewise.
44825 (_IO_wfile_seekoff): Split out ftell logic.
44826 * libio/tst-ftell-active-handler.c: New test case.
44827 * libio/Makefile (tests): Add it.
44828
44829 2014-03-03 Roland McGrath <roland@hack.frob.com>
44830
44831 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44832 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44833
44834 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44835
44836 [BZ #16639]
44837 * nscd/connections.c (nscd_init): Call do_exit.
44838 (start_threads): Call do_exit and notify_parent.
44839 (begin_drop_privileges): Call do_exit.
44840 (finish_drop_privileges): Likewise.
44841 * nscd/selinux.c (preserve_capabilities): Likewise.
44842 (install_real_capabilities): Likewise.
44843 (nscd_selinux_enabled): Likewise.
44844 (avc_create_thread): Likewise.
44845 (avc_alloc_lock): Likewise.
44846 (nscd_avc_init): Likewise.
44847 * nscd/nscd.c (parent_fd): New static variable.
44848 (main): Create a pipe between parent and child processes.
44849 Skip closing parent_fd.
44850 (monitor_child): New function.
44851 (do_exit): Likewise.
44852 (notify_parent): Likewise.
44853 * nscd/nscd.h (notify_parent): Likewise.
44854 (do_exit): Likewise.
44855
44856 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44857
44858 * malloc/malloc.c (__libc_calloc): Revert last change.
44859
44860 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44861
44862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44863
44864 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44865
44866 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44868 implementation.
44869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44870 (__libc_ifunc_impl_list): Likewise.
44871 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44872 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44873 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44874 * string/strrchr.c: Define STRRCHR.
44875
44876 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44877
44878 * benchtest/bench-strtok.c (simple_strtok): Delete.
44879 (strtok_string): Use as benchmark.
44880 * string/strtok (STRTOK): New macro.
44881
44882 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44883
44884 * manual/threads.texi: Add header and standard comments to all
44885 functions.
44886
44887 * elf/dl-lookup.c (check_match): New function.
44888 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44889 (do_lookup_x): Remove nested function check_match. Use non-nested
44890 function check_match.
44891
44892 2014-02-28 Roland McGrath <roland@hack.frob.com>
44893
44894 * csu/Makefile (generated, before-compile): Use += rather than =.
44895 * catgets/Makefile (generated, generated-dirs): Likewise.
44896 * debug/Makefile (generated): Likewise.
44897 * dlfcn/Makefile (generated): Likewise.
44898 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44899 * iconvdata/Makefile (before-compile, generated): Likewise.
44900 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44901 * libio/Makefile (generated): Likewise.
44902 * malloc/Makefile (generated): Likewise.
44903 * manual/Makefile (generated, generated-dirs): Likewise.
44904 * misc/Makefile (generated): Likewise.
44905 * posix/Makefile (generated): Likewise.
44906 * resolv/Makefile (generated): Likewise.
44907 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44908 * timezone/Makefile (generated, generated-dirs): Likewise.
44909
44910 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44911
44912 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44913
44914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44915 power8 implementation.
44916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44917 file: POWER8 llround ifunc implementation.
44918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44919 (__lllround): Add POWER8 implementation.
44920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44921 POWER8 llround implementation.
44922
44923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44924 power8 implementation.
44925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44926 file: POWER8 llrint ifunc implementation.
44927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44928 Add POWER8 implementation.
44929 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44930 POWER8 llrint implementation.
44931
44932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44933 power8 implementation.
44934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44935 file: POWER8 finite ifunc implementation.
44936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44937 Add POWER8 implementation.
44938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44939 Likewise.
44940 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44941 POWER8 finite implementation.
44942 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44943
44944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44945 power8 implementation.
44946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44947 file: POWER8 isinf ifunc implementation.
44948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44949 POWER8 implementation.
44950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44951 Likewise.
44952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44953 isinf implementation.
44954 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44955
44956 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44957 (INIT_ARCH): Add hwcap2 initialization.
44958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44959 power8 implementation.
44960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44961 file: POWER8 isnan ifunc implementation.
44962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44963 POWER8 implementation.
44964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44965 Likewise.
44966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44967 isnan implementation.
44968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44969
44970 2014-02-27 Joey Ye <joey.ye@arm.com>
44971
44972 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44973 (_FP_NANFRAC_Q): Set to zero.
44974
44975 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44976
44977 [BZ #16623]
44978 * math/auto-libm-test-in: New test inputs.
44979 * math/auto-libm-test-out: Regenerate.
44980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44981 and DA.
44982 (__cos): Likewise.
44983 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44984
44985 2014-02-27 Joseph Myers <joseph@codesourcery.com>
44986
44987 * scripts/evaluate-test.sh: Take new argument indicating whether
44988 failure is expected.
44989 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44990 indicating whether failure is expected.
44991 * conform/Makefile (test-xfail-run-conformtest): New variable.
44992 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44993 level.
44994 * posix/Makefile (test-xfail-annexc): New variable.
44995 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44996
44997 2014-02-26 Joseph Myers <joseph@codesourcery.com>
44998
44999 * argp/Makefile: Include Makeconfig immediately after defining
45000 subdir.
45001 * assert/Makefile: Likewise.
45002 * benchtests/Makefile: Likewise.
45003 * catgets/Makefile: Likewise.
45004 * conform/Makefile: Likewise.
45005 * crypt/Makefile: Likewise.
45006 * csu/Makefile: Likewise.
45007 (all): Remove target.
45008 * ctype/Makefile: Include Makeconfig immediately after defining
45009 subdir.
45010 * debug/Makefile: Likewise.
45011 * dirent/Makefile: Likewise.
45012 * dlfcn/Makefile: Likewise.
45013 * gmon/Makefile: Likewise.
45014 * gnulib/Makefile: Likewise.
45015 * grp/Makefile: Likewise.
45016 * gshadow/Makefile: Likewise.
45017 * hesiod/Makefile: Likewise.
45018 * hurd/Makefile: Likewise.
45019 (all): Remove target.
45020 * iconvdata/Makefile: Include Makeconfig immediately after
45021 defining subdir.
45022 * inet/Makefile: Likewise.
45023 * intl/Makefile: Likewise.
45024 * io/Makefile: Likewise.
45025 * libio/Makefile: Likewise.
45026 (all): Remove target.
45027 * locale/Makefile: Include Makeconfig immediately after defining
45028 subdir.
45029 * login/Makefile: Likewise.
45030 * mach/Makefile: Likewise.
45031 (all): Remove target.
45032 * malloc/Makefile: Include Makeconfig immediately after defining
45033 subdir.
45034 (all): Remove target.
45035 * manual/Makefile: Include Makeconfig immediately after defining
45036 subdir.
45037 * math/Makefile: Likewise.
45038 * misc/Makefile: Likewise.
45039 * nis/Makefile: Likewise.
45040 * nss/Makefile: Likewise.
45041 * po/Makefile: Likewise.
45042 (all): Remove target.
45043 * posix/Makefile: Include Makeconfig immediately after defining
45044 subdir.
45045 * pwd/Makefile: Likewise.
45046 * resolv/Makefile: Likewise.
45047 * resource/Makefile: Likewise.
45048 * rt/Makefile: Likewise.
45049 * setjmp/Makefile: Likewise.
45050 * shadow/Makefile: Likewise.
45051 * signal/Makefile: Likewise.
45052 * socket/Makefile: Likewise.
45053 * soft-fp/Makefile: Likewise.
45054 * stdio-common/Makefile: Likewise.
45055 * stdlib/Makefile: Likewise.
45056 * streams/Makefile: Likewise.
45057 * string/Makefile: Likewise.
45058 * sunrpc/Makefile: Likewise.
45059 (all): Remove target.
45060 * sysvipc/Makefile: Include Makeconfig immediately after defining
45061 subdir.
45062 * termios/Makefile: Likewise.
45063 * time/Makefile: Likewise.
45064 * timezone/Makefile: Likewise.
45065 (all): Remove target.
45066 * wcsmbs/Makefile: Include Makeconfig immediately after defining
45067 subdir.
45068 * wctype/Makefile: Likewise.
45069
45070 2014-02-26 Steve Ellcey <sellcey@mips.com>
45071
45072 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45073 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45074 (libc_feholdexcept_setround_mips): Ditto.
45075 (libc_feholdsetround): New.
45076 (libc_feholdsetroundf): New.
45077 (libc_feholdsetroundl): New.
45078 (libc_feupdateenv_test_mips): New.
45079 (libc_feupdateenv_test): New.
45080 (libc_feupdateenv_testf): New.
45081 (libc_feupdateenv_testl): New.
45082 (libc_feresetround): New.
45083 (libc_feresetroundf): New.
45084 (libc_feresetroundl): New.
45085 (libc_fetestexcept_mips): New.
45086 (libc_fetestexcept): New.
45087 (libc_fetestexceptf): New.
45088 (libc_fetestexceptl): New.
45089 (HAVE_RM_CTX): New.
45090 (libc_feholdexcept_setround_mips_ctx): New.
45091 (libc_feholdexcept_setround_ctx): New.
45092 (libc_feholdexcept_setroundf_ctx): New.
45093 (libc_feholdexcept_setroundl_ctx): New.
45094 (libc_fesetenv_mips_ctx): New.
45095 (libc_fesetenv_ctx): New.
45096 (libc_fesetenv_ctxf): New.
45097 (libc_fesetenv_ctxl): New.
45098 (libc_feupdateenv_mips_ctx): New.
45099 (libc_feupdateenv_ctx): New.
45100 (libc_feupdateenvf_ctx): New.
45101 (libc_feupdateenvl_ctx): New.
45102 (libc_feholdsetround_mips_ctx): New.
45103 (libc_feholdsetround_ctx): New.
45104 (libc_feholdsetroundf_ctx): New.
45105 (libc_feholdsetroundl_ctx): New.
45106 (libc_feresetround_mips_ctx): New.
45107 (libc_feresetround_ctx): New.
45108 (libc_feresetroundf_ctx): New.
45109 (libc_feresetroundl_ctx): New.
45110
45111 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45112
45113 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45114
45115 * manual/ipc.texi: New file.
45116 * manual/Makefile (chapters): Add ipc.
45117 * manual/job.texi: Add "Inter-Process Communication" to next.
45118 * manual/process.texi: Add "Inter-Process Communication" to prev.
45119
45120 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45121
45122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45123
45124 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45125
45126 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45127
45128 * manual/arith.texi: Fix spaces after sentences.
45129 * manual/charset.texi: Likewise.
45130 * manual/errno.texi: Likewise.
45131 * manual/install.texi: Likewise.
45132 * manual/llio.texi: Likewise.
45133 * manual/locale.texi: Likewise.
45134 * manual/maint.texi: Likewise.
45135 * manual/math.texi: Likewise.
45136 * manual/memory.texi: Likewise.
45137 * manual/message.texi: Likewise.
45138 * manual/probes.texi: Likewise.
45139 * manual/resource.texi: Likewise.
45140 * manual/signal.texi: Likewise.
45141 * manual/socket.texi: Likewise.
45142 * manual/stdio.texi: Likewise.
45143 * manual/string.texi: Likewise.
45144 * manual/time.texi: Likewise.
45145 * manual/users.texi: Likewise.
45146
45147 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45148
45149 [BZ #16632]
45150 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45151 _DEFAULT_SOURCE is defined.
45152
45153 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45154 Carlos O'Donell <carlos@redhat.com>
45155
45156 [BZ #16613]
45157 * elf/dl-tls.c (_dl_count_modids): New function.
45158 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45159 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45160 audit library and increment generation counter.
45161 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45162 * elf/tst-audit9.c: New file.
45163 * elf/tst-auditmod9a.c: New file.
45164 * elf/tst-auditmod9b.c: New file.
45165 * elf/Makefile: Add rules to build and run tst-audit9.
45166
45167 2014-02-25 Florian Weimer <fweimer@redhat.com>
45168
45169 [BZ #15347]
45170 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45171
45172 2014-02-25 Will Newton <will.newton@linaro.org>
45173
45174 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45175 (__longjmp): Restore sp and lr before restoring callee
45176 saved registers. Add longjmp and longjmp_target
45177 SystemTap probe point.
45178 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45179 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45180 Define to zero to match jmpbuf layout.
45181 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45182 (__sigsetjmp): Save sp and lr before saving callee
45183 saved registers. Add setjmp SystemTap probe point.
45184
45185 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45186
45187 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45188
45189 2014-02-24 Andreas Schwab <schwab@suse.de>
45190
45191 [BZ #15804]
45192 * elf/pldd.c (wait_for_ptrace_stop): New function.
45193 (main): Call it after attaching.
45194
45195 2014-02-22 Roland McGrath <roland@hack.frob.com>
45196
45197 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45198 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45199 Versions files is now verboten.
45200 * hurd/Versions (libc: GLIBC_2.0):
45201 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45202 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45203 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45204 * mach/Versions: Likewise.
45205
45206 * csu/Versions: Remove unused %include.
45207 * resolv/Versions: Likewise.
45208
45209 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45210
45211 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45212 ($(objpfx)check-local-headers.out): Likewise.
45213 ($(objpfx)begin-end-check.out): Likewise.
45214 * Makerules (check-abi-%.out): Likewise.
45215 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45216 ($(objpfx)test2.cat): Likewise.
45217 ($(objpfx)de/libc.cat): Likewise.
45218 ($(objpfx)test-gencat.out): Likewise.
45219 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45220 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45221 ($(objpfx)noload-mem): Likewise.
45222 ($(objpfx)tst-pathopt.out): Likewise.
45223 ($(objpfx)tst-rtld-load-self.out): Likewise.
45224 ($(objpfx)tst-array1-cmp.out): Likewise.
45225 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45226 ($(objpfx)tst-array2-cmp.out): Likewise.
45227 ($(objpfx)tst-array3-cmp.out): Likewise.
45228 ($(objpfx)tst-array4-cmp.out): Likewise.
45229 ($(objpfx)tst-array5-cmp.out): Likewise.
45230 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45231 ($(objpfx)check-textrel.out): Likewise.
45232 ($(objpfx)check-execstack.out): Likewise.
45233 ($(objpfx)check-localplt.out): Likewise.
45234 ($(objpfx)order2-cmp.out): Likewise.
45235 ($(objpfx)tst-leaks1-mem): Likewise.
45236 ($(objpfx)tst-leaks1-static-mem): Likewise.
45237 ($(objpfx)tst-initorder-cmp.out): Likewise.
45238 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45239 ($(objpfx)tst-unused-dep.out): Likewise.
45240 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45241 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45242 * iconv/Makefile (test-iconvconfig): Likewise.
45243 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45244 ($(objpfx)iconv-test.out): Likewise.
45245 ($(objpfx)tst-tables.out): Likewise.
45246 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45247 ($(objpfx)tst-gettext.out): Likewise.
45248 ($(objpfx)tst-translit.out): Likewise.
45249 ($(objpfx)tst-gettext2.out): Likewise.
45250 ($(objpfx)tst-gettext4.out): Likewise.
45251 ($(objpfx)tst-gettext6.out): Likewise.
45252 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45253 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45254 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45255 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45257 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45258 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45259 ($(objpfx)wordexp-tst.out): Likewise.
45260 ($(objpfx)annexc.out): Likewise.
45261 ($(objpfx)tst-fnmatch-mem): Likewise.
45262 ($(objpfx)bug-regex2-mem): Likewise.
45263 ($(objpfx)bug-regex14-mem): Likewise.
45264 ($(objpfx)bug-regex21-mem): Likewise.
45265 ($(objpfx)bug-regex31-mem): Likewise.
45266 ($(objpfx)tst-vfork3-mem): Likewise.
45267 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45268 ($(objpfx)tst-pcre-mem): Likewise.
45269 ($(objpfx)tst-boost-mem): Likewise.
45270 ($(objpfx)tst-getconf.out): Likewise.
45271 ($(objpfx)bug-ga2-mem): Likewise.
45272 ($(objpfx)bug-glob2-mem): Likewise.
45273 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45274 ($(objpfx)mtrace-tst-leaks2): Likewise.
45275 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45276 ($(objpfx)tst-printf.out): Likewise.
45277 ($(objpfx)tst-setvbuf1.out): Likewise.
45278 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45279 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45280 ($(objpfx)tst-fmtmsg.out): Likewise.
45281 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45282 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45283
45284 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45285 * bits/sigaction.h [__USE_MISC]: Likewise.
45286 * bits/waitstatus.h: Update #endif comments.
45287 * ctype/ctype.h: Likewise.
45288 * dirent/dirent.h: Likewise.
45289 [__USE_MISC]: Remove redundant conditionals.
45290 * grp/grp.h: Update #endif comments.
45291 [__USE_GNU]: Remove redundant conditionals.
45292 [__USE_MISC]: Likewise.
45293 * inet/netinet/in.h [__USE_GNU]: Likewise.
45294 * io/sys/stat.h [__USE_MISC]: Likewise.
45295 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45296 * libio/bits/stdio.h: Update #endif comments.
45297 [__USE_MISC]: Remove redundant conditionals.
45298 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45299 * libio/stdio.h: Update #endif comments.
45300 [__USE_MISC]: Remove redundant conditionals.
45301 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45302 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45303 * math/math.h: Update #else and #endif comments.
45304 [__USE_MISC]: Remove redundant conditionals.
45305 * misc/sys/uio.h: Update #endif comments.
45306 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45307 * posix/glob.h [__USE_MISC]: Likewise.
45308 * posix/sys/types.h: Update #endif comments.
45309 [__USE_MISC]: Remove redundant conditionals.
45310 * posix/sys/wait.h: Update #endif comments.
45311 [__USE_MISC]: Remove redundant conditionals.
45312 * posix/unistd.h: Update #endif comments.
45313 [__USE_MISC]: Remove redundant conditionals.
45314 * pwd/pwd.h [__USE_GNU]: Likewise.
45315 [__USE_MISC]: Likewise.
45316 * resolv/netdb.h [__USE_GNU]: Likewise.
45317 * signal/signal.h: Update #endif comments.
45318 [__USE_MISC]: Remove redundant conditionals.
45319 * stdlib/stdlib.h: Update #else and #endif comments.
45320 [__USE_MISC]: Remove redundant conditionals.
45321 [__USE_GNU]: Likewise.
45322 * string/bits/string2.h [__USE_MISC]: Likewise.
45323 * string/string.h: Update #endif comments.
45324 [__USE_MISC]: Remove redundant conditionals.
45325 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45326 Likewise.
45327 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45328 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45329 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45330 Likewise.
45331 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45332 Likewise.
45333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45334 comments.
45335 [__USE_MISC]: Remove redundant conditionals.
45336 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45337 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45338 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45339 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45340 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45341 Likewise.
45342 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45343 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45344 Likewise.
45345 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45346 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45347 Likewise.
45348 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45349 Likewise.
45350 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45351 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45352 Likewise.
45353 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45354 Likewise.
45355 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45356 * sysdeps/x86/bits/string.h: Update #endif comments.
45357 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45358 conditionals.
45359 * time/sys/time.h: Update #endif comments.
45360 * time/time.h: Likewise.
45361 [__USE_MISC]: Remove redundant conditionals.
45362
45363 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45364
45365 [BZ #16600]
45366 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45367
45368 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45369
45370 * Versions.def (librt): Add GLIBC_2.17.
45371
45372 2014-02-21 Adam Conrad <adconrad@0c3.net>
45373
45374 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45375 synonym for _SYS_AUXV_H to allow direct inclusion.
45376 * sysdeps/sparc/bits/hwcap.h: Likewise.
45377 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45378 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45379 * sysdeps/sparc/sysdep.h: Likewise.
45380
45381 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45382
45383 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45384
45385 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45386
45387 * benchtests/bench-strrchr.c: Print length instead of position.
45388
45389 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45390
45391 [BZ #16611]
45392 * sysdeps/unix/sysv/linux/kernel-features.h
45393 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45394 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45395 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45396 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45397 Likewise.
45398 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45399 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45400 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45401 (__ASSUME_SENDMMSG): Define instead of using previous
45402 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45403 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45404 (__ASSUME_SENDMMSG_SYSCALL): Define.
45405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45406 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45407 Likewise.
45408 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45409 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45410 Likewise.
45411 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45412 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45413 Likewise.
45414 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45415 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45416 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45417 [__ASSUME_SENDMMSG]: Change conditionals to
45418 [__ASSUME_SENDMMSG_SOCKETCALL].
45419 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45420 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45421 Define.
45422 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45423 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45424 Likewise.
45425 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45426 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45427 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45428 [!__ASSUME_SENDMMSG]: Change conditional to
45429 [!__ASSUME_SENDMMSG_SOCKETCALL].
45430 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45431 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45432 Define.
45433
45434 [BZ #16610]
45435 * sysdeps/unix/sysv/linux/kernel-features.h
45436 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45437 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45438 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45439 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45440 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45441 [__i386__ || __sparc__]
45442 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45443 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45444 (__ASSUME_RECVMMSG): Define instead of using previous
45445 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45446 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45447 (__ASSUME_RECVMMSG_SYSCALL): Define.
45448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45449 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45450 Likewise.
45451 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45452 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45453 Likewise.
45454 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45455 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45456 Likewise.
45457 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45458 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45459 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45460 [__ASSUME_RECVMMSG]: Change condition to
45461 [__ASSUME_RECVMMSG_SOCKETCALL].
45462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45464 Define.
45465 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45466 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45468 Likewise.
45469 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45470 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45471 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45472 [!__ASSUME_RECVMMSG]: Change condition to
45473 [!__ASSUME_RECVMMSG_SOCKETCALL].
45474 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45475 (__ASSUME_RECVMMSG_SYSCALL): Define.
45476
45477 [BZ #16609]
45478 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45479 __powerpc__ || __s390__ || __sh__ || __sparc__]
45480 (__ASSUME_SOCKETCALL): Define.
45481 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45482 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45483 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45484 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45485 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45486 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45487 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45488 (__ASSUME_ACCEPT4): Define instead of using previous
45489 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45490 __powerpc__ || __sparc__ || __s390__)] condition.
45491 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45492 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45493 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45494 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45495 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45496 [!__ASSUME_ACCEPT4]: Change condition to
45497 [!__ASSUME_ACCEPT4_SOCKETCALL].
45498 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45499 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45500 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45501 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45502 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45503 __ASSUME_ACCEPT4_SYSCALL.
45504 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45505 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45506 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45507 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45508 __ASSUME_ACCEPT4_SYSCALL.
45509 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45510 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45511 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45512 [__ASSUME_ACCEPT4]: Change condition to
45513 [__ASSUME_ACCEPT4_SOCKETCALL].
45514 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45515 (__ASSUME_SOCKETCALL): Define.
45516 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45517 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45518 (__ASSUME_SOCKETCALL): Define.
45519 (__ASSUME_ACCEPT4): Remove.
45520 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45521 Define.
45522 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45523 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45524 Likewise.
45525 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45526 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45527
45528 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45529 macro.
45530 (HWCAP_ARM_LPAE): Likewise.
45531 (HWCAP_ARM_EVTSTRM): Likewise.
45532 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45533 Add vpfd32, lpae and evtstrm.
45534 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45535 Increase to 22.
45536
45537 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45538
45539 * math/auto-libm-test-in: Add tests of clog10.
45540 * math/auto-libm-test-out: Regenerated.
45541 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45542 * sysdeps/i386/fpu/libm-test-ulps: Update.
45543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45544
45545 2014-02-18 Andreas Schwab <schwab@suse.de>
45546
45547 [BZ #16574]
45548 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45549 Store non-zero if the second buffer was newly allocated.
45550 (send_dg): Likewise.
45551 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45552 to send_vc and send_dg.
45553 (res_nsend): Pass NULL for ansp2_malloced.
45554 * resolv/res_query.c (__libc_res_nquery): Add parameter
45555 answerp2_malloced and pass it down to __libc_res_nsend.
45556 (res_nquery): Pass additional NULL to __libc_res_nquery.
45557 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45558 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45559 second answer buffer if answerp2_malloced was set.
45560 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45561 (__libc_res_nquerydomain): Add parameter
45562 answerp2_malloced and pass it down to __libc_res_nquery.
45563 (res_nquerydomain): Pass additional NULL to
45564 __libc_res_nquerydomain.
45565 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45566 additional NULL to __libc_res_nsend and __libc_res_nquery.
45567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45568 additional NULL to __libc_res_nsearch.
45569 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45570 parameter of __libc_res_nsearch to check for separately allocated
45571 second buffer.
45572 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45573 __libc_res_nquery.
45574 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45575 additional NULL to __libc_res_nquery.
45576 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45577 __libc_res_nsearch.
45578 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45579 * include/resolv.h: Update prototypes of __libc_res_nquery,
45580 __libc_res_nsearch, __libc_res_nsend.
45581
45582 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45583
45584 * math/auto-libm-test-in: Add tests of fma.
45585 * math/auto-libm-test-out: Regenerated.
45586 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45587 (fma_towardzero_test_data): Likewise.
45588 (fma_downward_test_data): Likewise.
45589 (fma_upward_test_data): Likewise.
45590 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45591 mpc_mode.
45592 (rounding_modes): Add values for new field.
45593 (func_calc_method): Add value mpfr_fff_f.
45594 (func_calc_desc): Add mpfr_fff_f union field.
45595 (test_function): Add field exact_args.
45596 (FUNC): Add macro argument EXACT_ARGS.
45597 (FUNC_mpfr_f_f): Update call to FUNC.
45598 (FUNC_mpfr_f_f): Likewise.
45599 (FUNC_mpfr_ff_f): Likewise.
45600 (FUNC_mpfr_if_f): Likewise.
45601 (FUNC_mpc_c_f): Likewise.
45602 (FUNC_mpc_c_c): Likewise.
45603 (test_functions): Add fma. Update calls to FUNC.
45604 (handle_input_arg): Add argument exact_args.
45605 (add_test): Update call to handle_input_arg.
45606 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45607 (output_for_one_input_case): Update call to calc_generic_results.
45608 Recalculate exact zero results in each rounding mode.
45609
45610 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45611 non-negative before setting low bit.
45612 * math/auto-libm-test-in: Mark one asin test possibly having
45613 spurious underflow.
45614 * math/auto-libm-test-out: Regenerated.
45615 * sysdeps/i386/fpu/libm-test-ulps: Update.
45616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45617
45618 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45619
45620 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45621 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45622 ports/sysdeps/unix/sysv/linux/microblaze.
45623 * README: Add missing listing for microblaze*-*-linux-gnu.
45624
45625 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45626
45627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45628 duplicate code
45629
45630 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45631
45632 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45633 * sysdeps/unix/sysv/linux/ia64: Move directory from
45634 ports/sysdeps/unix/sysv/linux/ia64.
45635 * README: Update listing for ia64-*-linux-gnu.
45636
45637 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45638 Joseph Myers <joseph@codesourcery.com>
45639
45640 * Makeconfig (test-name): New variable.
45641 (evaluate-test): Likewise.
45642 * Makerules (do-test-clean): Remove .test-result files.
45643 (common-mostlyclean): Likewise.
45644 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45645 * scripts/evaluate-test.sh: New file.
45646
45647 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45648
45649 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45650 separate $(objpfx)tst-fopenloc-cmp.out and
45651 $(objpfx)tst-fopenloc-mem.out targets.
45652 (tests): Update dependencies.
45653 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45654 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45655 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45656 (tst-rxspencer-no-utf8-ARGS): New variable.
45657 (tst-rxspencer-no-utf8-ENV): Likewise.
45658 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45659 instead of $(objpfx)tst-rxspencer-mem.
45660 ($(objpfx)tst-rxspencer-mem): Change target to
45661 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45662 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45663 * posix/tst-rxspencer-no-utf8.c: New file.
45664
45665 * elf/Makefile ($(objpfx)order.out): Remove rule.
45666 [$(run-built-tests) = yes] (tests): Depend on
45667 $(objpfx)order-cmp.out.
45668 ($(objpfx)order-cmp.out): New rule.
45669 [$(run-built-tests) = yes] (tests): Depend on
45670 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45671 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45672 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45673 $(objpfx)tst-array5-static-cmp.out.
45674 ($(objpfx)tst-array1.out): Remove rule.
45675 ($(objpfx)tst-array1-cmp.out): New rule.
45676 ($(objpfx)tst-array1-static.out): Remove rule.
45677 ($(objpfx)tst-array1-static-cmp.out): New rule.
45678 ($(objpfx)tst-array2.out): Remove rule.
45679 ($(objpfx)tst-array2-cmp.out): New rule.
45680 ($(objpfx)tst-array3.out): Remove rule.
45681 ($(objpfx)tst-array3-cmp.out): New rule.
45682 ($(objpfx)tst-array4.out): Remove rule.
45683 ($(objpfx)tst-array4-cmp.out): New rule.
45684 ($(objpfx)tst-array5.out): Remove rule.
45685 ($(objpfx)tst-array5-cmp.out): New rule.
45686 ($(objpfx)tst-array5-static.out): Remove rule.
45687 ($(objpfx)tst-array5-static-cmp.out): New rule.
45688 [$(run-built-tests) = yes] (tests): Depend on
45689 $(objpfx)order2-cmp.out.
45690 ($(objpfx)order2.out): Remove rule.
45691 ($(objpfx)order2-cmp.out): New rule.
45692 ($(objpfx)tst-initorder.out): Remove rule.
45693 [$(run-built-tests) = yes] (tests): Depend on
45694 $(objpfx)tst-initorder-cmp.out.
45695 ($(objpfx)tst-initorder-cmp.out): New rule.
45696 ($(objpfx)tst-initorder2.out): Remove rule.
45697 [$(run-built-tests) = yes] (tests): Depend on
45698 $(objpfx)tst-initorder2-cmp.out.
45699 ($(objpfx)tst-initorder2-cmp.out): New rule.
45700 [$(run-built-tests) = yes] (tests): Depend on
45701 $(objpfx)tst-unused-dep-cmp.out.
45702 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45703 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45704 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45705 on $(objpfx)tst-setvbuf1-cmp.out.
45706 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45707 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45708 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45709 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45710 ($(objpfx)tst-svc.out): Remove rule.
45711 ($(objpfx)tst-svc-cmp.out): New rule.
45712
45713 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45714
45715 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45716 * ctype/ctype.h [__USE_MISC]: Likewise.
45717 * dirent/dirent.h [__USE_MISC]: Likewise.
45718 * grp/grp.h [__USE_MISC]: Likewise.
45719 * io/fcntl.h [__USE_MISC]: Likewise.
45720 * io/sys/stat.h [__USE_MISC]: Likewise.
45721 * libio/stdio.h [__USE_MISC]: Likewise.
45722 * posix/unistd.h [__USE_MISC]: Likewise.
45723 * pwd/pwd.h [__USE_MISC]: Likewise.
45724 * stdlib.h [__USE_MISC]: Likewise.
45725 * string/bits/string2.h [__USE_MISC]: Likewise.
45726 * string/string.h [__USE_MISC]: Likewise.
45727 * time/time.h [__USE_MISC]: Likewise.
45728
45729 2014-02-13 Andreas Schwab <schwab@suse.de>
45730
45731 [BZ #16574]
45732 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45733 second answer buffer if it was separately allocated.
45734
45735 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45736
45737 * sysdeps/mips/math-tests.h: Include <features.h>.
45738 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45739 (ROUNDING_TESTS_long_double): Do not define.
45740 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45741 (EXCEPTION_TESTS_long_double): Likewise.
45742 * sysdeps/mips/mips64/libm-test-ulps: Update.
45743
45744 * include/features.h (__USE_BSD): Remove macro definitions.
45745 (__USE_SVID): Likewise.
45746 (_BSD_SOURCE): Likewise.
45747 (_SVID_SOURCE): Likewise.
45748 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45749 from definition of _DEFAULT_SOURCE.
45750 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45751 [_DEFAULT_SOURCE].
45752 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45753 * bits/mman.h [__USE_BSD]: Likewise.
45754 * bits/termios.h [__USE_BSD]: Likewise.
45755 * bits/waitstatus.h [__USE_BSD]: Likewise.
45756 * ctype/ctype.h [__USE_SVID]: Likewise.
45757 * dirent/dirent.h [__USE_BSD]: Likewise.
45758 * grp/grp.h [__USE_SVID]: Likewise.
45759 [__USE_BSD]: Likewise.
45760 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45761 * io/fcntl.h [__USE_BSD]: Likewise.
45762 * io/ftw.h [__USE_BSD]: Likewise.
45763 * io/sys/stat.h [__USE_BSD]: Likewise.
45764 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45765 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45766 * libio/stdio.h [__USE_SVID]: Likewise.
45767 [__USE_BSD]: Likewise.
45768 * math/math.h [__USE_SVID]: Likewise.
45769 [__USE_BSD]: Likewise.
45770 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45771 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45772 * misc/search.h [__USE_SVID]: Likewise.
45773 * misc/sys/mman.h [__USE_BSD]: Likewise.
45774 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45775 * misc/sys/uio.h [__USE_BSD]: Likewise.
45776 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45777 * posix/glob.h [__USE_BSD]: Likewise.
45778 * posix/regex.h [__USE_BSD]: Likewise.
45779 * posix/sys/types.h [__USE_BSD]: Likewise.
45780 [__USE_SVID]: Likewise.
45781 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45782 * posix/sys/wait.h [__USE_BSD]: Likewise.
45783 [__USE_SVID]: Likewise.
45784 * posix/unistd.h [__USE_BSD]: Likewise.
45785 [__USE_SVID]: Likewise.
45786 * pwd/pwd.h [__USE_SVID]: Likewise.
45787 * resolv/netdb.h [__USE_BSD]: Likewise.
45788 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45789 * signal/signal.h [__USE_BSD]: Likewise.
45790 [__USE_SVID]: Likewise.
45791 * socket/sys/socket.h [__USE_BSD]: Likewise.
45792 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45793 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45794 [__USE_SVID]: Likewise.
45795 * string/bits/string2.h [__USE_BSD]: Likewise.
45796 [__USE_SVID]: Likewise.
45797 * string/bits/string3.h [__USE_BSD]: Likewise.
45798 * string/endian.h [__USE_BSD]: Likewise.
45799 * string/string.h [__USE_SVID]: Likewise.
45800 [__USE_BSD]: Likewise.
45801 * string/strings.h [__USE_BSD]: Likewise.
45802 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45803 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45804 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45805 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45806 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45807 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45808 Likewise.
45809 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45810 Likewise.
45811 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45812 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45813 Likewise.
45814 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45815 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45816 Likewise.
45817 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45818 Likewise.
45819 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45820 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45822 Likewise.
45823 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45824 Likewise.
45825 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45826 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45827 * termios/termios.h [__USE_BSD]: Likewise.
45828 * time/sys/time.h [__USE_BSD]: Likewise.
45829 * time/time.h [__USE_BSD]: Likewise.
45830 [__USE_SVID]: Likewise.
45831
45832 * Makefile (subdir_targets): Remove subdir_lint.out.
45833
45834 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45835 (do-tst-printf): Likewise.
45836 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45837 $(objpfx)tst-printf.out.
45838
45839 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45840
45841 * Makerules (check-abi-%): Change target to
45842 $(objpfx)check-abi-%.out.
45843 (check-abi target): Update dependencies.
45844 (check-abi-pattern variable): Redirect output of diff to $@.
45845 (check-abi variable): Likewise.
45846 * elf/Makefile (check-abi): Update dependencies.
45847
45848 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45849 unused.
45850 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45851 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45852 subnormal range.
45853 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45854 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45855 value has largest subnormal exponent.
45856 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45857 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45858 * sysdeps/aarch64/soft-fp/sfp-machine.h
45859 (_FP_TININESS_AFTER_ROUNDING): New macro.
45860 * sysdeps/alpha/soft-fp/sfp-machine.h
45861 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45862 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45863 Likewise.
45864 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45865 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45866 * sysdeps/mips/soft-fp/sfp-machine.h
45867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45868 * sysdeps/powerpc/soft-fp/sfp-machine.h
45869 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45870 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45871 Likewise.
45872 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45873 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45874 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45875 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45876 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45877 Likewise.
45878
45879 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45880
45881 [BZ #16545]
45882 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45883 model 1.
45884
45885 2014-02-12 Richard Henderson <rth@redhat.com>
45886
45887 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45888 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45889 * sysdeps/unix/sysv/linux/alpha: Move directory from
45890 ports/sysdeps/unix/sysv/linux/alpha.
45891 * README: Update listing for alpha-*-linux-gnu.
45892
45893 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45894
45895 * include/features.h: Update comment documenting feature test
45896 macros.
45897 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45898 _DEFAULT_SOURCE.
45899 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45900 (_SVID_SOURCE): Likewise.
45901 (_DEFAULT_SOURCE): Update description of default features.
45902 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45903 with _GNU_SOURCE.
45904 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45905 (S_ISVTX): Likewise.
45906 * manual/math.texi (Mathematical Constants): Likewise.
45907 * manual/signal.texi (Interrupted Primitives): Likewise.
45908 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45909 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45910 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45911 Don't refer to _SVID_SOURCE in warning text.
45912
45913 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45914
45915 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45916 already defined.
45917 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45918 * sysdeps/mips/dl-lookup.c: Remove.
45919 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45920
45921 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45922
45923 [BZ #16447]
45924 * math/auto-libm-test-in: Add testcase for expl.
45925 * math/auto-libm-test-out: Regenerate.
45926 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45927 calculation of unsafe.
45928 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45929
45930 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45931
45932 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45933 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45934 ports/sysdeps/unix/sysv/linux/aarch64.
45935 * README: Update listing for aarch64*-*-linux-gnu.
45936
45937 2014-02-11 Will Newton <will.newton@linaro.org>
45938
45939 * manual/probes.texi (Mathematical Function Probes): Use
45940 "triggered" instead of "hit".
45941
45942 * manual/probes.texi (Internal Probes): Add documentation
45943 of setjmp, longjmp and longjmp_target probes.
45944
45945 * include/stap-probe.h: Add comment about probe argument
45946 format.
45947
45948 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45949 definition. (tr_where, tr_freehook, tr_mallochook,
45950 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45951
45952 2014-02-11 David S. Miller <davem@davemloft.net>
45953
45954 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45955 processing int_tests.
45956
45957 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45958
45959 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45960 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45961 * sysdeps/unix/sysv/linux/mips: Move directory from
45962 ports/sysdeps/unix/sysv/linux/mips.
45963 * README: Update listing for mips-*-linux-gnu and
45964 mips64-*-linux-gnu.
45965
45966 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45967
45968 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45969 * sysdeps/unix/sysv/linux/m68k: Move directory from
45970 ports/sysdeps/unix/sysv/linux/m68k.
45971 * README: Update listing for m68k-*-linux-gnu.
45972
45973 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45974
45975 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45976 * sysdeps/unix/sysv/linux/generic: Move directory from
45977 ports/sysdeps/unix/sysv/linux/generic.
45978 * sysdeps/unix/sysv/linux/tile: Move directory from
45979 ports/sysdeps/unix/sysv/linux/tile.
45980 * README: Update listing for tile*-*-linux-gnu.
45981
45982 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45983
45984 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45985 __builtin_expect.
45986 * benchtests/bench-memmem.c (simple_memmem): Likewise.
45987 * catgets/open_catalog.c (__open_catalog): Likewise.
45988 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45989 * debug/confstr_chk.c: Likewise.
45990 * debug/fread_chk.c (__fread_chk): Likewise.
45991 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45992 * debug/getgroups_chk.c: Likewise.
45993 * debug/mbsnrtowcs_chk.c: Likewise.
45994 * debug/mbsrtowcs_chk.c: Likewise.
45995 * debug/mbstowcs_chk.c: Likewise.
45996 * debug/memcpy_chk.c: Likewise.
45997 * debug/memmove_chk.c: Likewise.
45998 * debug/mempcpy_chk.c: Likewise.
45999 * debug/memset_chk.c: Likewise.
46000 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46001 * debug/strcat_chk.c (__strcat_chk): Likewise.
46002 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46003 * debug/strncat_chk.c (__strncat_chk): Likewise.
46004 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46005 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46006 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46007 * debug/wcpncpy_chk.c: Likewise.
46008 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46009 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46010 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46011 * debug/wcsncpy_chk.c: Likewise.
46012 * debug/wcsnrtombs_chk.c: Likewise.
46013 * debug/wcsrtombs_chk.c: Likewise.
46014 * debug/wcstombs_chk.c: Likewise.
46015 * debug/wmemcpy_chk.c: Likewise.
46016 * debug/wmemmove_chk.c: Likewise.
46017 * debug/wmempcpy_chk.c: Likewise.
46018 * debug/wmemset_chk.c: Likewise.
46019 * dirent/scandirat.c (SCANDIRAT): Likewise.
46020 * dlfcn/dladdr1.c (dladdr1): Likewise.
46021 * dlfcn/dladdr.c (dladdr): Likewise.
46022 * dlfcn/dlclose.c (dlclose_doit): Likewise.
46023 * dlfcn/dlerror.c (__dlerror): Likewise.
46024 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46025 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46026 * dlfcn/dlopen.c (dlopen_doit): Likewise.
46027 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46028 * dlfcn/dlsym.c (dlsym_doit): Likewise.
46029 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46030 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46031 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46032 Likewise.
46033 * elf/dl-conflict.c: Likewise.
46034 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46035 * elf/dl-dst.h: Likewise.
46036 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46037 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46039 * elf/dl-init.c (call_init, _dl_init): Likewise.
46040 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46041 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46042 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46043 Likewise.
46044 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46045 Likewise.
46046 * elf/dl-minimal.c (__libc_memalign): Likewise.
46047 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46048 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46049 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46050 * elf/dl-sym.c (do_sym): Likewise.
46051 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46052 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46053 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46054 * elf/dl-writev.h (_dl_writev): Likewise.
46055 * elf/ldconfig.c (search_dir): Likewise.
46056 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46057 (dl_main): Likewise.
46058 * elf/setup-vdso.h (setup_vdso): Likewise.
46059 * grp/compat-initgroups.c (compat_call): Likewise.
46060 * grp/fgetgrent.c (fgetgrent): Likewise.
46061 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46062 * grp/putgrent.c (putgrent): Likewise.
46063 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46064 Likewise.
46065 * hurd/hurdinit.c: Likewise.
46066 * iconvdata/8bit-gap.c (struct): Likewise.
46067 * iconvdata/ansi_x3.110.c : Likewise.
46068 * iconvdata/big5.c : Likewise.
46069 * iconvdata/big5hkscs.c : Likewise.
46070 * iconvdata/cp1255.c: Likewise.
46071 * iconvdata/cp1258.c : Likewise.
46072 * iconvdata/cp932.c : Likewise.
46073 * iconvdata/euc-cn.c: Likewise.
46074 * iconvdata/euc-jisx0213.c : Likewise.
46075 * iconvdata/euc-jp.c: Likewise.
46076 * iconvdata/euc-jp-ms.c : Likewise.
46077 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46078 * iconvdata/gb18030.c : Likewise.
46079 * iconvdata/gbbig5.c (const): Likewise.
46080 * iconvdata/gbgbk.c: Likewise.
46081 * iconvdata/gbk.c : Likewise.
46082 * iconvdata/ibm1364.c : Likewise.
46083 * iconvdata/ibm930.c : Likewise.
46084 * iconvdata/ibm932.c: Likewise.
46085 * iconvdata/ibm933.c : Likewise.
46086 * iconvdata/ibm935.c : Likewise.
46087 * iconvdata/ibm937.c : Likewise.
46088 * iconvdata/ibm939.c : Likewise.
46089 * iconvdata/ibm943.c: Likewise.
46090 * iconvdata/iso_11548-1.c: Likewise.
46091 * iconvdata/iso-2022-cn.c : Likewise.
46092 * iconvdata/iso-2022-cn-ext.c : Likewise.
46093 * iconvdata/iso-2022-jp-3.c: Likewise.
46094 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46095 * iconvdata/iso-2022-kr.c : Likewise.
46096 * iconvdata/iso646.c (gconv_end): Likewise.
46097 * iconvdata/iso_6937-2.c : Likewise.
46098 * iconvdata/iso_6937.c : Likewise.
46099 * iconvdata/iso8859-1.c: Likewise.
46100 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46101 * iconvdata/shift_jisx0213.c : Likewise.
46102 * iconvdata/sjis.c : Likewise.
46103 * iconvdata/t.61.c : Likewise.
46104 * iconvdata/tcvn5712-1.c : Likewise.
46105 * iconvdata/tscii.c: Likewise.
46106 * iconvdata/uhc.c : Likewise.
46107 * iconvdata/unicode.c (gconv_end): Likewise.
46108 * iconvdata/utf-16.c (gconv_end): Likewise.
46109 * iconvdata/utf-32.c (gconv_end): Likewise.
46110 * iconvdata/utf-7.c (base64): Likewise.
46111 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46112 * iconv/gconv_close.c (__gconv_close): Likewise.
46113 * iconv/gconv_open.c (__gconv_open): Likewise.
46114 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46115 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46116 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46117 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46118 (ucs4le_internal_loop_single): Likewise.
46119 * iconv/iconv.c (iconv): Likewise.
46120 * iconv/iconv_close.c: Likewise.
46121 * iconv/loop.c (SINGLE): Likewise.
46122 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46123 * include/atomic.h: Likewise.
46124 * inet/inet6_option.c (option_alloc): Likewise.
46125 * intl/bindtextdom.c (set_binding_values): Likewise.
46126 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46127 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46128 * intl/localealias.c (read_alias_file): Likewise.
46129 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46130 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46131 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46132 * libio/fmemopen.c (fmemopen): Likewise.
46133 * libio/iofgets.c (_IO_fgets): Likewise.
46134 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46135 * libio/iofgetws.c (fgetws): Likewise.
46136 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46137 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46138 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46139 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46140 * locale/findlocale.c (_nl_find_locale): Likewise.
46141 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46142 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46143 Likewise.
46144 * locale/setlocale.c (setlocale): Likewise.
46145 * login/programs/pt_chown.c (main): Likewise.
46146 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46147 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46148 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46149 (mmap, mmap64, mremap, munmap): Likewise.
46150 * math/e_exp2l.c: Likewise.
46151 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46152 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46153 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46154 * math/s_catan.c (__catan): Likewise.
46155 * math/s_catanf.c (__catanf): Likewise.
46156 * math/s_catanh.c (__catanh): Likewise.
46157 * math/s_catanhf.c (__catanhf): Likewise.
46158 * math/s_catanhl.c (__catanhl): Likewise.
46159 * math/s_catanl.c (__catanl): Likewise.
46160 * math/s_ccosh.c (__ccosh): Likewise.
46161 * math/s_ccoshf.c (__ccoshf): Likewise.
46162 * math/s_ccoshl.c (__ccoshl): Likewise.
46163 * math/s_cexp.c (__cexp): Likewise.
46164 * math/s_cexpf.c (__cexpf): Likewise.
46165 * math/s_cexpl.c (__cexpl): Likewise.
46166 * math/s_clog10.c (__clog10): Likewise.
46167 * math/s_clog10f.c (__clog10f): Likewise.
46168 * math/s_clog10l.c (__clog10l): Likewise.
46169 * math/s_clog.c (__clog): Likewise.
46170 * math/s_clogf.c (__clogf): Likewise.
46171 * math/s_clogl.c (__clogl): Likewise.
46172 * math/s_csin.c (__csin): Likewise.
46173 * math/s_csinf.c (__csinf): Likewise.
46174 * math/s_csinh.c (__csinh): Likewise.
46175 * math/s_csinhf.c (__csinhf): Likewise.
46176 * math/s_csinhl.c (__csinhl): Likewise.
46177 * math/s_csinl.c (__csinl): Likewise.
46178 * math/s_csqrt.c (__csqrt): Likewise.
46179 * math/s_csqrtf.c (__csqrtf): Likewise.
46180 * math/s_csqrtl.c (__csqrtl): Likewise.
46181 * math/s_ctan.c (__ctan): Likewise.
46182 * math/s_ctanf.c (__ctanf): Likewise.
46183 * math/s_ctanh.c (__ctanh): Likewise.
46184 * math/s_ctanhf.c (__ctanhf): Likewise.
46185 * math/s_ctanhl.c (__ctanhl): Likewise.
46186 * math/s_ctanl.c (__ctanl): Likewise.
46187 * math/w_pow.c: Likewise.
46188 * math/w_powf.c: Likewise.
46189 * math/w_powl.c: Likewise.
46190 * math/w_scalb.c (sysv_scalb): Likewise.
46191 * math/w_scalbf.c (sysv_scalbf): Likewise.
46192 * math/w_scalbl.c (sysv_scalbl): Likewise.
46193 * misc/error.c (error_tail): Likewise.
46194 * misc/pselect.c (__pselect): Likewise.
46195 * nis/nis_callback.c (__nis_create_callback): Likewise.
46196 * nis/nis_call.c (__nisfind_server): Likewise.
46197 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46198 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46199 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46200 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46201 * nis/nis_lookup.c (nis_lookup): Likewise.
46202 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46203 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46204 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46205 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46206 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46207 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46208 * nis/nss_compat/compat-initgroups.c (add_group)
46209 (internal_getgrent_r): Likewise.
46210 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46211 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46212 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46213 (internal_getspnam_r): Likewise.
46214 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46215 (_nss_nis_getaliasbyname_r): Likewise.
46216 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46217 (_nss_nis_getntohost_r): Likewise.
46218 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46219 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46220 (_nss_nis_getgrgid_r): Likewise.
46221 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46222 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46223 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46224 (_nss_nis_gethostbyname4_r): Likewise.
46225 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46226 (initgroups_netid): Likewise.
46227 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46228 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46229 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46230 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46231 (_nss_nis_getprotobynumber_r): Likewise.
46232 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46233 (_nss_nis_getsecretkey): Likewise.
46234 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46235 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46236 (_nss_nis_getpwuid_r): Likewise.
46237 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46238 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46239 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46240 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46241 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46242 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46243 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46244 Likewise.
46245 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46246 (_nss_nisplus_getntohost_r): Likewise.
46247 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46248 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46249 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46250 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46251 Likewise.
46252 * nis/nss_nisplus/nisplus-initgroups.c
46253 (_nss_nisplus_initgroups_dyn): Likewise.
46254 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46255 (_nss_nisplus_getnetbyaddr_r): Likewise.
46256 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46257 (_nss_nisplus_getprotobynumber_r): Likewise.
46258 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46259 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46260 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46261 Likewise.
46262 * nis/nss_nisplus/nisplus-service.c
46263 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46264 (_nss_nisplus_getservbyport_r): Likewise.
46265 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46266 (_nss_nisplus_getspnam_r): Likewise.
46267 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46268 Likewise.
46269 * nscd/aicache.c (addhstaiX): Likewise.
46270 * nscd/cache.c (cache_search, prune_cache): Likewise.
46271 * nscd/connections.c (register_traced_file, send_ro_fd)
46272 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46273 (main_loop_epoll): Likewise.
46274 * nscd/grpcache.c (addgrbyX): Likewise.
46275 * nscd/hstcache.c (addhstbyX): Likewise.
46276 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46277 * nscd/mem.c (gc, mempool_alloc): Likewise.
46278 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46279 (addinnetgrX): Likewise.
46280 * nscd/nscd-client.h (__nscd_acquire_maplock)
46281 (__nscd_drop_map_ref): Likewise.
46282 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46283 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46284 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46285 Likewise.
46286 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46287 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46288 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46289 (__nscd_get_map_ref): Likewise.
46290 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46291 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46292 Likewise.
46293 * nscd/pwdcache.c (addpwbyX): Likewise.
46294 * nscd/selinux.c (preserve_capabilities): Likewise.
46295 * nscd/servicescache.c (addservbyX): Likewise.
46296 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46297 * posix/fnmatch.c (fnmatch): Likewise.
46298 * posix/getopt.c (_getopt_internal_r): Likewise.
46299 * posix/glob.c (glob, glob_in_dir): Likewise.
46300 * posix/wordexp.c (exec_comm_child): Likewise.
46301 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46302 (getanswer_r, gaih_getanswer_slice): Likewise.
46303 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46304 * resolv/res_init.c: Likewise.
46305 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46306 * resolv/res_query.c (__libc_res_nquery): Likewise.
46307 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46308 Likewise.
46309 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46310 * stdio-common/perror.c (perror): Likewise.
46311 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46312 * stdio-common/tmpnam.c (tmpnam): Likewise.
46313 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46314 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46315 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46316 Likewise.
46317 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46318 * stdlib/putenv.c (putenv): Likewise.
46319 * stdlib/setenv.c (__add_to_environ): Likewise.
46320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46321 * stdlib/strtol_l.c (INTERNAL): Likewise.
46322 * string/memmem.c (memmem): Likewise.
46323 * string/strerror.c (strerror): Likewise.
46324 * string/strnlen.c (__strnlen): Likewise.
46325 * string/test-memmem.c (simple_memmem): Likewise.
46326 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46327 * sunrpc/pm_getport.c (__get_socket): Likewise.
46328 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46329 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46330 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46331 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46332 Likewise.
46333 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46334 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46335 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46336 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46337 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46338 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46339 Likewise.
46340 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46341 Likewise.
46342 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46343 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46345 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46346 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46348 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46349 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46350 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46351 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46352 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46353 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46354 Likewise.
46355 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46356 Likewise.
46357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46358 Likewise.
46359 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46361 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46362 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46363 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46364 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46365 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46367 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46368 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46369 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46371 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46372 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46375 Likewise.
46376 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46377 Likewise.
46378 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46379 Likewise.
46380 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46381 Likewise.
46382 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46384 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46385 Likewise.
46386 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46387 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46388 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46389 * sysdeps/posix/sleep.c: Likewise.
46390 * sysdeps/posix/tempname.c: Likewise.
46391 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46392 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46393 Likewise.
46394 * sysdeps/powerpc/powerpc32/dl-machine.h
46395 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46396 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46398 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46399 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46400 Likewise.
46401 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46402 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46403 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46404 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46405 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46406 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46407 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46408 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46409 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46410 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46412 (elf_machine_lazy_rel): Likewise.
46413 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46414 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46415 (elf_machine_lazy_rel): Likewise.
46416 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46417 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46418 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46419 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46420 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46421 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46422 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46423 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46424 Likewise.
46425 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46426 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46427 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46428 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46429 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46430 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46431 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46432 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46433 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46434 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46435 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46436 Likewise.
46437 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46438 (__posix_fallocate64_l64): Likewise.
46439 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46440 (posix_fallocate): Likewise.
46441 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46442 Likewise.
46443 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46444 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46445 (getifaddrs_internal): Likewise.
46446 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46447 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46448 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46449 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46450 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46451 (__posix_fallocate64_l64): Likewise.
46452 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46453 Likewise.
46454 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46455 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46456 (__get_clockfreq): Likewise.
46457 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46458 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46459 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46460 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46461 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46462 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46463 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46464 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46465 Likewise.
46466 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46467 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46468 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46469 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46470 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46471 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46472 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46473 Likewise.
46474 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46475 (posix_fallocate): Likewise.
46476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46477 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46478 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46479 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46480 (elf_machine_rela, elf_machine_rela_relative)
46481 (elf_machine_lazy_rel): Likewise.
46482 * time/asctime.c (asctime_internal): Likewise.
46483 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46484 * time/tzset.c (__tzset_parse_tz): Likewise.
46485 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46486 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46487 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46488 * wcsmbs/wcsmbsload.h: Likewise.
46489
46490 [BZ #15894]
46491 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46492
46493 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46494 (arena_get2): Remove THREAD_STATS conditionals.
46495 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46496 (__malloc_stats, int): Likewise.
46497
46498 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46499
46500 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46501 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46502
46503 * manual/setjmp.texi: Fix typos/grammar errors.
46504
46505 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46506 Only return early when n is <= 0. Delete unused return statement.
46507
46508 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46509 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46510 * debug/tst-longjmp_chk3.c: New file.
46511
46512 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46513 (test_main): Replace code with set_fortify_handler call.
46514 * debug/test-strcpy_chk.c: Likewise.
46515 * debug/tst-chk1.c: Likewise.
46516 * debug/tst-longjmp_chk.c: Likewise.
46517 * test-skeleton.c: Include fcntl.h & paths.h
46518 (set_fortify_handler): Define.
46519
46520 * debug/tst-longjmp_chk.c: Add header comment and include
46521 ../test-skeleton.c.
46522 (do_test): Mark static.
46523 (TEST_FUNCTION): Define.
46524
46525 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46526 (IP_PMTUDISC_INTERFACE): Likewise.
46527 (IP_MULTICAST_IF): Likewise.
46528 (IP_MULTICAST_TTL): Likewise.
46529 (IP_MULTICAST_LOOP): Likewise.
46530 (IP_ADD_MEMBERSHIP): Likewise.
46531 (IP_DROP_MEMBERSHIP): Likewise.
46532 (IP_UNBLOCK_SOURCE): Likewise.
46533 (IP_BLOCK_SOURCE): Likewise.
46534 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46535 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46536 (IP_MSFILTER): Likewise.
46537 (MCAST_JOIN_GROUP): Likewise.
46538 (MCAST_BLOCK_SOURCE): Likewise.
46539 (MCAST_UNBLOCK_SOURCE): Likewise.
46540 (MCAST_LEAVE_GROUP): Likewise.
46541 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46542 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46543 (MCAST_MSFILTER): Likewise.
46544 (IP_MULTICAST_ALL): Likewise.
46545 (IP_UNICAST_IF): Likewise.
46546
46547 * timezone/Makefile: Delete $(have-ksh) check.
46548 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46549 * timezone/tzselect.ksh: Add +x mode bits.
46550
46551 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46552 (ANON_INODE_FS_MAGIC): Likewise.
46553 (BDEVFS_MAGIC): Likewise.
46554 (BINFMTFS_MAGIC): Likewise.
46555 (BTRFS_TEST_MAGIC): Likewise.
46556 (CRAMFS_MAGIC_WEND): Likewise.
46557 (DEBUGFS_MAGIC): Likewise.
46558 (ECRYPTFS_SUPER_MAGIC): Likewise.
46559 (EXT3_SUPER_MAGIC): Likewise.
46560 (EXT4_SUPER_MAGIC): Likewise.
46561 (FUTEXFS_SUPER_MAGIC): Likewise.
46562 (HOSTFS_SUPER_MAGIC): Likewise.
46563 (HUGETLBFS_MAGIC): Likewise.
46564 (MINIX3_SUPER_MAGIC): Likewise.
46565 (MTD_INODE_FS_MAGIC): Likewise.
46566 (NILFS_SUPER_MAGIC): Likewise.
46567 (OPENPROM_SUPER_MAGIC): Likewise.
46568 (PIPEFS_MAGIC): Likewise.
46569 (PSTOREFS_MAGIC): Likewise.
46570 (QNX6_SUPER_MAGIC): Likewise.
46571 (RAMFS_MAGIC): Likewise.
46572 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46573 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46574 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46575 (SECURITYFS_MAGIC): Likewise.
46576 (SELINUX_MAGIC): Likewise.
46577 (SMACK_MAGIC): Likewise.
46578 (SOCKFS_MAGIC): Likewise.
46579 (SQUASHFS_MAGIC): Likewise.
46580 (STACK_END_MAGIC): Likewise.
46581 (TMPFS_MAGIC): Likewise.
46582 (USBDEVICE_SUPER_MAGIC): Likewise.
46583 (V9FS_MAGIC): Likewise.
46584 (XENFS_SUPER_MAGIC): Likewise.
46585 (CRAMFS_MAGIC): Fix typo in comment.
46586 (EXT2_SUPER_MAGIC): Update comment.
46587 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46588
46589 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46590
46591 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46592 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46593 * sysdeps/unix/sysv/linux/arm: Move directory from
46594 ports/sysdeps/unix/sysv/linux/arm.
46595 * README: Update listing for arm-*-linux-gnueabi.
46596
46597 * README: Remove mention of am33.
46598
46599 2014-02-07 Roland McGrath <roland@hack.frob.com>
46600
46601 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46602 than the comma operator, to avoid "rhs of comma has no effect"
46603 compiler warnings.
46604 (__sigfillset, __sigandset, __sigorset): Likewise.
46605 * include/signal.h (__sigemptyset): Likewise.
46606 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46607
46608 2014-02-07 Allan McRae <allan@archlinux.org>
46609
46610 * version.h (RELEASE): Set to "development".
46611 (VERSION): Set to "2.19.90"
46612 * NEWS: Add 2.20 section.
46613
46614 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46615
46616 [BZ #16529]
46617 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46618
46619 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46620
46621 * manual/contrib.texi: Update entry for Carlos O'Donell,
46622 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46623
46624 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46625
46626 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46627
46628 * sysdeps/unix/sysv/linux/kernel-features.h
46629 [__LINUX_KERNEL_VERSION >= 0x020621]
46630 (__ASSUME_PROC_PID_TASK_COMM): Define.
46631
46632 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46633
46634 [BZ #16398]
46635 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46636 conversion when destination buffer does not have enough space.
46637 * libio/tst-ftell-partial-wide.c: New test case.
46638 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46639
46640 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46641 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46642 Leonard and Allan McRae.
46643
46644 2014-02-04 David S. Miller <davem@davemloft.net>
46645
46646 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46647 32-bit.
46648
46649 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46650
46651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46652 New file
46653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46654 New file
46655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46656 New file.
46657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46658 New file.
46659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46660 New file.
46661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46662 New file.
46663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46664 New file.
46665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46666 New file.
46667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46668 New file.
46669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46670 New file.
46671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46672 New file.
46673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46674 New file.
46675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46676 New file.
46677
46678 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46679
46680 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46681 * shlib-versions: Likewise.
46682
46683 2014-02-04 Roland McGrath <roland@hack.frob.com>
46684 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46685
46686 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46687 (abilist-pattern): New variable, set to %-le.abilist.
46688
46689 * Makerules (abilist-pattern): New variable.
46690 (vpath): Use $(abilist-pattern) in place of %.abilist.
46691 (check-abi-% pattern rule): Likewise.
46692 (check-abi, update-abi): Likewise.
46693
46694 2014-02-04 Eric Wong <normalperson@yhbt.net>
46695
46696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46697
46698 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46699
46700 * manual/startup.texi: Add next, previous, and top entries for
46701 the `Program Arguments' and `Environment Variables' nodes.
46702
46703 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46704
46705 * manual/macros.texi: Add comments before MTASC-safety macros.
46706
46707 * manual/users.texi: Document MTASC-safety properties.
46708
46709 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46710 (pthread_getspecific, pthread_setspecific): Format with
46711 @deftypefun, and add @safety note.
46712 * manual/signal.texi: Move comments that analyze the above
46713 functions to their home place.
46714
46715 2014-02-03 Allan McRae <allan@archlinux.org>
46716
46717 * po/sl.po: Update Slovenian translation from translation project.
46718
46719 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46720
46721 * manual/time.texi (timegm): Add missing blank after @c.
46722 Reported by Joseph Myers <joseph@codesourcery.com>.
46723
46724 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46725
46726 * manual/check-safety.sh: New.
46727 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46728
46729 * manual/terminal.texi: Document MTASC-safety properties.
46730
46731 * manual/filesys.texi: Document MTASC-safety properties.
46732
46733 * manual/errno.texi: Document MTASC-safety properties.
46734
46735 * manual/intro.texi: Document safety identifiers and
46736 conditionals.
46737
46738 * manual/string.texi (wcstok): Fix prototype.
46739 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46740
46741 * manual/time.texi: Document MTASC-safety properties.
46742
46743 * manual/string.texi: Document MTASC-safety properties.
46744
46745 * manual/threads.texi: Document MTASC-safety properties.
46746
46747 * manual/stdio.texi: Document MTASC-safety properties.
46748
46749 * manual/syslog.texi: Document MTASC-safety properties.
46750
46751 * manual/sysinfo.texi: Document MTASC-safety properties.
46752
46753 * manual/startup.texi: Document MTASC-safety properties.
46754
46755 * manual/socket.texi: Document MTASC-safety properties.
46756
46757 * manual/signal.texi: Document MTASC-safety properties.
46758
46759 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46760
46761 * manual/setjmp.texi: Document MTASC-safety properties.
46762
46763 * manual/search.texi: Document MTASC-safety properties.
46764
46765 * manual/resource.texi: Document MTASC-safety properties.
46766
46767 * manual/process.texi: Document MTASC-safety properties.
46768
46769 * manual/platform.texi: Document MTASC-safety properties.
46770
46771 * manual/pipe.texi: Document MTASC-safety properties.
46772
46773 * manual/pattern.texi: Document MTASC-safety properties.
46774
46775 * manual/message.texi: Document MTASC-safety properties.
46776
46777 [BZ #12751]
46778 * manual/memory.texi: Document MTASC-safety properties.
46779
46780 * manual/math.texi: Document MTASC-safety properties.
46781
46782 * manual/locale.texi: Document MTASC-safety properties.
46783
46784 * manual/llio.texi: Document MTASC-safety properties.
46785
46786 * manual/libdl.texi: New.
46787
46788 * manual/lang.texi: Document MTASC-safety properties.
46789
46790 * manual/job.texi: Document MTASC-safety properties.
46791
46792 * manual/getopt.texi: Document MTASC-safety properties.
46793
46794 * manual/ctype.texi: Document MTASC-safety properties.
46795
46796 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46797
46798 [BZ #16046]
46799 * csu/libc-tls.c (static_map): Remove variable.
46800 (__libc_setup_tls): Use main executable's link map for TLS data.
46801 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46802 casing for LM_ID_BASE and GL(dl_nns).
46803 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46804 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46805 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46806 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46807 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46808 member.
46809 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46810 l_phnum members.
46811
46812 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46813
46814 * manual/debug.texi: Document MTASC-safety properties.
46815
46816 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46817
46818 [BZ #16510]
46819 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46820 of __x86_64__ when disabling x87 inline functions.
46821
46822 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46823
46824 * manual/charset.texi: Document MTASC-safety properties.
46825
46826 * manual/crypt.texi: Document MTASC-safety properties.
46827
46828 * manual/conf.texi: Document MTASC-safety properties.
46829
46830 * manual/arith.texi: Document MTASC-safety properties.
46831
46832 * manual/argp.texi: Document MTASC-safety properties.
46833
46834 * manual/macros.texi: Introduce macros to document multi
46835 thread, asynchronous signal and asynchronous cancellation
46836 safety properties.
46837 * manual/intro.texi: Introduce the properties themselves.
46838
46839 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46840
46841 * sysdeps/sh/sh4/Makefile: New file.
46842
46843 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46844
46845 * math/gen-libm-test.pl ($srcdir): New variable.
46846 ($auto_input): Use it.
46847
46848 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46849
46850 [BZ #16506]
46851 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46852 access beyond array bounds when parsing netgroups file.
46853
46854 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46855 the old buffer before realloc.
46856
46857 2014-01-27 Allan McRae <allan@archlinux.org>
46858
46859 * po/fr.po: Update French translation from translation project.
46860
46861 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46862
46863 * sysdeps/sh/libm-test-ulps: Regenerate.
46864
46865 2014-01-24 David S. Miller <davem@davemloft.net>
46866
46867 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46868
46869 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46870
46871 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46872 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46873
46874 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46875
46876 [BZ #16474]
46877 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46878 string pointers after reallocation.
46879
46880 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46881
46882 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46883 __SH4A__ instead of __SH_FPU_ANY__.
46884
46885 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46886
46887 * sysdeps/sh/fpu_control.h: New file.
46888 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46889 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46890 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46891 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46892 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46893 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46894 * sysdeps/sh/sys/ucontext.h: Remove.
46895 * sysdeps/sh/sys: Remove directory.
46896
46897 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46898
46899 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46900 s390/sys/ucontext.h.
46901 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46903
46904 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46905
46906 [BZ #15605]
46907 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46908
46909 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46910
46911 [BZ#16431]
46912 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46913 Adjust the vDSO correctly for internal calls.
46914 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46915
46916 2014-01-20 Allan McRae <allan@archlinux.org>
46917
46918 * po/ca.po: Update Catalan translation from translation project.
46919
46920 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46921
46922 * sysdeps/s390/sotruss-lib.c: New file.
46923
46924 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46925
46926 [BZ#16430]
46927 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46928 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46929 local calls issues by not having a PLT stub required for IFUNC calls.
46930 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46931
46932 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46933
46934 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46935 * math/test-fpucw-static.c: Likewise.
46936
46937 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46938
46939 [BZ #16453]
46940 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46941
46942 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46943
46944 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46945 implementation for powerpc.
46946
46947 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46948
46949 [BZ #14782]
46950 * sysdeps/posix/system.c (__libc_system): Do not enable
46951 asynchronous cancellation.
46952
46953 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46954
46955 [BZ #16427]
46956 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46957 handling only for numbers special also in the IEEE case.
46958
46959 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46960
46961 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46962
46963 2014-01-11 Allan McRae <allan@archlinux.org>
46964
46965 * po/bg.po: Update Bulgarian translation from translation project.
46966
46967 * po/de.po: Update German translation from translation project.
46968
46969 2014-01-10 Roland McGrath <roland@hack.frob.com>
46970
46971 * sysdeps/generic/gcc-compat.h: New file.
46972
46973 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46974
46975 * benchtests/asin-inputs: Correct slow inputs.
46976 * benchtests/acos-inputs: Likewise.
46977
46978 2014-01-10 Allan McRae <allan@archlinux.org>
46979
46980 * po:sv.po: Update Swedish translation from translation project.
46981
46982 * po/vi.po: Update Vietnamese translation from translation project.
46983
46984 * po/eo.po: Update Esperanto translation from translation project.
46985
46986 * po/cs.po: Update Czech translation from translation project.
46987
46988 * po/nl.po: Update Dutch translation from translation project.
46989
46990 * po/pl.po: Update Polish translation from translation project.
46991
46992 * po/ru.po: Update Russian translation from translation project.
46993
46994 * po/uk.po: Update Ukrainian translation from translation project.
46995
46996 2014-01-08 Brooks Moses <bmoses@google.com>
46997
46998 * elf/dl-load.c: Fix comment typo.
46999
47000 2014-01-08 Carlos O'Donell <carlos@redhat.com>
47001
47002 * po/header.pot: Rename to...
47003 * po/pot.header: ... this.
47004 * po/Makefile: Use pot.header.
47005
47006 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
47007 Maxim Kuvyrkov <maxim@kugelworks.com>
47008
47009 [BZ #16394]
47010 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47011 SRC and DEST against LEN.
47012
47013 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47014
47015 [BZ #16414]
47016 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47017 implementation.
47018 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47019
47020 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47021
47022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47023
47024 2014-01-08 Joseph Myers <joseph@codesourcery.com>
47025
47026 [BZ #16408]
47027 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47028 for large positive arguments.
47029
47030 2014-01-07 Joseph Myers <joseph@codesourcery.com>
47031
47032 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47033
47034 * math/auto-libm-test-in: Mark various tests with
47035 xfail-rounding:ldbl-128ibm.
47036 * math/auto-libm-test-out: Regenerated.
47037
47038 [BZ #16407]
47039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47040 Increase overflow threshold.
47041
47042 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
47043
47044 [BZ #14286]
47045 * stdio-common/vfprintf.c: Check for integer overflow.
47046
47047 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47048
47049 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47050 the first argument and return value of __tls_get_addr_internal.
47051
47052 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47053
47054 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47055 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47056
47057 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47058
47059 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47060 * sysdeps/s390/rtld-global-offsets.sym: New file.
47061 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47062 GLIBC_2.19 symbol.
47063 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47064 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47066 ... this.
47067 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47068 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47069 ... this.
47070 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47071 Regenerate.
47072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47073 Regenerate.
47074 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47075 halfs of GPRs for high_gprs contexts.
47076 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47077 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
47078 field.
47079 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47080 uc_flags field.
47081 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47082 64 bit versions:
47083 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47084 for high GPRs (uc_high_gprs) and for future extensions
47085 (__reserved).
47086 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47087 for future extensions (__reserved).
47088 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47089 64 bit versions:
47090 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47091 SC_HIGHGPRS offset definition.
47092 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47093 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47094
47095 * Versions.def: Add GLIBC_2.19 for libpthread.
47096 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47097 siglongjmp for libpthread with GLIBC_2.19 symver.
47098 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47099 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47100 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47101 * sysdeps/s390/__longjmp.c: New file.
47102 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47103 * sysdeps/s390/longjmp.c: New file.
47104 * sysdeps/s390/setjmp.S: New file.
47105 * sysdeps/s390/sigjmp.S: New file.
47106 * sysdeps/s390/v1-longjmp.c: New file.
47107 * sysdeps/s390/v1-setjmp.h: New file.
47108 * sysdeps/s390/v1-sigjmp.c: New file.
47109 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47110 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47111 GLIBC_2.19 version.
47112 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47113 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47114 versioned symbols for ____longjmp_chk.
47115 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47116 Likewise.
47117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47118 Regenerate.
47119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47120 Regenerate.
47121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47122 Regenerate.
47123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47124 Regenerate.
47125 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47126 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47127 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47128 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47129 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47130 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47131 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47132 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47133 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47134 * sysdeps/s390/rtld-__longjmp.c: New file.
47135 * sysdeps/s390/rtld-setjmp.S: New file.
47136
47137 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47138
47139 [BZ #16400]
47140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47141 Return -__logl (x) for small positive arguments without evaluating
47142 a polynomial.
47143
47144 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47145
47146 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47147 Rename to ...
47148 (__ptrace_peeksiginfo_args): ... this.
47149 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47150 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47152
47153 2014-01-06 Allan McRae <allan@archlinux.org>
47154
47155 * inet/netinet/in.h: Fix typo in comment.
47156
47157 2014-01-05 Andreas Jaeger <aj@suse.de>
47158
47159 * sysdeps/i386/fpu/libm-test-ulps: Update.
47160
47161 2014-01-05 Allan McRae <allan@archlinux.org>
47162
47163 * po/libc.pot: Regenerated.
47164
47165 * malloc/memusagestat.c: Fix gettext call formatting.
47166
47167 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47168
47169 * nscd/nscd.c: Improve usage() output.
47170
47171 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47172
47173 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47174 * sysdeps/unix/sysv/linux/configure: Regenerated.
47175 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47176 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47177
47178 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47179
47180 [BZ #16390]
47181 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47182 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47183
47184 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47185
47186 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47187 extra tokens at end of #undef directive.
47188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47189 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47190 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47191
47192 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47193
47194 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47195
47196 * math/auto-libm-test-in: Mark various tests with
47197 xfail-rounding:ldbl-128ibm.
47198 * math/auto-libm-test-out: Regenerated.
47199
47200 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47201
47202 [BZ #16386]
47203 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47204 numbers with subnormal high part when calculating exponent.
47205
47206 [BZ #16385]
47207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47208 fabs.
47209
47210 [BZ #16384]
47211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47212 M_LN2l.
47213 (__ieee754_acoshl): Use __log1pl not __log1p.
47214
47215 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47216
47217 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47218 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47219 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47220 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47221 (reused_arena, arena_get2): Convert to GNU style.
47222 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47223 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47224 (memalign_check, __malloc_set_state): Likewise.
47225 * malloc/mallocbug.c (main): Likewise.
47226 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47227 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47228 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47229 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47230 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47231 (__posix_memalign, malloc_info): Likewise.
47232 * malloc/malloc.h: Likewise.
47233 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47234 (mallochook, memalignhook, reallochook, mabort): Likewise.
47235 * malloc/mcheck.h: Likewise.
47236 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47237 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47238 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47239 * malloc/morecore.c (__default_morecore): Likewise.
47240 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47241 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47242 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47243 (print_and_abort): Likewise.
47244 * malloc/obstack.h: Likewise.
47245 * malloc/set-freeres.c (__libc_freeres): Likewise.
47246 * malloc/tst-mallocstate.c (main): Likewise.
47247 * malloc/tst-mtrace.c (main): Likewise.
47248 * malloc/tst-realloc.c (do_test): Likewise.
47249
47250 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47251
47252 [BZ #16366]
47253 * nscd/netgroupcache.c (do_notfound): New function.
47254 (addgetnetgrentX): Use it.
47255
47256 [BZ # 16365]
47257 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47258 NSS_STATUS_NOTFOUND.
47259
47260 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47261
47262 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47264
47265 2014-01-01 Allan McRae <allan@archlinux.org>
47266
47267 * scripts/update-copyrights: Update configure input file suffix.
47268
47269 * NEWS: Update copyright year.
47270 * catgets/gencat.c: Likewise.
47271 * csu/version.c: Likewise.
47272 * debug/catchsegv.sh: Likewise.
47273 * debug/pcprofiledump.c: Likewise.
47274 * debug/xtrace.sh: Likewise.
47275 * elf/ldconfig.c: Likewise.
47276 * elf/ldd.bash.in: Likewise.
47277 * elf/pldd.c: Likewise.
47278 * elf/sotruss.ksh: Likewise.
47279 * elf/sprof.c: Likewise.
47280 * iconv/iconv_prog.c: Likewise.
47281 * iconv/iconvconfig.c: Likewise.
47282 * locale/programs/locale.c: Likewise.
47283 * locale/programs/localedef.c: Likewise.
47284 * login/programs/pt_chown.c: Likewise.
47285 * malloc/memusage.sh: Likewise.
47286 * malloc/memusagestat.c: Likewise.
47287 * malloc/mtrace.pl: Likewise.
47288 * manual/libc.texinfo: Likewise.
47289 * nscd/nscd.c: Likewise.
47290 * nss/getent.c: Likewise.
47291 * nss/makedb.c: Likewise.
47292 * posix/getconf.c: Likewise.
47293 * scripts/test-installation.pl: Likewise.
47294
47295 * All files with FSF copyright notices: Update copyright dates
47296 using scripts/update-copyrights.
47297 * intl/plural.c: Regenerated.
47298 * locale/programs/charmap-kw.h: Likewise.
47299 * locale/programs/locfile-kw.h: Likewise.
47300
47301 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47302
47303 * sysdeps/unix/sysv/linux/configure: Regenerated.
47304 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47305 the linux/fanotify.h header.
47306 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47307 HAVE_LINUX_FANOTIFY_H is defined.
47308
47309 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47310
47311 * benchtests/cos-inputs: New inputs.
47312 * benchtests/sin-inputs: Likewise.
47313
47314 * benchtests/atan-inputs: New inputs. Fix name of multiple
47315 precision fallback inputs.
47316
47317 * benchtests/atanh-inputs: New inputs.
47318 * benchtests/tanh-inputs: Likewise.
47319
47320 * benchtests/acosh-inputs: New inputs.
47321 * benchtests/asinh-inputs: Likewise.
47322
47323 * benchtests/cosh-inputs: New inputs.
47324 * benchtests/sinh-inputs: Likewise.
47325
47326 * benchtests/acos-inputs: Add more inputs.
47327 * benchtests/asin-inputs: Likewise.
47328
47329 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47330
47331 [BZ #16375]
47332 * manual/arith.texi: Fix spelling.
47333 * manual/charset.texi: Likewise.
47334 * manual/errno.texi: Likewise.
47335 * manual/filesys.texi: Likewise.
47336 * manual/lang.texi: Likewise.
47337 * manual/llio.texi: Likewise.
47338 * manual/locale.texi: Likewise.
47339 * manual/message.texi: Likewise.
47340 * manual/resource.texi: Likewise.
47341 * manual/search.texi: Likewise.
47342 * manual/setjmp.texi: Likewise.
47343 * manual/stdio.texi: Likewise.
47344 * manual/string.texi: Likewise.
47345 * manual/sysinfo.texi: Likewise.
47346 * manual/time.texi: Likewise.
47347
47348 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47349
47350 * po/sl.po: New file.
47351
47352 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47353
47354 * .gitignore: Add core/.gdbinit/.gdb_history.
47355
47356 2013-12-27 Allan McRae <allan@archlinux.org>
47357
47358 [BZ #16369]
47359 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47360 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47361
47362 2013-12-24 Brooks Moses <bmoses@google.com>
47363
47364 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47365 all compilers that claim C++98 compliance, not just GCC.
47366 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47367 Likewise.
47368
47369 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47370
47371 * NEWS: Restore accidentally deleted bug-fix entries.
47372
47373 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47374 Ondřej Bílka <neleai@seznam.cz>
47375
47376 [BZ #15073]
47377 * malloc/malloc.c (_int_free): Perform sanity check only if we
47378 have_lock.
47379
47380 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47381
47382 [BZ #12986]
47383 * manual/stdio.texi (String Input Conversions): Clarify that character
47384 classes are not supported.
47385
47386 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47387
47388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47389
47390 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47391
47392 [BZ #16337]
47393 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47394 Calculate results for small negative arguments directly rather
47395 than using reflection formula with special underflow handling.
47396
47397 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47398 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47399 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47400 (fchflags): Likewise.
47401 (revoke): Likewise.
47402 (setlogin): Likewise.
47403 (sigaltstack): Likewise.
47404 (wait4): Likewise.
47405 (sigblock): Remove.
47406 (sigsetmask): Likewise.
47407 (wait3): Likewise.
47408 (waitpid): Likewise.
47409 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47410 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47411 file.
47412 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47413 * sysdeps/unix/bsd/Makefile: ... here.
47414 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47415 * sysdeps/unix/bsd/Versions: ... here.
47416 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47417 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47418 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47419 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47420 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47421 * sysdeps/unix/bsd/sigblock.c: ... here.
47422 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47423 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47424 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47425 * sysdeps/unix/bsd/sigvec.c: ... here.
47426 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47427 * sysdeps/unix/bsd/tcdrain.c: ... here.
47428 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47429 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47430 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47431 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47432 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47433 * sysdeps/unix/bsd/wait.c: ... here.
47434 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47435 * sysdeps/unix/bsd/wait3.c: ... here.
47436 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47437 * sysdeps/unix/bsd/waitpid.c: ... here.
47438
47439 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47440
47441 [BZ #16356]
47442 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47443 round-to-nearest for [!USE_AS_EXPM1L].
47444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47445 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47446 more tests of exp and exp10. Expect some exp10 tests to miss
47447 exceptions or fail in directed rounding modes.
47448 * math/auto-libm-test-out: Regenerated.
47449 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47450 (exp10_test_tonearest): New function.
47451 (exp10_towardzero_test_data): New array.
47452 (exp10_test_towardzero): New function.
47453 (exp10_downward_test_data): New array.
47454 (exp10_test_downward): New function.
47455 (exp10_upward_test_data): New array.
47456 (exp10_test_upward): New function.
47457 (main): Call the new functions.
47458 * sysdeps/i386/fpu/libm-test-ulps: Update.
47459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47460
47461 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47462
47463 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47464 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47465 * math/auto-libm-test-out: Regenerated.
47466 * math/libm-test.inc (acosh_test_data): Add more tests.
47467 (atanh_test_data): Likewise.
47468 (ceil_test_data): Likewise.
47469 (copysign_test_data): Likewise.
47470 * sysdeps/i386/fpu/libm-test-ulps: Update.
47471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47472
47473 * timezone/checktab.awk: Update from tzcode 2013i.
47474 * timezone/private.h: Likewise.
47475 * timezone/scheck.c: Likewise.
47476 * timezone/tzfile.h: Likewise.
47477 * timezone/tzselect.ksh: Likewise.
47478 * timezone/zdump.c: Likewise.
47479 * timezone/zic.c: Likewise.
47480
47481 * math/auto-libm-test-in: Add tests of cpow.
47482 * math/auto-libm-test-out: Regenerated.
47483 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47484 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47485 mpc_cc_c.
47486 (func_calc_desc): Add mpc_cc_c union field.
47487 (test_functions): Add cpow.
47488 (special_fill_2pi): New function.
47489 (special_real_inputs): Add 2pi.
47490 (calc_generic_results): Handle mpc_cc_c.
47491 * sysdeps/i386/fpu/libm-test-ulps: Update.
47492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47493
47494 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47495 csqrt, ctan and ctanh.
47496 * math/auto-libm-test-out: Regenerated.
47497 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47498 (TEST_COND_x86): Likewise.
47499 (ccos_test_data): Use AUTO_TESTS_c_c.
47500 (ccosh_test_data): Likewise.
47501 (cexp_test_data): Likewise.
47502 (clog_test_data): Likewise.
47503 (csqrt_test_data): Likewise.
47504 (ctan_test_data): Likewise.
47505 (ctan_tonearest_test_data): Likewise.
47506 (ctan_towardzero_test_data): Likewise.
47507 (ctan_downward_test_data): Likewise.
47508 (ctan_upward_test_data): Likewise.
47509 (ctanh_test_data): Likewise.
47510 (ctanh_tonearest_test_data): Likewise.
47511 (ctanh_towardzero_test_data): Likewise.
47512 (ctanh_downward_test_data): Likewise.
47513 (ctanh_upward_test_data): Likewise.
47514 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47515 mpc_c_c.
47516 (func_calc_desc): Add mpc_c_c union field.
47517 (FUNC_mpc_c_c): New macro.
47518 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47519 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47520 ctanh.
47521 (special_fill_min_subnorm_p120): New function.
47522 (special_real_inputs): Add min_subnorm_p120.
47523 (calc_generic_results): Handle mpc_c_c.
47524 * sysdeps/i386/fpu/libm-test-ulps: Update.
47525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47526
47527 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47528
47529 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47530 (do_sin_slow): New functions.
47531 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47532 (cslow2, csloww1, csloww2): Use the new functions.
47533
47534 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47535 Use M to change sign of result instead of X. Assume X is
47536 positive.
47537 (csloww1): Likewise.
47538 (__sin): Adjust.
47539 (__cos): Adjust.
47540
47541 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47542 arguments A and DA.
47543 (__sin): Adjust.
47544 (__cos): Likewise.
47545
47546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47547 (__cos): Likewise.
47548 (sloww1): Don't adjust sign of DX.
47549 (csloww1): Likewise.
47550 (sloww2): Use X directly and don't adjust sign of DX.
47551 (csloww2): Likewise.
47552
47553 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47554
47555 * math/auto-libm-test-in: Add tests of cabs and carg.
47556 * math/auto-libm-test-out: Regenerated.
47557 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47558 (carg_test_data): Likewise.
47559 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47560 mpc_c_f.
47561 (func_calc_desc): Add mpc_c_f union field.
47562 (test_functions): Add cabs and carg.
47563 (calc_generic_results): Handle mpc_c_f.
47564
47565 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47566 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47567 as a macro and a compat symbol.
47568 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47569 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47570 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47571 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47572 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47573 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47574 not use .hidden.
47575 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47576 Likewise.
47577 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47578 Likewise.
47579 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47580 Likewise.
47581 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47582 Likewise.
47583 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47584 Likewise.
47585 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47586 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47587 from GLIBC_2.3.2.
47588
47589 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47590
47591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47592
47593 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47594
47595 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47596 trailing whitespace removed.
47597 * scripts/config.guess: Update to version 2013-11-29.
47598 * scripts/config.sub: Update to version 2013-10-01.
47599
47600 * math/auto-libm-test-in: Add tests of sincos.
47601 * math/auto-libm-test-out: Regenerated.
47602 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47603 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47604 mpfr_f_11.
47605 (func_calc_desc): Add mpfr_f_11 union field.
47606 (test_functions): Add sincos.
47607 (calc_generic_results): Handle mpfr_f_11.
47608 * sysdeps/i386/fpu/libm-test-ulps: Update.
47609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47610
47611 2013-12-19 Andreas Schwab <schwab@suse.de>
47612
47613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47614 CALL_MCOUNT.
47615 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47617 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47618
47619 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47620
47621 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47622 * sysdeps/i386/fpu/libm-test-ulps: Update.
47623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47624
47625 [BZ #16293]
47626 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47627 round-to-nearest mode when using frndint.
47628 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47629 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47630 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47631 Likewise.
47632 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47633 sinh test to fail.
47634 * math/auto-libm-test-out: Regenerated.
47635 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47636 (TEST_COND_x86): Likewise.
47637 (expm1_tonearest_test_data): New array.
47638 (expm1_test_tonearest): New function.
47639 (expm1_towardzero_test_data): New array.
47640 (expm1_test_towardzero): New function.
47641 (expm1_downward_test_data): New array.
47642 (expm1_test_downward): New function.
47643 (expm1_upward_test_data): New array.
47644 (expm1_test_upward): New function.
47645 (main): Run the new test functions.
47646 * sysdeps/i386/fpu/libm-test-ulps: Update.
47647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47648
47649 * include/features.h: Update comment documenting feature test
47650 macros. Mention _DEFAULT_SOURCE in comment.
47651 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47652 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47653 _BSD_SOURCE and _SVID_SOURCE.
47654 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47655 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47656 !_SVID_SOURCE]: Likewise.
47657 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47658 (__USE_POSIX_IMPLICITLY): Define.
47659 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47660 (_POSIX_SOURCE): Undefine and redefine.
47661 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47662 (_POSIX_C_SOURCE): Likewise.
47663 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47664 (Feature Test Macros): Update documentation of default features.
47665
47666 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47667
47668 * benchtests/Makefile: Add bench-strtok.
47669 * benchtests/bench-strtok.c: New file: strtok benchtest.
47670
47671 2013-12-19 Allan McRae <allan@archlinux.org>
47672
47673 * manual/install.texi: Suppress menu for plain text output.
47674 * INSTALL: Regenerated.
47675
47676 2013-12-18 Brooks Moses <bmoses@google.com>
47677
47678 [BZ #15846]
47679 * misc/getauxval.c: Include errno.h.
47680 (__getauxval): Set errno to ENOENT if the requested type is not
47681 found.
47682 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47683 don't declare with __attribute_const__.
47684 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47685 * manual/startup.texi: Document that getauxval sets errno.
47686
47687 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47688
47689 * math/auto-libm-test-in: Add tests of jn and yn.
47690 * math/auto-libm-test-out: Regenerated.
47691 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47692 (yn_test_data): Likewise.
47693 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47694 mpfr_if_f.
47695 (func_calc_desc): Add mpfr_if_f union field.
47696 (FUNC_mpfr_if_f): New macro.
47697 (test_functions): Add jn and yn.
47698 (calc_generic_results): Assert type of second input for
47699 mpfr_ff_f. Handle mpfr_if_f.
47700 (output_for_one_input_case): Disable all checking for arguments
47701 fitting floating-point types in case of an integer argument.
47702 * sysdeps/i386/fpu/libm-test-ulps: Update.
47703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47704
47705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47706 Don't expect fegetround reference in libm.so.
47707
47708 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47709
47710 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47711 $(config-cflags-nofma).
47712
47713 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47714
47715 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47716 * math/auto-libm-test-out: Regenerated.
47717
47718 [BZ #16338]
47719 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47720 to determine exponent and adjust argument to have exponent of -1.
47721 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47722 log2.
47723 * math/auto-libm-test-out: Regenerated.
47724 * sysdeps/i386/fpu/libm-test-ulps: Update.
47725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47726
47727 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47728
47729 * manual/probes.texi: Remove cases when per-thread arenas are
47730 disabled.
47731
47732 2013-12-18 Andreas Schwab <schwab@suse.de>
47733
47734 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47735 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47736 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47737 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47738 * sysdeps/i386/i686/multiarch/Makefile: Update.
47739 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47740
47741 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47742
47743 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47744 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47745
47746 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47747
47748 [BZ #15968]
47749 Support TZ transition times < 00:00:00.
47750 This is needed for version-3 tz-format files; it supports time
47751 stamps past 2037 for America/Godthab (the only entry in the tz
47752 database for which this change is relevant).
47753 * manual/time.texi (TZ Variable): Document transition times
47754 from -167:59:59 through -00:00:01.
47755 * time/tzset.c (tz_rule): Time of day is now signed.
47756 (__tzset_parse_tz): Parse negative time of day.
47757
47758 Document TZ transition times >= 25:00:00.
47759 * manual/time.texi (TZ Variable): Document transition times from
47760 25:00:00 through 167:59:59. These are already supported, and this
47761 support will help with version-3 tz-format files.
47762
47763 * manual/time.texi (TZ Variable): Modernize North America example
47764 to reflect current (i.e., 2007-and-later) daylight saving rules.
47765
47766 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47767
47768 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47769
47770 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47771 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47773 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47774 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47775 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47776 * sysdeps/unix/bsd/clock.c: Likewise.
47777 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47778 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47779 * sysdeps/unix/bsd/init-posix.c: Likewise.
47780 * sysdeps/unix/bsd/poll.c: Likewise.
47781 * sysdeps/unix/bsd/ptsname.c: Likewise.
47782 * sysdeps/unix/bsd/seekdir.c: Likewise.
47783 * sysdeps/unix/bsd/setegid.c: Likewise.
47784 * sysdeps/unix/bsd/seteuid.c: Likewise.
47785 * sysdeps/unix/bsd/setgid.c: Likewise.
47786 * sysdeps/unix/bsd/setrgid.c: Likewise.
47787 * sysdeps/unix/bsd/setruid.c: Likewise.
47788 * sysdeps/unix/bsd/setsid.c: Likewise.
47789 * sysdeps/unix/bsd/setuid.c: Likewise.
47790 * sysdeps/unix/bsd/sigaction.c: Likewise.
47791 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47792 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47793 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47794 * sysdeps/unix/bsd/telldir.c: Likewise.
47795 * sysdeps/unix/bsd/times.c: Likewise.
47796 * sysdeps/unix/bsd/usleep.c: Likewise.
47797
47798 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47799 ($(objpfx)libbsd-compat.a): Remove rule.
47800
47801 * include/features.h (__FAVOR_BSD): Do not define.
47802 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47803 features conflicting with POSIX.
47804 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47805 (_BSD_SOURCE): Remove description of not being a subset of other
47806 feature test macros.
47807 * manual/job.texi (getpgrp): Do not document BSD version.
47808 (getpgid): Do not document by reference to BSD getpgrp.
47809 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47810 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47811 * signal/signal.h [__FAVOR_BSD]: Likewise.
47812 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47813 instead of making contents conditional on [__FAVOR_BSD].
47814 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47815
47816 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47817
47818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47819
47820 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47821
47822 [BZ #16314]
47823 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47824 values below 2**-450, not 2**-500.
47825 * math/auto-libm-test-in: Don't allow spurious underflow from
47826 hypot.
47827 * math/auto-libm-test-out: Regenerated.
47828
47829 [BZ #16316]
47830 [BZ #16330]
47831 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47832 values of ha and hb and sort them after adjusting subnormal
47833 arguments.
47834 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47835 Likewise.
47836 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47837 values of ea and eb and sort them after adjusting subnormal
47838 arguments.
47839 * math/auto-libm-test-in: Do not expect some hypot tests of
47840 subnormals to fail. Add more hypot tests.
47841 * math/auto-libm-test-out: Regenerated.
47842
47843 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47844
47845 [BZ #13304]
47846 * sysdeps/sh/s_fma.c: New file.
47847 * sysdeps/sh/s_fmaf.c: New file.
47848 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47849 version.
47850 * sysdeps/sh/Implies: Add sh/soft-fp.
47851
47852 2013-12-16 Roland McGrath <roland@hack.frob.com>
47853
47854 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47855 level of indirection to members `objname', `errstring', `malloced'.
47856 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47857 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47858 it as the __longjmp argument (just pass 1 instead).
47859 (_dl_catch_error): Initialize C with argument pointers and address of
47860 volatile local ERRCODE rather than copying values out of C at return.
47861
47862 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47863
47864 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47865 * math/auto-libm-test-out: Regenerated.
47866 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47867 (hypot_test_data): Likewise.
47868 (pow_test_data): Likewise.
47869 (pow_tonearest_test_data): Likewise.
47870 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47871 mpfr_ff_f.
47872 (func_calc_desc): Add mpfr_ff_f union field.
47873 (FUNC_mpfr_ff_f): New macro.
47874 (test_functions): Add atan2, hypot and pow.
47875 (special_fill_min): New function.
47876 (special_fill_minus_min): Likewise.
47877 (special_fill_min_subnorm): Likewise.
47878 (special_fill_minus_min_subnorm): Likewise.
47879 (special_real_inputs): Add min, -min, min_subnorm and
47880 -min_subnorm.
47881 (calc_generic_results): Handle mpfr_ff_f.
47882 * sysdeps/i386/fpu/libm-test-ulps: Update.
47883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47884
47885 2013-12-16 Will Newton <will.newton@linaro.org>
47886
47887 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47888 (Aligned Memory Blocks): Add documentation for aligned_alloc
47889 and suggest it as an alternative to posix_memalign.
47890 (Hooks for Malloc): Document __memalign_hook is also called
47891 for aligned_alloc. (Summary of Malloc): Add summary for
47892 aligned alloc. Document __memalign_hook is also called
47893 for aligned_alloc.
47894
47895 2013-12-16 Will Newton <will.newton@linaro.org>
47896
47897 * manual/memory.texi (Malloc Examples): Clarify default
47898 alignment documentation. Suggest posix_memalign rather
47899 than memalign or valloc.
47900 (Aligned Memory Blocks): Remove suggestion to use memalign
47901 or valloc. Remove obsolete comment about BSD.
47902 Document memalign errno values and mark the function obsolete.
47903 Document posix_memalign returned error codes. Mark valloc
47904 as obsolete. (Hooks for Malloc): __memalign_hook is also
47905 called for posix_memalign and valloc.
47906 (Summary of Malloc): Add posix_memalign to function summary.
47907 __memalign_hook is also called for posix_memalign and valloc.
47908
47909 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47910
47911 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47912 TAYLOR_SIN.
47913 (__sin): Adjust.
47914 (__cos): Likewise.
47915 (sloww): Use mynumber union. Expand ternary operator into
47916 if-else statements.
47917 (cslow): use mynumber union.
47918
47919 2013-12-16 Allan McRae <allan@archlinux.org>
47920
47921 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47922 * configure: Regenerated.
47923
47924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47925
47926 [BZ #14120]
47927 * configure.ac: Added --enable-maintainer-mode. Check for
47928 autoconf when enabled.
47929 * configure: Regenerated.
47930
47931 * nscd/nscd.service: New file.
47932 * nscd/nscd.tmpfiles: New file.
47933
47934 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47935
47936 [BZ #12100]
47937 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47938 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47939 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47940 (strstr): Add __strstr_sse2_unaligned ifunc.
47941 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47942 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47943 (strcasestr): Remove __strcasestr_sse42 ifunc.
47944 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47947
47948 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47949
47950 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47951 * sysdeps/sh/bits/fenv.h: ... here.
47952 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47953
47954 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47955
47956 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47957
47958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47959 hypotf multiarch implementations.
47960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47963 multiarch hypot for PPC64.
47964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47967 multiarch hypotf for PPC64.
47968
47969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47970 modff multiarch implementations.
47971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47974 multiarch modf for PPC64.
47975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47978 multiarch modff for PPC64.
47979
47980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47981 and logl multiarch implementations.
47982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47985 multiarch logb for PPC64.
47986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47989 multiarch logb for PPC64.
47990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47993 multiarch logb for PPC64.
47994
47995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47996 isinff multiarch implementation.
47997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47998 file.
47999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48001 multiarch isinf for PPC64.
48002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48003 file.
48004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48005 multiarch isinff for PPC64.
48006
48007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48008 finitef multiarch implementation.
48009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48010 file.
48011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48013 multiarch finite for PPC64.
48014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48015 file.
48016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48017 multiarch finitef for PPC64.
48018
48019 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48020 lrint multiarch implementation.
48021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48022 file.
48023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48024 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48025 multiarch llrint for PPC64.
48026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48027 multiarch lrint for PPC64.
48028
48029 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48030 copysignf multiarch implementation.
48031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48032 file.
48033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48034 file.
48035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48036 multiarch copysign for PPC64.
48037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48038 multiarch copysignf for PPC64.
48039
48040 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48041 multiarch implementation.
48042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48043 file.
48044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48045 file.
48046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48047 file.
48048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48049 file.
48050 multiarch llround for PPC64.
48051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48052 multiarch trunc for PPC64.
48053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48054 multiarch truncf for PPC64.
48055
48056 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48057 multiarch implementation.
48058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48059 file.
48060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48061 file.
48062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48063 file.
48064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48065 file.
48066 multiarch llround for PPC64.
48067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48068 multiarch round for PPC64.
48069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48070 multiarch roundf for PPC64.
48071
48072 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48073 multiarch implementation.
48074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48075 file.
48076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48077 file.
48078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48079 file.
48080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48081 file.
48082 multiarch llround for PPC64.
48083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48084 multiarch floor for PPC64.
48085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48086 multiarch floorf for PPC64.
48087
48088 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48089 multiarch implementation.
48090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48091 file.
48092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48093 file.
48094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48095 file.
48096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48097 file.
48098 multiarch llround for PPC64.
48099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48100 multiarch ceil for PPC64.
48101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48102 multiarch ceilf for PPC64.
48103
48104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48105 multiarch implementation.
48106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48107 file.
48108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48109 file.
48110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48111 file.
48112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48113 multiarch llround for PPC64.
48114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48115 multiarch lround for PPC64.
48116
48117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48118 multiarch implementation.
48119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48122 file.
48123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48126 multiarch isnan for PPC64.
48127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48128 multiarch isnanf for PPC64.
48129
48130 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48131 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48132 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48133 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48134 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48136
48137 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48138 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48140 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48141
48142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48143 multiarch implementations.
48144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48145 (__libc_ifunc_impl_list): Likewise.
48146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48149 multiarch stpcpy for PPC64.
48150
48151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48152 multiarch implementations.
48153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48154 (__libc_ifunc_impl_list): Likewise.
48155 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48156 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48157 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48158 multiarch strcpy for PPC64.
48159
48160 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48161 redefine function name.
48162 (_wordcopy_fwd_dest_aligned): Likewise.
48163 (_wordcopy_bwd_aligned): Likewise.
48164 (_wordcopy_bwd_dest_aligned): Likewise.
48165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48166 multiarch implementations.
48167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48168 (__libc_ifunc_impl_list): Likewise.
48169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48173 multiarch wcscpy for PPC64.
48174
48175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48176 multiarch implementations.
48177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48178 (__libc_ifunc_impl_list): Likewise.
48179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48183 multiarch wcscpy for PPC64.
48184
48185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48186 multiarch implementations.
48187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48188 (__libc_ifunc_impl_list): Likewise.
48189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48193 multiarch wcsrchr for PPC64.
48194
48195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48196 multiarch implementations.
48197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48198 (__libc_ifunc_impl_list): Likewise.
48199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48201 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48202 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48203 multiarch wcschr for PPC64.
48204
48205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48206 multiarch implementations.
48207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48208 (__libc_ifunc_impl_list): Likewise.
48209 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48212 multiarch strchrnul for PPC64.
48213
48214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48215 implementations.
48216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48217 (__libc_ifunc_impl_list): Likewise.
48218 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48219 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48220 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48221 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48222 strchr for PPC64.
48223
48224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48225 implementations.
48226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48227 (__libc_ifunc_impl_list): Likewise.
48228 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48229 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48231 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48232 strncmp for PPC64.
48233
48234 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48235 multiarch implementations.
48236 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48237 (__libc_ifunc_impl_list): Likewise.
48238 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48239 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48240 strncasecmp for PPC64.
48241 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48242 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48243 multiarch strncasecmp_l for PPC64.
48244
48245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48246 multiarch implementations.
48247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48248 (__libc_ifunc_impl_list): Likewise.
48249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48250 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48251 multiarch strcasecmp for PPC64.
48252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48253 file.
48254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48255 multiarch strcasecmp_l for PPC64.
48256
48257 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48258 implementations.
48259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48260 (__libc_ifunc_impl_list): Likewise.
48261 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48262 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48263 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48264 strnlen for PPC64.
48265
48266 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48267 implementations.
48268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48269 (__libc_ifunc_impl_list): Likewise.
48270 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48271 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48272 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48273 strlen for PPC64.
48274
48275 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48276 implementations.
48277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48278 (__libc_ifunc_impl_list): Likewise.
48279 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48280 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48281 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48282 rawmemrchr for PPC64.
48283
48284 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48285 implementation.
48286 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48287 (__libc_ifunc_impl_list): Likewise.
48288 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48289 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48290 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48291 memrchr for PPC64.
48292
48293 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48294 implementation.
48295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48296 (__libc_ifunc_impl_list): Likewise.
48297 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48298 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48299 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48300 memchr for PPC64.
48301
48302 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48303 implementation.
48304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48305 (__libc_ifunc_impl_list): Likewise.
48306 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48308 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48309 mempcpy for PPC64.
48310
48311 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48312 avoid cretion of __bzero symbol.
48313 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48314 Likewise.
48315 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48316 Likewise.
48317 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48318 Likewise.
48319 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48320 multiarch implementations.
48321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48322 (__libc_ifunc_impl_list): Likewise.
48323 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48326 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48327 bzero for PPC32.
48328 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48329 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48330 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48331 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48332 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48333 memset for PPC64.
48334 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48335
48336 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48337 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48338 implementations.
48339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48340 (__libc_ifunc_impl_list): Likewise.
48341 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48342 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48343 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48344 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48345 memcmp for PPC64.
48346
48347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48348 multiarch for POWER/PPC64.
48349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48350 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48357 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48358 memcpy for PPC64.
48359
48360 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48361 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48362 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48363 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48364 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48365 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48366 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48367 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48368 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48369 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48370 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48371 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48372 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48373 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48374 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48382
48383 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48384
48385 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48386
48387 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48388
48389 * benchtests/Makefile (bench): Add exp2 and log2.
48390 (LDLIBS-bench-exp2): Add -lm.
48391 (LDLIBS-bench-log2): Likewise.
48392 * benchtests/exp2-inputs: New inputs file.
48393 * benchtests/log2-inputs: New inputs file.
48394 * benchtests/log-inputs: Add new inputs.
48395 * benchtests/tan-inputs: Likewise.
48396
48397 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48398
48399 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48400 definition...
48401 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48402 (csloww2): ... from here.
48403
48404 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48405 instead of structures.
48406 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48407 (POLYNOMIAL): Likewise.
48408 (TAYLOR_SLOW): Likewise.
48409 (__sin): Likewise.
48410 (__cos): Likewise.
48411 (slow1): Likewise.
48412 (slow2): Likewise.
48413 (sloww): Likewise.
48414 (sloww1); Likewise.
48415 (sloww2): Likewise.
48416 (bsloww1): Likewise.
48417 (bsloww2): Likewise.
48418 (cslow2): Likewise.
48419 (csloww): Likewise.
48420 (csloww1): Likewise.
48421 (csloww2): Likewise.
48422
48423 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48424
48425 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48426 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48427 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48428 * malloc/hooks.c (realloc_check): Likewise.
48429
48430 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48431 * malloc/arena.c: Remove PER_THREAD conditional.
48432 [!PER_THREAD]: Remove code.
48433 (ptmalloc_unlock_all2): Likewise.
48434 (ptmalloc_init): Likewise.
48435 (_int_new_arena): Likewise.
48436 (arena_get2): Likewise.
48437 * malloc/hooks.c (__malloc_get_state): Likewise.
48438 (__malloc_set_state): Likewise.
48439 * malloc/malloc.c: Likewise.
48440 (struct malloc_state): Likewise.
48441 (struct malloc_par): Likewise.
48442 (__libc_realloc): Likewise.
48443 (__libc_mallopt): Likewise.
48444
48445 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48446
48447 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48448
48449 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48450
48451 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48452 macro to a function. Check for zero perturb_byte.
48453 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48454
48455 * malloc/malloc.c: (force_reg): Remove.
48456 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48457 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48458 force_reg by atomic_forced_read.
48459 * malloc/arena.c (ptmalloc_init): Likewise.
48460 * malloc/hooks.c (top_check): Likewise.
48461
48462 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48463
48464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48465
48466 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48467
48468 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48469
48470 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48471
48472 * math/auto-libm-test-in: Add tests of lgamma.
48473 * math/auto-libm-test-out: Regenerated.
48474 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48475 (M_LOG_2_SQRT_PIl): Likewise.
48476 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48477 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48478 mpfr_f_f1.
48479 (func_calc_desc): Add mpfr_f_f1 union field.
48480 (ARGS1): New macro.
48481 (ARGS2): Likewise.
48482 (ARGS3): Likewise.
48483 (ARGS4): Likewise.
48484 (RET1): Likewise.
48485 (RET2): Likewise.
48486 (CALC): Likewise.
48487 (FUNC): Likewise.
48488 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48489 (test_functions): Add lgamma.
48490 (calc_generic_results): Handle mpfr_f_f1.
48491 * sysdeps/i386/fpu/libm-test-ulps: Update.
48492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48493
48494 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48495
48496 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48497 __mpn_add_n for PowerPC64/POWER7.
48498 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48499 __mpn_sub_n for PowerPC64/POWER7.
48500
48501 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48502 __mpn_addmul_1 for PowerPC64.
48503 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48504 __mpn_submul_1 for PowerPC64.
48505 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48506 for PowerPC64.
48507 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48508 for PowerPC64.
48509
48510 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48511
48512 [BZ #15089]
48513 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48514
48515 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48516
48517 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48518
48519 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48520 add multiarch folders.
48521 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48522 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48523 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48524 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48525 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48526 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48527 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48528 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48529 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48530 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48531 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48538
48539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48540 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48542 New file.
48543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48544 New file.
48545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48546 multiarch __ieee754_hypot for PowerPC32.
48547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48548 New file.
48549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48550 New file.
48551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48552 multiarch __ieee754_hypotf for PowerPC32.
48553
48554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48555 long_double_symbol only if __logbl is defined.
48556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48557 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48559 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48561 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48562 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48563 path for implementation.
48564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48565 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48567 logb, and logbl multiarch implementations for PowerPC32.
48568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48569 file.
48570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48571 file.
48572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48573 multiarch logb for PowerPC32.
48574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48575 file.
48576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48577 file.
48578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48579 multiarch logbf for PowerPC32.
48580 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48582 file.
48583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48584 multiarch logbl implementation for PowerPC32.
48585
48586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48587 and modff multiarch implementations.
48588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48589 New file.
48590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48591 New file.
48592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48593 multiarch modf for PowerPC32.
48594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48595 New file.
48596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48597 New file.
48598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48599 multiarch modff for PowerPC32.
48600
48601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48602 and lrintf multiarch implementations.
48603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48604 New file.
48605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48606 New file.
48607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48608 multiarch lrint for PowerPC32.
48609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48610 file: multiarch lrintf for PowerPC32.
48611
48612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48613 and lroundf multiarch implementations.
48614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48615 New file.
48616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48617 New file.
48618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48619 New file.
48620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48621 multiarch lround for PowerPC32.
48622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48623 file: multiarch lroundf for PowerPC32.
48624
48625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48626 copysign and copysignf multiarch implementations.
48627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48628 New file.
48629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48630 New file.
48631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48632 file: multiarch copysign for PowerPC32.
48633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48634 file: multiarch copysignf for PowerPC32.
48635
48636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48637 and truncf multiarch implementations.
48638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48639 New file.
48640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48641 file.
48642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48643 multiarch trunc for PowerPC32.
48644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48645 New file.
48646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48647 New file.
48648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48649 multiarch truncf for PowerPC32.
48650
48651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48652 and roundf multiarch implementations.
48653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48654 New file.
48655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48656 file.
48657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48658 multiarch round for PowerPC32.
48659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48660 New file.
48661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48662 New file.
48663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48664 multiarch roundf for PowerPC32.
48665
48666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48667 and floorf multiarch implementations.
48668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48669 New file.
48670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48671 file.
48672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48673 multiarch floor for PowerPC32.
48674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48675 New file.
48676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48677 New file.
48678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48679 multiarch floorf for PowerPC32.
48680
48681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48682 and ceilf multiarch implementations.
48683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48684 New file.
48685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48686 file.
48687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48688 multiarch ceil for PowerPC32.
48689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48690 New file.
48691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48692 file.
48693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48694 multiarch ceilf for PowerPC32.
48695
48696 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48697 is defined.
48698 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48699 FINITEF is defined.
48700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48701 and finitef multiarch implementations.
48702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48703 New file.
48704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48705 file.
48706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48707 multiarch finite for PowerPC32.
48708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48709 New file.
48710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48711 file: multiarch finitef for PowerPC32.
48712
48713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48714 and isinff multiarch implementations.
48715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48716 file.
48717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48718 file.
48719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48720 multiarch isinf for PowerPC32.
48721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48722 New file.
48723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48724 multiarch isinff for PowerPC32.
48725
48726 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48727 alias when __isnan is defined.
48728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48729 and isnanf multiarch implementations.
48730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48731 file.
48732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48733 file.
48734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48735 file.
48736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48737 file.
48738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48739 multiarch isnan for PowerPC32.
48740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48741 New file.
48742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48743 New file.
48744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48745 multiarch isnanf for PowerPC32.
48746
48747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48748 and sqrtf multiarch implementations.
48749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48750 file.
48751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48752 file.
48753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48754 multiarch sqrt for PowerPC32.
48755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48756 file.
48757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48758 file.
48759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48760 multiarch sqrtf for PowerPC32.
48761
48762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48763 and llroundf multiarch implementations.
48764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48765 New file.
48766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48767 New file.
48768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48769 New file.
48770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48771 file: multiarch llround for PowerPC32.
48772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48773 file: multiarch llroundf for PowerPC32.
48774
48775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48776 multiarch PowerPC32 fpu implementations.
48777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48778 New file.
48779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48780 New file.
48781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48782 multiarch llrint for PowerPC32.
48783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48784 New file.
48785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48786 New file.
48787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48788 file.
48789
48790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48791
48792 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48793 file.
48794 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48795 file.
48796 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48797 file.
48798 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48799 multiarch wordcopy for PPC32.
48800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48801 wordcopy objects.
48802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48803 (__libc_ifunc_impl_list): Likewise.
48804 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48805 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48806 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48807 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48808 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48809 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48810
48811 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48813 file.
48814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48815 file.
48816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48817 file.
48818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48819 multiarch wcscpy for PPC32.
48820 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48821 multiarch objects.
48822 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48823 (__libc_ifunc_impl_list): Likewise.
48824 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48825 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48826 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48827 sysdeps/powerpc/power6/wcscpy.c.
48828
48829 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48830 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48831 file.
48832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48833 file.
48834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48835 file.
48836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48837 multiarch wcsrchr for PPC32.
48838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48839 multiarch objects.
48840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48841 (__libc_ifunc_impl_list): Likewise.
48842 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48843 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48844 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48845 sysdeps/powerpc/power6/wcsrchr.c.
48846
48847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48848 file.
48849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48850 file.
48851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48852 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48853 multiarch wcschr for PPc32.
48854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48855 multiarch objects.
48856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48857 (__libc_ifunc_impl_list): Likewise.
48858 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48859 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48860 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48861 sysdeps/powerpc/power6/wcschr.c.
48862
48863 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48864 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48865 file.
48866 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48867 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48868 file: multiarch strchr for PPC32.
48869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48870 multiarch objects.
48871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48872 (__libc_ifunc_impl_list): Likewise.
48873
48874 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48875 name.
48876 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48877 file.
48878 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48879 file.
48880 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48881 multiarch strchrnul for PPC32.
48882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48883 multiarch objects.
48884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48885 (__libc_ifunc_impl_list): Likewise.
48886
48887 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48888 file.
48889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48890 multiarch strncasecmp for PPC32.
48891 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48892 file.
48893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48894 multiarch strncasecmp_l for PPC32.
48895 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48896 strncasecmp multiarch objects.
48897 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48898 (__libc_ifunc_impl_list): Likewise.
48899
48900 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48901 file.
48902 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48903 multiarch strncasecmp for PPC32.
48904 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48905 New file.
48906 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48907 multiarch strcasecmp_l for PPC32.
48908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48909 multiarch objects.
48910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48911 (__libc_ifunc_impl_list): Likewise.
48912
48913 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48914 file.
48915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48916 file.
48917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48918 multiarch strncmp for PPC32.
48919 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48920 multiarch objects.
48921 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48922 (__libc_ifunc_impl_list): Likewise.
48923
48924 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48925 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48926 file.
48927 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48928 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48930 multiarch objects.
48931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48932 (__libc_ifunc_impl_list): Likewise.
48933
48934 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48935 file.
48936 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48937 file.
48938 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48939 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48940 multiarch objects.
48941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48942 (__libc_ifunc_impl_list): Likewise.
48943
48944 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48945 file.
48946 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48947 file.
48948 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48949 multiarch rawmemchr for PPC32.
48950 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48951 multiarch objects.
48952 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48953 (__libc_ifunc_impl_list): Likewise.
48954
48955 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48956 file.
48957 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48958 file.
48959 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48960 file: memrchr multiarch for PPC32.
48961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48962 multiarch objects.
48963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48964 (__libc_ifunc_impl_list): Likewise.
48965
48966 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48968 file.
48969 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48970 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48971 multiarch memchr for PPC32.
48972 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48973 multiarch objects.
48974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48975 (__libc_ifunc_impl_list): Likewise.
48976
48977 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48978 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48979 file.
48980 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48981 file.
48982 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48983 file: multiarch mempcpy for PPC32.
48984 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48985 multiarch objects.
48986 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48987 (__libc_ifunc_impl_list): Likewise.
48988
48989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48993 multiarch bzero for PPC32.
48994 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48995 file.
48996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48997 file.
48998 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48999 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49000 file: multiarch memset for PPC32.
49001 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49003 memset multiarch objects.
49004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49005 (__libc_ifunc_impl_list): Likewise.
49006
49007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49008 file.
49009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49011 memcmp for PPC32.
49012 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49014 multiarch objects.
49015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49016 (__libc_ifunc_impl_list): Likewise.
49017
49018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49021 file.
49022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49023 file.
49024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49025 file.
49026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49027 multiarch memcpy for PPC32.
49028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49029 multiarch objects.
49030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49031 (__libc_ifunc_impl_list): Likewise.
49032
49033 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49034 support multiarch for POWER/PPC32.
49035 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49036 Likewise.
49037 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49039 Implies file to make multiarch folder appers before the fpu and
49040 default folder for power4 configuration.
49041
49042 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49043
49044 * scripts/bench.pl: Append volatile keyword to type.
49045
49046 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49047
49048 * sysdeps/sh/sotruss-lib.c: New file.
49049 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49050
49051 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49052
49053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49054
49055 2013-12-05 Joseph Myers <joseph@codesourcery.com>
49056
49057 [BZ #6810]
49058 * math/w_tgamma.c: Include <errno.h>.
49059 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
49060 * math/w_tgammaf.c: Include <errno.h>.
49061 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49062 * math/w_tgammal.c: Include <errno.h>.
49063 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
49064 * math/auto-libm-test-in: Do not allow missing errno on tgamma
49065 underflow. Add more tgamma tests.
49066 * math/auto-libm-test-out: Regenerated.
49067 * sysdeps/i386/fpu/libm-test-ulps: Update.
49068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49069
49070 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49071 sin, sinh, tan, tanh, tgamma, y0 and y1.
49072 * math/auto-libm-test-out: Regenerated.
49073 * math/libm-test.inc (TEST_COND_x86_64): New macro.
49074 (TEST_COND_x86): Likewise.
49075 (M_E2l): Remove macro.
49076 (M_E3l): Likewise.
49077 (M_2_SQRT_PIl): Likewise.
49078 (M_SQRT_PIl): Likewise.
49079 (M_1_DIV_El): Likewise.
49080 (log_test_data): Use AUTO_TESTS_f_f.
49081 (log10_test_data): Likewise.
49082 (log1p_test_data): Likewise.
49083 (log2_test_data): Likewise.
49084 (sin_test_data): Likewise.
49085 (sin_tonearest_test_data): Likewise.
49086 (sin_towardzero_test_data): Likewise.
49087 (sin_downward_test_data): Likewise.
49088 (sin_upward_test_data): Likewise.
49089 (sinh_test_data): Likewise.
49090 (sinh_tonearest_test_data): Likewise.
49091 (sinh_towardzero_test_data): Likewise.
49092 (sinh_downward_test_data): Likewise.
49093 (sinh_upward_test_data): Likewise.
49094 (tan_test_data): Likewise.
49095 (tan_tonearest_test_data): Likewise.
49096 (tan_towardzero_test_data): Likewise.
49097 (tan_downward_test_data): Likewise.
49098 (tan_upward_test_data): Likewise.
49099 (tanh_test_data): Likewise.
49100 (tgamma_test_data): Likewise.
49101 (y0_test_data): Likewise.
49102 (y1_test_data): Likewise.
49103 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49104 (special_real_inputs): Add pi/4.
49105 * sysdeps/i386/fpu/libm-test-ulps: Update.
49106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49107
49108 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49109
49110 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49111 "longjmp_target" static probes.
49112 (__longjmp): Rename to __longjmp_symbol.
49113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49114 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49115 on which longjmp to generate.
49116 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49117 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49118 probe.
49119 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49120 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49121 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49122 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49123 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49124 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49126 __longjmp_symbol based on which __longjmp to generate.
49127 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49128 probe.
49129 (setjmp): Rename to setjmp_symbol.
49130 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49131 (_setjmp): Rename to _setjmp_symbol.
49132 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49133 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49134 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49135 which setjmp to generate.
49136 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49137 "longjmp_target" static probes.
49138
49139 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49140
49141 * benchtests/README: Add note about output arguments.
49142 * benchtests/bench-sincos.c: Remove file.
49143 * benchtests/sincos-inputs: New file.
49144 * scripts/bench.pl: Identify output arguments and define
49145 static variables for them.
49146
49147 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49148
49149 [BZ #15941]
49150 * Makefile (INSTALL): Add install-plain.texi as the primary
49151 dependency.
49152 * manual/install-plain.texi: New file.
49153 * manual/install.texi: Include node directive only for
49154 non-plaintext output.
49155
49156 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49157
49158 * stdlib/longlong.h: Update from GCC.
49159
49160 [BZ #6807]
49161 [BZ #15901]
49162 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49163 * math/w_j0f.c (y0f): Likewise.
49164 * math/w_j0l.c (__y0l): Likewise.
49165 * math/w_j1.c (y1): Likewise.
49166 * math/w_j1f.c (y1f): Likewise.
49167 * math/w_j1l.c (__y1l): Likewise.
49168 * math/w_jn.c (yn): Likewise.
49169 * math/w_jnf.c (ynf): Likewise.
49170 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49171 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49172 value for Bessel function domain errors outside _SVID_ mode.
49173 Adjust sign of return value for yn (negative integer, 0).
49174 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49175 by zero in return for negative x and set sign appropriately for
49176 negative n.
49177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49179 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49180 expectations in error cases.
49181 (y1_test_data): Likewise.
49182 (yn_test_data): Likewise.
49183 * sysdeps/i386/fpu/libm-test-ulps: Update.
49184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49185
49186 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49187
49188 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49189 "64" to "64-v1". Add "64-v2".
49190 (abi-64-options): Rename to ...
49191 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49192 (abi-64-condition): Rename to ...
49193 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49194 (abi-64-ld-soname): Rename to ...
49195 (abi-64-v1-ld-soname): ... this.
49196 (abi-64-v2-options): Define.
49197 (abi-64-v2-condition): Likewise.
49198 (abi-64-v2-ld-soname): Likewise.
49199 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49200 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49204
49205 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49206 Alan Modra <amodra@gmail.com>
49207
49208 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49209 New versions for use with the ELFv2 ABI.
49210 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49211 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49212 declaration.
49213 (struct La_ppc64v2_retval): Likewise.
49214 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49215 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49216 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49217 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49218 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49219 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49220 Do not save or restore CR.
49221 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49222 (_dl_profile_resolve): Do no save or restore CR. Support extended
49223 return values for ELFv2 ABI. Fix location of FPR return registers.
49224 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49225 updated values for _CALL_ELF == 2.
49226 (La_regs, La_retval, int_retval): Likewise.
49227
49228 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49229
49230 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49231 (FRAME_MIN_SIZE_PARM): Likewise.
49232 (FRAME_BACKCHAIN): Likewise.
49233 (FRAME_CR_SAVE): Likewise.
49234 (FRAME_LR_SAVE): Likewise.
49235 (FRAME_TOC_SAVE): Likewise.
49236 (FRAME_PARM_SAVE): Likewise.
49237 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49238 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49239 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49240 (call_mcount_parm_offset): New macro.
49241 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49242 (PROF): Use symbolic stack frame offsets.
49243 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49244 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49245 Redefine in terms of FRAME_MIN_SIZE.
49246 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49247 (_dl_profile_resolve): Likewise. Update comment.
49248 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49249 symbols stack frame offsets.
49250 (__sigsetjmp): Likewise.
49251 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49252 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49253 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49254 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49255
49256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49257 (FRAME_BACKCHAIN): Remove.
49258 (FRAME_CR_SAVE): Likewise.
49259 (FRAME_LR_SAVE): Likewise.
49260 (FRAME_COMPILER_DW): Likewise.
49261 (FRAME_LINKER_DW): Likewise.
49262 (FRAME_TOC_SAVE): Likewise.
49263 (FRAME_PARM_SAVE): Likewise.
49264 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49265 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49266 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49268 (CHECK_SP): Use symbolic stack frame offsets.
49269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49270 zone" instead of caller's parameter save area for temp storage.
49271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49272 Likewise. Also, use symbolic stack frame offsets.
49273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49274 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49275 our own stack frame instead of the caller's.
49276 (__socket): Use symbolic stack frame offsets.
49277
49278 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49279 Alan Modra <amodra@gmail.com>
49280
49281 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49282 Define.
49283 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49284 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49285 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49286 New function.
49287 (elf_machine_fixup_plt): Call it.
49288 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49289 reloc arguments.
49290 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49291 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49292 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49293 r2 before calling target.
49294
49295 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49296 Alan Modra <amodra@gmail.com>
49297
49298 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49299 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49300 versions of macros to support ELFv2 ABI.
49301 (LOCALENTRY): New macro.
49302 (ENTRY, EALIGN): Use it.
49303 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49304 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49305 fall through into ENTRY entry point.
49306 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49307 Only define if _CALL_ELF != 2.
49308
49309 (elf_machine_matches_host): Verify ABI version matches.
49310 (RTLD_START): Use LOCALENTRY.
49311 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49312 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49313 (PLT_ENTRY_WORDS): New macro.
49314 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49315 (elf_machine_runtime_setup): Support ELFv2 ABI.
49316 (elf_machine_fixup_plt): Likewise.
49317 (elf_machine_plt_conflict): Likewise.
49318 (resolve_ifunc): Likewise.
49319 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49320 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49321 Likewise.
49322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49323 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49325 (makecontext): Support ELFv2 ABI.
49326 * elf/elf.h (EF_PPC64_ABI): Define.
49327
49328 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49329
49330 * sysdeps/powerpc/powerpc64/sysdep.h
49331 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49332 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49333 (ENTRY) [ASSEMBLER]: ... but instead here ...
49334 (EALIGN) [ASSEMBLER]: ... and here.
49335 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49336 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49337 (ENTRY_2) [!ASSEMBLER]: Use it.
49338 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49339 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49340 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49341 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49342 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49344 Use PPC64_LOAD_FUNCPTR.
49345
49346 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49347
49348 2013-12-04 Alan Modra <amodra@gmail.com>
49349
49350 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49351 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49352 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49353 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49354
49355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49356 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49357 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49358 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49359 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49360 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49361
49362 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49363
49364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49365 (__makecontext): Fix incorrect CFI when backtracing out of
49366 context created via makecontext.
49367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49368 (__setcontext): Fix incorrect CFI during switch to new context.
49369 (__novec_setcontext): Likewise.
49370
49371 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49372
49373 [BZ #4772]
49374 * time/strptime_l.c (__strptime_internal): Allow modifiers
49375 in strptime.
49376 * time/tst-strptime.c (day_tests): Add testcase.
49377
49378 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49379
49380 * scripts/bench.pl: Skip over blank lines.
49381
49382 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49383
49384 [BZ #926]
49385 * manual/time.texi (Calendar Time): Clarify what timezone functions
49386 use.
49387
49388 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49389
49390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49391
49392 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49393
49394 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49395 implementation.
49396 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49397 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49398 * debug/memset_chk.c (__memset_chk): Likewise.
49399 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49400 * debug/strncpy_chk.c: Likewise.
49401
49402 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49403
49404 [BZ #15268]
49405 [BZ #15425]
49406 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49407 (__ieee754_exp): For possibly underflowing results, check size of
49408 result and force underflow exception if required.
49409 * math/auto-libm-test-in: Add more tests of exp.
49410 * math/auto-libm-test-out: Regenerated.
49411 * sysdeps/i386/fpu/libm-test-ulps: Update.
49412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49413
49414 [BZ #16283]
49415 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49416 * math/w_exp2f.c (__exp2f): Likewise.
49417 * math/w_exp2l.c (__exp2l): Likewise.
49418 * math/auto-libm-test-in: Do not allow missing errno on exp2
49419 underflow.
49420 * math/auto-libm-test-out: Regenerated.
49421
49422 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49423
49424 [BZ #16274]
49425 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49426 handle filename validation.
49427 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49428 (do_open): Delete.
49429
49430 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49431
49432 [BZ #6786]
49433 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49434 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49435 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49436 <float.h>.
49437 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49438 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49439 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49440 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49442 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49443 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49444 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49445 Add more erfc tests.
49446 * math/auto-libm-test-out: Regenerated.
49447 * sysdeps/i386/fpu/libm-test-ulps: Update.
49448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49449
49450 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49451 exp2, expm1, j0 and j1.
49452 * math/auto-libm-test-out: Regenerated.
49453 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49454 (erfc_test_data): Likewise.
49455 (exp_test_data): Likewise.
49456 (exp_tonearest_test_data): Likewise.
49457 (exp_towardzero_test_data): Likewise.
49458 (exp_downward_test_data): Likewise.
49459 (exp_upward_test_data): Likewise.
49460 (exp10_test_data): Likewise.
49461 (exp2_test_data): Likewise.
49462 (expm1_test_data): Likewise.
49463 (j0_test_data): Likewise.
49464 (j1_test_data): Likewise.
49465 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49466 (input_flag_type): Add flag_xfail_rounding.
49467 (input_flags): Add xfail-rounding.
49468 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49469 (output_for_one_input_case): Handle flag_xfail_rounding.
49470 * sysdeps/i386/fpu/libm-test-ulps: Update.
49471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49472
49473 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49474
49475 [BZ #16289]
49476 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49477 division by 0.
49478
49479 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49480
49481 [BZ #16195]
49482 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49483 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49484 (STAP_PROBE0): New macro.
49485 (STAP_PROBE1): Likewise.
49486 (STAP_PROBE2): Likewise.
49487 (STAP_PROBE3): Likewise.
49488 (STAP_PROBE4): Likewise.
49489
49490 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49491
49492 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49493
49494 2013-12-02 Steve Ellcey <sellcey@mips.com>
49495
49496 * benchtests/Makefile (bench): Add sqrt.
49497 (LDLIBS-bench-sqrt): New.
49498 * benchtests/sqrt-input: New.
49499
49500 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49501
49502 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49503 (GAIH_EAI): Likewise.
49504 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49505 (gaih_inet): Likewise.
49506 (getaddrinfo): Don't use GAIH_EAI.
49507
49508 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49509 (struct gaih): Remove definition.
49510
49511 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49512
49513 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49514 Use HERRNOP directly.
49515
49516 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49517
49518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49519
49520 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49521
49522 * math/gen-auto-libm-tests.c (test_functions): Add more
49523 single-argument functions.
49524 (special_fill_pi_2): New function.
49525 (special_fill_minus_pi_2): Likewise.
49526 (special_fill_pi_6): Likewise.
49527 (special_fill_minus_pi_6): Likewise.
49528 (special_fill_pi_3): Likewise.
49529 (special_fill_2pi_3): Likewise.
49530 (special_fill_e): Likewise.
49531 (special_fill_1_e): Likewise.
49532 (special_fill_e_minus_1): Likewise.
49533 (special_real_inputs): Add more special inputs.
49534 (output_for_one_input_case): Do not require ERANGE on underflow to
49535 zero if round-to-nearest result does not underflow to zero, unless
49536 exact results required.
49537 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49538 atan, atanh, cbrt, cos and cosh.
49539 * math/auto-libm-test-out: Regenerated.
49540 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49541 (acos_tonearest_test_data): Likewise.
49542 (acos_towardzero_test_data): Likewise.
49543 (acos_downward_test_data): Likewise.
49544 (acos_upward_test_data): Likewise.
49545 (acosh_test_data): Likewise.
49546 (asin_test_data): Likewise.
49547 (asin_tonearest_test_data): Likewise.
49548 (asin_towardzero_test_data): Likewise.
49549 (asin_upward_test_data): Likewise.
49550 (asinh_test_data): Likewise.
49551 (atan_test_data): Likewise.
49552 (atanh_test_data): Likewise.
49553 (cbrt_test_data): Likewise.
49554 (cos_test_data): Likewise.
49555 (cos_tonearest_test_data): Likewise.
49556 (cos_towardzero_test_data): Likewise.
49557 (cos_downward_test_data): Likewise.
49558 (cos_upward_test_data): Likewise.
49559 (cosh_test_data): Likewise.
49560 (cosh_tonearest_test_data): Likewise.
49561 (cosh_towardzero_test_data): Likewise.
49562 (cosh_downward_test_data): Likewise.
49563 (cosh_upward_test_data): Likewise.
49564 * sysdeps/i386/fpu/libm-test-ulps: Update.
49565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49566
49567 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49568
49569 [BZ #6787]
49570 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49571 * math/w_exp10f.c (__exp10f): Likewise.
49572 * math/w_exp10l.c (__exp10l): Likewise.
49573 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49574 errno settings in existing tests.
49575
49576 [BZ #14032]
49577 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49578 precision control set to double precision.
49579 * sysdeps/i386/fpu/w_sqrt.c: New file.
49580 * math/auto-libm-test-in: Add more tests.
49581 * math/auto-libm-test-out: Update.
49582
49583 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49584 (sqrt_test_tonearest): New function.
49585 (sqrt_towardzero_test_data): New variable.
49586 (sqrt_test_towardzero): New function.
49587 (sqrt_downward_test_data): New variable.
49588 (sqrt_test_downward): New function.
49589 (sqrt_upward_test_data): New variable.
49590 (sqrt_test_upward): New function.
49591 (main): Call the new functions.
49592
49593 * math/gen-auto-libm-tests.c: New file.
49594 * math/auto-libm-test-in: Likewise.
49595 * math/auto-libm-test-out: New generated file.
49596 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49597 variables.
49598 (%beautify): Add generated representations of zero.
49599 (top level): Set $auto_input and call parse_auto_input.
49600 (beautify): Remove trailing "f" from hex float constants.
49601 (parse_args): Handle XFAIL_TEST.
49602 (convert_condition): New function.
49603 (or_value): Likewise.
49604 (or_cond_value): Likewise.
49605 (generate_testfile): Handle AUTO_TESTS_* lines.
49606 (parse_auto_input): New function.
49607 * math/libm-test.inc (XFAIL_TEST): New macro.
49608 (ERRNO_UNCHANGED): Update value.
49609 (ERRNO_EDOM): Likewise.
49610 (ERRNO_ERANGE): Likewise.
49611 (IGNORE_RESULT): Likewise.
49612 (TEST_COND_flt_32): New macro.
49613 (TEST_COND_dbl_64): Likewise.
49614 (TEST_COND_ldbl_96_intel): Likewise.
49615 (TEST_COND_ldbl_96_m68k): Likewise.
49616 (TEST_COND_ldbl_128): Likewise.
49617 (TEST_COND_ldbl_128ibm): Likewise.
49618 (TEST_COND_long32): Likewise.
49619 (TEST_COND_long64): Likewise.
49620 (TEST_COND_before_rounding): Likewise.
49621 (TEST_COND_after_rounding): Likewise.
49622 (enable_test): Handle XFAIL_TEST flag.
49623 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49624 with finite results.
49625 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49626 auto-libm-test-out.
49627
49628 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49629 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49630
49631 [BZ #16214]
49632 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49633 __tls_get_addr_internal instead of __tls_get_offset in order to
49634 avoid GOT pointer dependency. Make rtld export
49635 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49636 __tls_get_addr since we are a __tls_get_offset platform.
49637 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49638 GOT pointer being set up before.
49639 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49640
49641 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49642
49643 * manual/math.texi (Errors in Math Functions): Document accuracy
49644 goals.
49645
49646 [BZ #15004]
49647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49648 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49649 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49650 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49651 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49652 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49653 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49654 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49655 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49657 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49659 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49660 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49661 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49662 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49663
49664 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49665 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49666 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49667 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49668 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49669 Likewise.
49670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49671 Likewise.
49672 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49673 Likewise.
49674 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49676 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49677 atomic-feupdateenv and flt-rounds.
49678 * sysdeps/powerpc/nofpu/Versions (libc): Add
49679 __atomic_feholdexcept, __atomic_feclearexcept,
49680 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49681 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49682 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49683 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49684 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49685 here.
49686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49687 Update.
49688
49689 * manual/arith.texi (FP Exceptions): Document that exceptions may
49690 not be raised when matherr is used.
49691 (Math Error Reporting): Document overflow in directed rounding
49692 modes. Document that errno may not be set when finite values are
49693 returned on overflow. Document intent to set errno on underflow
49694 only for underflow to zero.
49695
49696 [BZ #16271]
49697 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49698 round-to-nearest then adjust result for other rounding modes.
49699 * include/fenv.h (fegetround): Use libm_hidden_proto.
49700 * math/fegetround.c (fegetround): Use libm_hidden_def.
49701 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49702 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49703 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49704 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49705 Likewise.
49706 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49707 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49708 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49709 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49710
49711 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49712
49713 [BZ #16077]
49714 * nss/Versions (libnss_files): Add
49715 _nss_files_gethostbyname3_r.
49716 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49717 New function.
49718 (HOST_DB_LOOKUP): Remove macro.
49719 (_nss_files_gethostbyname_r): Implement function without the
49720 HOST_DB_LOOKUP macro.
49721 (_nss_files_gethostbyname2_r): Likewise.
49722
49723 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49724
49725 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49726
49727 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49728
49729 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49730 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49731 warning.
49732
49733 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49734
49735 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49736 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49737 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49738 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49739 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49740 __fe_nomask_env_priv and attribute_hidden.
49741 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49742 (libc_feupdateenv_test_ppc): Likewise.
49743 (libc_feresetround_ppc): Likewise.
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49745 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49746 compat_symbol macro.
49747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49748 (__fe_nomask_env): Likewise.
49749 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49750
49751 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49752
49753 * string/Makefile: Remove ifunc tests.
49754 * string/test-string.h: Define TEST_IFUNC.
49755 * string/test-bcopy-ifunc.c: Remove.
49756 * string/test-bzero-ifunc.c: Likewise.
49757 * string/test-memccpy-ifunc.c: Likewise.
49758 * string/test-memchr-ifunc.c: Likewise.
49759 * string/test-memcmp-ifunc.c: Likewise.
49760 * string/test-memcpy-ifunc.c: Likewise.
49761 * string/test-memmem-ifunc.c: Likewise.
49762 * string/test-memmove-ifunc.c: Likewise.
49763 * string/test-mempcpy-ifunc.c: Likewise.
49764 * string/test-memrchr-ifunc.c: Likewise.
49765 * string/test-memset-ifunc.c: Likewise.
49766 * string/test-rawmemchr-ifunc.c: Likewise.
49767 * string/test-stpcpy-ifunc.c: Likewise.
49768 * string/test-stpncpy-ifunc.c: Likewise.
49769 * string/test-strcasecmp-ifunc.c: Likewise.
49770 * string/test-strcasestr-ifunc.c: Likewise.
49771 * string/test-strcat-ifunc.c: Likewise.
49772 * string/test-strchr-ifunc.c: Likewise.
49773 * string/test-strchrnul-ifunc.c: Likewise.
49774 * string/test-strcmp-ifunc.c: Likewise.
49775 * string/test-strcpy-ifunc.c: Likewise.
49776 * string/test-strcspn-ifunc.c: Likewise.
49777 * string/test-strlen-ifunc.c: Likewise.
49778 * string/test-strncasecmp-ifunc.c: Likewise.
49779 * string/test-strncat-ifunc.c: Likewise.
49780 * string/test-strncmp-ifunc.c: Likewise.
49781 * string/test-strncpy-ifunc.c: Likewise.
49782 * string/test-strnlen-ifunc.c: Likewise.
49783 * string/test-strpbrk-ifunc.c: Likewise.
49784 * string/test-strrchr-ifunc.c: Likewise.
49785 * string/test-strspn-ifunc.c: Likewise.
49786 * string/test-strstr-ifunc.c: Likewise.
49787
49788 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49789
49790 * benchtests/Makefile: Remove ifunc tests.
49791 * benchtests/bench-string.h: Define TEST_IFUNC.
49792 * benchtests/bench-bcopy-ifunc.c: Remove.
49793 * benchtests/bench-bzero-ifunc.c: Likewise.
49794 * benchtests/bench-memccpy-ifunc.c: Likewise.
49795 * benchtests/bench-memchr-ifunc.c: Likewise.
49796 * benchtests/bench-memcmp-ifunc.c: Likewise.
49797 * benchtests/bench-memcpy-ifunc.c: Likewise.
49798 * benchtests/bench-memmem-ifunc.c: Likewise.
49799 * benchtests/bench-memmove-ifunc.c: Likewise.
49800 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49801 * benchtests/bench-memrchr-ifunc.c: Likewise.
49802 * benchtests/bench-memset-ifunc.c: Likewise.
49803 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49804 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49805 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49806 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49807 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49808 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49809 * benchtests/bench-strcat-ifunc.c: Likewise.
49810 * benchtests/bench-strchr-ifunc.c: Likewise.
49811 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49812 * benchtests/bench-strcmp-ifunc.c: Likewise.
49813 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49814 * benchtests/bench-strcpy-ifunc.c: Likewise.
49815 * benchtests/bench-strcspn-ifunc.c: Likewise.
49816 * benchtests/bench-strlen-ifunc.c: Likewise.
49817 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49818 * benchtests/bench-strncat-ifunc.c: Likewise.
49819 * benchtests/bench-strncmp-ifunc.c: Likewise.
49820 * benchtests/bench-strncpy-ifunc.c: Likewise.
49821 * benchtests/bench-strnlen-ifunc.c: Likewise.
49822 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49823 * benchtests/bench-strrchr-ifunc.c: Likewise.
49824 * benchtests/bench-strsep-ifunc.c: Likewise.
49825 * benchtests/bench-strspn-ifunc.c: Likewise.
49826 * benchtests/bench-strstr-ifunc.c: Likewise.
49827
49828 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49829
49830 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49831
49832 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49833
49834 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49835 * rt/aio.h: Likewise.
49836 * sysdeps/gnu/bits/utmp.h: Likewise.
49837 * sysdeps/gnu/bits/utmpx.h: Likewise.
49838 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49839 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49840 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49841 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49842 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49843 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49844 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49845 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49846 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49847 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49848 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49849 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49850 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49852 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49853 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49854 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49855 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49856 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49857 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49858 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49859 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49860 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49861 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49862 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49863 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49864 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49865 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49866 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49868 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49869 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49870 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49871 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49872 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49873 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49875 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49876 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49877 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49878 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49879 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49880
49881 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49882
49883 [BZ #16245]
49884 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49885 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49886
49887 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49888
49889 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49890 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49891 Likewise.
49892
49893 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49894
49895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49896 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49897 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49898 (__fesetround): Remove define.
49899 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49900 rounding and exceptions handling.
49901 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49902 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49903 (__fe_nomask_env): Likewise.
49904 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49905 __fegetround instead of fegetround.
49906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49907 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49908
49909 2013-11-21 Roland McGrath <roland@hack.frob.com>
49910
49911 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49912 it's there.
49913
49914 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49915
49916 2013-11-21 Meador Inge <meadori@codesourcery.com>
49917
49918 [BZ #11157]
49919 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49920 (encrypt_r): Likewise.
49921 * malloc/obstack.h (obstack_free): Likewise.
49922 * posix/unistd.h (encrypt): Likewise.
49923
49924 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49925
49926 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49927 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49928 DL_CALL_DT_FINI() that call the functions directly.
49929 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49930 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49931 * elf/dl-fini.c: Likewise.
49932
49933 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49934
49935 * malloc/hooks.c (memalign_check): Add alignment rounding.
49936 * malloc/malloc.c (_mid_memalign): New function.
49937 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49938 Implement by calling _mid_memalign.
49939 * manual/probes.texi (Memory Allocation Probes): Remove
49940 memory_valloc_retry and memory_pvalloc_retry.
49941
49942 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49943
49944 * locale/programs/locarchive.c (open_archive): Add const
49945 qualifier to ARCHIVEFNAME and copy default fname to
49946 DEFAULT_FNAME.
49947
49948 [BZ #15601]
49949 * libio/tst-widetext.input: Rename Oriya to Odia.
49950 * locale/iso-639.def: Likewise.
49951
49952 * manual/probes.texi (Mathematical Function Probes): Add
49953 documentation for sin, cos, asin and acos probes.
49954 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49955 (__sin32): Add slowasin probe.
49956 (__cos32): Add slowacos probe.
49957 (__mpsin): Add slowsin probe.
49958 (__mpcos): Add slowcos probe.
49959
49960 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49961
49962 [BZ #15483]
49963 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49964 thread-local __sim_exceptions_thread and global
49965 __sim_exceptions_global.
49966 (__sim_disabled_exceptions): Change to thread-local
49967 __sim_disabled_exceptions_thread and global
49968 __sim_disabled_exceptions_global.
49969 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49970 and global __sim_round_mode_global.
49971 (__simulate_exceptions): Use thread-local floating-point state and
49972 set global state from it as needed.
49973 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49974 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49975 __sim_round_mode_thread.
49976 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49977 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49978 and global __sim_exceptions_global.
49979 (__sim_disabled_exceptions): Change to thread-local
49980 __sim_disabled_exceptions_thread and global
49981 __sim_disabled_exceptions_global.
49982 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49983 and global __sim_round_mode_global.
49984 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49985 (SIM_SET_GLOBAL): Likewise.
49986 * sysdeps/powerpc/soft-fp/sfp-machine.h
49987 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49988 __sim_round_mode_thread.
49989 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49990 __sim_disabled_exceptions_thread.
49991 (__sim_exceptions): Change to __sim_exceptions_thread.
49992 (__sim_disabled_exceptions): Change to
49993 __sim_disabled_exceptions_thread.
49994 (__sim_round_mode): Change to __sim_round_mode_thread.
49995 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49996 thread-local floating-point state and set global state from it as
49997 needed.
49998 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49999 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50000 (__sim_disabled_exceptions): Remove extern declaration.
50001 (feenableexcept): Use thread-local floating-point state and set
50002 global state from it as needed.
50003 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50004 extern declaration.
50005 (__sim_disabled_exceptions): Likewise.
50006 (__sim_round_mode): Likewise.
50007 (__fegetenv): Use thread-local floating-point state.
50008 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50009 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50010 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50011 floating-point state and set global state from it as needed.
50012 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50013 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50014 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50015 Likewise.
50016 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50017 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50018 Likewise.
50019 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50020 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50021 Use __sim_round_mode_thread.
50022 * math/test-fenv-tls.c: New file.
50023 * math/Makefile (tests): Add test-fenv-tls.
50024 ($(objpfx)test-fenv-tls): Depend on
50025 $(common-objpfx)nptl/libpthread.so.
50026
50027 2013-11-19 Andreas Schwab <schwab@suse.de>
50028
50029 * locale/programs/locale.c (show_info): Decode wordarray elements.
50030 * locale/categories.def (LC_MONETARY): Add element for
50031 _NL_MONETARY_CRNCYSTR.
50032 * locale/C-monetary.c (conversion_rate): New variable.
50033 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50034 element.
50035
50036 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
50037
50038 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50039 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50040
50041 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50042
50043 * elf/Makefile (tst-auxv): New test.
50044 * elf/tst-auxv.c: New
50045 * elf/rtld.c (dl_main): Adjust AT_EXECFN
50046
50047 2013-11-18 Joseph Myers <joseph@codesourcery.com>
50048
50049 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50050 (hidden_proto): Caller changed.
50051 (hidden_tls_proto): New macro.
50052 (libc_hidden_tls_proto): Likewise.
50053 (rtld_hidden_tls_proto): Likewise.
50054 (libm_hidden_tls_proto): Likewise.
50055 (libresolv_hidden_tls_proto): Likewise.
50056 (librt_hidden_tls_proto): Likewise.
50057 (libdl_hidden_tls_proto): Likewise.
50058 (libnss_files_hidden_tls_proto): Likewise.
50059 (libnsl_hidden_tls_proto): Likewise.
50060 (libnss_nisplus_hidden_tls_proto): Likewise.
50061 (libutil_hidden_tls_proto): Likewise.
50062
50063 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
50064
50065 [BZ #10253]
50066 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50067 (decompose_rpath): Defer expansion to fillin_rpath.
50068 (_dl_init_paths): Pass linkmap to fillin_rpath.
50069
50070 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50071
50072 * benchtests/Makefile: Add strsep.
50073 * benchtests/bench-strsep.c: New file: strsep benchtest.
50074 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50075
50076 2013-11-18 Andreas Schwab <schwab@suse.de>
50077
50078 * locale/programs/locale.c (show_info) [case byte]: Check for
50079 '\377' instead of '\177'.
50080 * locale/C-monetary.c (not_available): Always use "\377".
50081 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50082 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
50083 detect unavailable sign_posn locale elements.
50084 * locale/localeconv.c (__localeconv): For grouping and
50085 mon_grouping handle "\177" and "\377" like no grouping.
50086 (INT_ELEM): New macro. Use it to set all numeric members.
50087 * locale/programs/ld-monetary.c (monetary_read)
50088 <tok_mon_grouping>: Normalize single -1 to the empty string.
50089 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50090 Likewise.
50091
50092 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50093
50094 [BZ #16055]
50095 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50096 when we match (nil).
50097 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50098
50099 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50100
50101 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50102 (NO_TEST_INLINE): Update value.
50103 (ERRNO_UNCHANGED): Likewise.
50104 (ERRNO_EDOM): Likewise.
50105 (ERRNO_ERANGE): Likewise.
50106 (IGNORE_RESULT): Likewise.
50107 (check_float_internal): Check signs of NaN results if
50108 TEST_NAN_SIGN used.
50109 (check_complex): Pass TEST_NAN_SIGN flag through to second
50110 check_float_internal call.
50111 (copysign_test_data): Add tests with quiet NaNs as second
50112 argument. Use TEST_NAN_SIGN.
50113 (fabs_test_data): Add test of negative quiet NaN argument. Use
50114 TEST_NAN_SIGN.
50115 (signbit_test_data): Add tests of quiet NaN argument.
50116 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50117
50118 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50119 $ignore_result.
50120 (parse_args): Handle function results specified as IGNORE.
50121 * math/libm-test.inc (IGNORE_RESULT): New macro.
50122 (check_float_internal): Do not check numerical result if flag
50123 IGNORE_RESULT set.
50124 (check_complex): Pass through IGNORE_RESULT to second
50125 check_float_internal call.
50126 (check_int): Do not check numerical result if flag IGNORE_RESULT
50127 set.
50128 (check_long): Likewise.
50129 (check_bool): Likewise.
50130 (check_longlong): Likewise.
50131 (lrint_test_data): Add tests of infinite and NaN arguments.
50132 (lrint_tonearest_test_data): Likewise.
50133 (lrint_towardzero_test_data): Likewise.
50134 (lrint_downward_test_data): Likewise.
50135 (lrint_upward_test_data): Likewise.
50136 (llrint_test_data): Likewise.
50137 (llrint_tonearest_test_data): Likewise.
50138 (llrint_towardzero_test_data): Likewise.
50139 (llrint_downward_test_data): Likewise.
50140 (llrint_upward_test_data): Likewise.
50141 (lround_test_data): Likewise.
50142 (llround_test_data): Likewise.
50143
50144 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50145 (ERRNO_UNCHANGED): Update value.
50146 (ERRNO_EDOM): Likewise.
50147 (ERRNO_ERANGE): Likewise.
50148 (NO_TEST_INLINE_FLOAT): New macro.
50149 (NO_TEST_INLINE_DOUBLE): Likewise.
50150 (enable_test): New function.
50151 (RUN_TEST_f_f): Check enable_test before running test.
50152 (RUN_TEST_2_f): Likewise.
50153 (RUN_TEST_fff_f): Likewise.
50154 (RUN_TEST_c_f): Likewise.
50155 (RUN_TEST_f_f1): Likewise.
50156 (RUN_TEST_fF_f1): Likewise.
50157 (RUN_TEST_fI_f1): Likewise.
50158 (RUN_TEST_ffI_f1): Likewise.
50159 (RUN_TEST_c_c): Likewise.
50160 (RUN_TEST_cc_c): Likewise.
50161 (RUN_TEST_f_i): Likewise.
50162 (RUN_TEST_f_i_tg): Likewise.
50163 (RUN_TEST_ff_i_tg): Likewise.
50164 (RUN_TEST_f_b): Likewise.
50165 (RUN_TEST_f_b_tg): Likewise.
50166 (RUN_TEST_f_l): Likewise.
50167 (RUN_TEST_f_L): Likewise.
50168 (RUN_TEST_fFF_11): Likewise.
50169 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50170 conditionals.
50171 (cosh_test_data): Likewise.
50172 (exp_test_data): Likewise.
50173 (expm1_test_data): Likewise.
50174 (hypot_test_data): Likewise.
50175 (pow_test_data): Likewise.
50176 (sinh_test_data): Likewise.
50177 (tanh_test_data): Likewise.
50178 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50179 flags argument.
50180
50181 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50182 tests with quiet NaN input and output.
50183 (acosh_test_data): Likewise.
50184 (asin_test_data): Likewise.
50185 (asinh_test_data): Likewise.
50186 (atan_test_data): Likewise.
50187 (atanh_test_data): Likewise.
50188 (atan2_test_data): Likewise.
50189 (cbrt_test_data): Likewise.
50190 (cos_test_data): Likewise.
50191 (cosh_test_data): Likewise.
50192 (erf_test_data): Likewise.
50193 (erfc_test_data): Likewise.
50194 (exp_test_data): Likewise.
50195 (exp10_test_data): Likewise.
50196 (exp2_test_data): Likewise.
50197 (expm1_test_data): Likewise.
50198 (hypot_test_data): Likewise.
50199 (j0_test_data): Likewise.
50200 (j1_test_data): Likewise.
50201 (jn_test_data): Likewise.
50202 (lgamma_test_data): Likewise.
50203 (log_test_data): Likewise.
50204 (log10_test_data): Likewise.
50205 (log1p_test_data): Likewise.
50206 (log2_test_data): Likewise.
50207 (pow_test_data): Likewise.
50208 (scalb_test_data): Likewise.
50209 (sin_test_data): Likewise.
50210 (sincos_test_data): Likewise.
50211 (sinh_test_data): Likewise.
50212 (tan_test_data): Likewise.
50213 (tanh_test_data): Likewise.
50214 (tgamma_test_data): Likewise.
50215 (y0_test_data): Likewise.
50216 (y1_test_data): Likewise.
50217 (yn_test_data): Likewise.
50218
50219 [BZ #16167]
50220 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50221 argument being NaN and avoid computations with second argument in
50222 that case.
50223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50225 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50226
50227 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50228
50229 * locale/iso-639.def: Add Chitwani Tharu (the).
50230
50231 2013-11-14 Andreas Schwab <schwab@suse.de>
50232
50233 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50234 word instead of empty string.
50235
50236 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50237
50238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50239 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50241 (__fe_nomask_env): Likewise.
50242
50243 2013-11-13 Steve Ellcey <sellcey@mips.com>
50244
50245 * benchtests/bench-timing.h: Include time.h.
50246
50247 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50248
50249 [BZ #15997]
50250 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50251 to 3.4.0 for x32.
50252 * sysdeps/unix/sysv/linux/configure: Regenerated.
50253
50254 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50255
50256 [BZ #16151]
50257 * stdlib/strtod_l.c (round_and_return): Do not consider
50258 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50259 exponent one less than half the least subnormal exponent.
50260 * stdlib/test-strtod-round-data: Add more tests.
50261 * stdlib/tst-strtod-round.c (tests): Regenerated.
50262
50263 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50264
50265 [BZ #14143]
50266 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50267 (__fe_mask_env): Likewise.
50268 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50269 libm_hidden_proto and add function prototype.
50270 (__fe_mask_env): Add function prototype.
50271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50272 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50274 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50276 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50277
50278 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50279
50280 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50281 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50282
50283 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50284
50285 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50286 of htab_find_slot().
50287
50288 2013-11-11 David S. Miller <davem@davemloft.net>
50289
50290 [BZ #16150]
50291 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50292 symbol in the non-vis3 case in static builds.
50293 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50294 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50295 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50296 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50297
50298 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50299
50300 [BZ #387]
50301 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50302 it is empty.
50303
50304 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50305
50306 * benchtests/Makefile: Add bench-strtod.
50307 * benchtests/bench-strtod.c: New file: strtod benchtest
50308
50309 2013-11-11 Andreas Schwab <schwab@suse.de>
50310
50311 [BZ #16153]
50312 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50313 terminating NUL in key length.
50314
50315 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50316
50317 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50318 Add artificial ODP entry for vDSO symbol for PPC64.
50319 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50320 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50321
50322 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50323
50324 [BZ #15374]
50325 * nss/getent.c (services_keys): Recognize services starting with digit.
50326
50327 2013-11-06 David S. Miller <davem@davemloft.net>
50328
50329 [BZ #15985]
50330 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50331 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50332
50333 2013-11-06 Will Newton <will.newton@linaro.org>
50334
50335 * manual/memory.texi (Malloc Examples): Remove register
50336 keyword from examples.
50337
50338 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50339
50340 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50341
50342 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50343
50344 [BZ #6981]
50345 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50346 depending on [__GCC_IEC_559 > 0].
50347 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50348 depending on [__GCC_IEC_559_COMPLEX > 0].
50349
50350 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50351
50352 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50353 to iso-639.def.
50354
50355 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50356
50357 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50358
50359 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50360
50361 [BZ #16112]
50362 * malloc/malloc (malloc_info): Do not handle first bin as
50363 special case.
50364
50365 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50366
50367 * locale/iso-639.def: Add Central Nahuatl (nhn).
50368
50369 2013-11-01 Bruno Haible <bruno@clisp.org>
50370
50371 [BZ #7003]
50372 * manual/math.texi (BSD Random): Specify range upper bound as
50373 in POSIX.
50374
50375 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50376
50377 * locale/iso-639.def: Add Meadow Mari (mhr).
50378
50379 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50380
50381 [BZ #14752], [BZ #15763]
50382 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50383 Validate name.
50384 * rt/tst_shm.c: Add test for escaping directory.
50385
50386 2013-10-31 Andreas Schwab <schwab@suse.de>
50387
50388 [BZ #15917]
50389 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50390 followed by 'x' as part of digit sequence.
50391 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50392
50393 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50394
50395 [BZ #16037]
50396 * configure.ac: allow GNU Make 4.0 and greater.
50397 * configure: Regenerated.
50398
50399 2013-10-30 Will Newton <will.newton@linaro.org>
50400
50401 [BZ #16038]
50402 * malloc/hooks.c (memalign_check): Limit alignment to the
50403 maximum representable power of two.
50404 * malloc/malloc.c (__libc_memalign): Likewise.
50405 * malloc/tst-memalign.c (do_test): Add test for very
50406 large alignment values.
50407 * malloc/tst-posix_memalign.c (do_test): Likewise.
50408
50409 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50410
50411 [BZ #11087]
50412 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50413 (munmap_chunk): Likewise.
50414 (mremap_chunk): Likewise.
50415
50416 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50417
50418 [BZ #15799]
50419 * stdlib/div.c (div): Remove obsolete code.
50420 * stdlib/ldiv.c (ldiv): Likewise.
50421 * stdlib/lldiv.c (lldiv): Likewise.
50422
50423 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50424
50425 [BZ #16071]
50426 * nss/nss_files/files-XXX.c (get_contents_ret): New
50427 enumerator.
50428 (get_contents): New function.
50429 (internal_getent): Use it. Expand size of LINEBUFLEN.
50430
50431 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50432
50433 * configure.in: Moved to ...
50434 * configure.ac: ... here. Change reference to configure.in
50435 to configure.ac.
50436 * sysdeps/arm/preconfigure.ac: ... here.
50437 configure.in to configure.ac.
50438 * sysdeps/gnu/configure.in: Moved to ...
50439 * sysdeps/gnu/configure.ac: ... here.
50440 * sysdeps/i386/configure.in: Moved to ...
50441 * sysdeps/i386/configure.ac: ... here.
50442 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50443 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50444 * sysdeps/mach/configure.in: Moved to ...
50445 * sysdeps/mach/configure.ac: ... here.
50446 * sysdeps/mach/hurd/configure.in: Moved to ...
50447 * sysdeps/mach/hurd/configure.ac: ... here.
50448 * sysdeps/powerpc/configure.in: Moved to ...
50449 * sysdeps/powerpc/configure.ac: ... here.
50450 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50451 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50452 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50453 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50454 * sysdeps/s390/s390-32/configure.in: Moved to ...
50455 * sysdeps/s390/s390-32/configure.ac: ... here.
50456 * sysdeps/s390/s390-64/configure.in: Moved to ...
50457 * sysdeps/s390/s390-64/configure.ac: ... here.
50458 * sysdeps/sh/configure.in: Moved to ...
50459 * sysdeps/sh/configure.ac: ... here.
50460 * sysdeps/sparc/configure.in: Moved to ...
50461 * sysdeps/sparc/configure.ac: ... here.
50462 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50463 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50464 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50465 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50466 * sysdeps/x86_64/configure.in: Moved to ...
50467 * sysdeps/x86_64/configure.ac: ... here.
50468 * sysdeps/x86_64/preconfigure.in: Moved to ...
50469 * sysdeps/x86_64/preconfigure.ac: ... here.
50470 * aclocal.m4: Change reference to configure.in to configure.ac.
50471 * config.h.in: Likewise.
50472 * manual/install.texi: Likewise.
50473 * manual/maint.texi: Likewise.
50474 * Makefile: Likewise.
50475 * malloc/Makefile: Likewise.
50476 * nscd/Makefile: Likewise.
50477 * Makeconfig: Change reference to configure.in and
50478 preconfigure.in to configure.ac and preconfigure.ac
50479 respectively.
50480 * INSTALL: Regenerated.
50481 * configure: Likewise.
50482 * sysdeps/gnu/configure: Likewise.
50483 * sysdeps/i386/configure: Likewise.
50484 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50485 * sysdeps/mach/configure: Likewise.
50486 * sysdeps/mach/hurd/configure: Likewise.
50487 * sysdeps/powerpc/configure: Likewise.
50488 * sysdeps/powerpc/powerpc32/configure: Likewise.
50489 * sysdeps/powerpc/powerpc64/configure: Likewise.
50490 * sysdeps/s390/s390-32/configure: Likewise.
50491 * sysdeps/s390/s390-64/configure: Likewise.
50492 * sysdeps/sh/configure: Likewise.
50493 * sysdeps/sparc/configure: Likewise.
50494 * sysdeps/unix/sysv/linux/configure: Likewise.
50495 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50496 * sysdeps/x86_64/configure: Likewise.
50497 * sysdeps/x86_64/preconfigure: Likewise.
50498
50499 2013-10-29 Andreas Schwab <schwab@suse.de>
50500
50501 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50502
50503 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50504
50505 * benchtests/pow-inputs: Add new inputs.
50506
50507 * benchtests/exp-inputs: Add new inputs.
50508
50509 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50510 conditional check for return value.
50511 (__cos32): Likewise.
50512
50513 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50514
50515 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50516 to provide a boost for large inputs with word alignment.
50517 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50518 implementation based on optimized PPC64 strcpy.
50519 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50520 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50521 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50522 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50523
50524 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50525
50526 [BZ #2801]
50527 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50528
50529 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50530
50531 [BZ #14876]
50532 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50533 * time/tst-strptime.c (day_tests): Add testcase.
50534
50535 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50536
50537 [BZ #14029]
50538 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50539
50540 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50541
50542 [BZ #16074]
50543 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50544 MAP_FAILED on error.
50545
50546 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50547
50548 [BZ #16072]
50549 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50550 heap for large requests.
50551
50552 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50553
50554 [BZ #9954]
50555 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50556 result if the result has no associated interface.
50557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50558 interface for all 127.X.Y.Z addresses.
50559
50560 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50561
50562 * locale/iso-639.def: Add Ligurian (lij)
50563
50564 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50565
50566 [BZ #15825]
50567 * sunrpc/rpc_main.c: Document rpcgen -5.
50568
50569 2013-10-19 Michael Stahl <mstahl@redhat.com>
50570
50571 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50572
50573 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50574
50575 [BZ #10278]
50576 * posix/glob.c: Match only directories when trailing slash is present.
50577 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50578 (main): Add testcase.
50579
50580 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50581
50582 [BZ #15670]
50583 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50584
50585 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50586
50587 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50588 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50589 AUTH_DES and cindex for FIPS 140-2.
50590 (DES Encryption): Add cindex FIPS 46-3.
50591
50592 * locale/locarchive.h (struct locarhandle): Add fname.
50593 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50594 if an optional argument was specified to --list-archive,
50595 otherwise NULL.
50596 * locale/programs/locarchive.c (show_archive_content): Take new
50597 argument fname and pass it via ah.fname to open_archive.
50598 * locale/programs/localedef.h: Update decl.
50599 (open_archive): If AH->fname is non-null, open that file
50600 rather than the default file name, and don't ignore ENOENT.
50601 (create_archive): Set AH.fname to NULL.
50602 (delete_locales_from_archive): Likewise.
50603 (add_locales_to_archive): Likewise.
50604 * locale/programs/locfile.c (write_all_categories): Likewise.
50605
50606 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50607 Aldy Hernandez <aldyh@redhat.com>
50608
50609 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50610 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50611 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50612 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50613 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50616 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50617 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50618 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50619 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50620 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50621 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50622 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50623 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50624 Likewise.
50625 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50626 Likewise.
50627 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50628 Likewise.
50629 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50630 Likewise.
50631 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50632 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50633 Likewise.
50634 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50635 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50636 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50637 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50638 Likewise.
50639 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50640 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50641 * sysdeps/powerpc/preconfigure: Likewise.
50642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50643 Likewise.
50644 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50645 Replace contents of file by #include of <fenv_libc.h>.
50646 * sysdeps/powerpc/soft-fp/sfp-machine.h
50647 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50648 and <sys/prctl.h>.
50649 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50662 Allow copysignl PLT reference to be missing.
50663
50664 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50665 Joseph Myers <joseph@codesourcery.com
50666
50667 [BZ #15948]
50668 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50669 single character.
50670 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50671
50672 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50673
50674 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50675 * elf/tst-tls1.c: Likewise.
50676 * elf/tst-tls10.h: Likewise.
50677 * elf/tst-tls14.c: Likewise.
50678 * elf/tst-tls2.c: Likewise.
50679 * elf/tst-tls3.c: Likewise.
50680 * elf/tst-tls4.c: Likewise.
50681 * elf/tst-tls5.c: Likewise.
50682 * elf/tst-tls6.c: Likewise.
50683 * elf/tst-tls7.c: Likewise.
50684 * elf/tst-tls8.c: Likewise.
50685 * elf/tst-tls9.c: Likewise.
50686 * elf/tst-tlsmod1.c: Likewise.
50687 * elf/tst-tlsmod13.c: Likewise.
50688 * elf/tst-tlsmod13a.c: Likewise.
50689 * elf/tst-tlsmod14a.c: Likewise.
50690 * elf/tst-tlsmod16a.c: Likewise.
50691 * elf/tst-tlsmod16b.c: Likewise.
50692 * elf/tst-tlsmod2.c: Likewise.
50693 * elf/tst-tlsmod3.c: Likewise.
50694 * elf/tst-tlsmod4.c: Likewise.
50695 * elf/tst-tlsmod5.c: Likewise.
50696 * elf/tst-tlsmod6.c: Likewise.
50697
50698 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50699
50700 [BZ #12486]
50701 * malloc/malloc.c: remove checks for statistics.
50702
50703 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50704
50705 [BZ #15277]
50706 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50707 * inet/tst-network.c: Add testcase.
50708
50709 2013-10-17 Andreas Schwab <schwab@suse.de>
50710
50711 [BZ #15218]
50712 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50713 to determine canonical name.
50714
50715 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50716
50717 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50718 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50719 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50720 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50721 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50722 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50723 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50724 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50725 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50726 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50727 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50728 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50730 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50731 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50732 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50734 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50735 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50736 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50739 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50741 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50742 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50744 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50747 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50749 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50750 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50751 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50752 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50753 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50754 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50758 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50759 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50764 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50766 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50769 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50771 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50772 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50774 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50775
50776 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50777
50778 [BZ #16041]
50779 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50780 make result into a quiet NaN.
50781
50782 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50783
50784 * soft-fp/adddf3.c: Fix horizontal whitespace.
50785 * soft-fp/addsf3.c: Likewise.
50786 * soft-fp/addtf3.c: Likewise.
50787 * soft-fp/divdf3.c: Likewise.
50788 * soft-fp/divsf3.c: Likewise.
50789 * soft-fp/divtf3.c: Likewise.
50790 * soft-fp/double.h: Likewise.
50791 * soft-fp/eqdf2.c: Likewise.
50792 * soft-fp/eqsf2.c: Likewise.
50793 * soft-fp/eqtf2.c: Likewise.
50794 * soft-fp/extenddftf2.c: Likewise.
50795 * soft-fp/extended.h: Likewise.
50796 * soft-fp/extendsfdf2.c: Likewise.
50797 * soft-fp/extendsftf2.c: Likewise.
50798 * soft-fp/extendxftf2.c: Likewise.
50799 * soft-fp/fixdfdi.c: Likewise.
50800 * soft-fp/fixdfsi.c: Likewise.
50801 * soft-fp/fixdfti.c: Likewise.
50802 * soft-fp/fixsfdi.c: Likewise.
50803 * soft-fp/fixsfsi.c: Likewise.
50804 * soft-fp/fixsfti.c: Likewise.
50805 * soft-fp/fixtfdi.c: Likewise.
50806 * soft-fp/fixtfsi.c: Likewise.
50807 * soft-fp/fixtfti.c: Likewise.
50808 * soft-fp/fixunsdfdi.c: Likewise.
50809 * soft-fp/fixunsdfsi.c: Likewise.
50810 * soft-fp/fixunsdfti.c: Likewise.
50811 * soft-fp/fixunssfdi.c: Likewise.
50812 * soft-fp/fixunssfsi.c: Likewise.
50813 * soft-fp/fixunssfti.c: Likewise.
50814 * soft-fp/fixunstfdi.c: Likewise.
50815 * soft-fp/fixunstfsi.c: Likewise.
50816 * soft-fp/fixunstfti.c: Likewise.
50817 * soft-fp/floatdidf.c: Likewise.
50818 * soft-fp/floatdisf.c: Likewise.
50819 * soft-fp/floatditf.c: Likewise.
50820 * soft-fp/floatsidf.c: Likewise.
50821 * soft-fp/floatsisf.c: Likewise.
50822 * soft-fp/floatsitf.c: Likewise.
50823 * soft-fp/floattidf.c: Likewise.
50824 * soft-fp/floattisf.c: Likewise.
50825 * soft-fp/floattitf.c: Likewise.
50826 * soft-fp/floatundidf.c: Likewise.
50827 * soft-fp/floatundisf.c: Likewise.
50828 * soft-fp/floatunditf.c: Likewise.
50829 * soft-fp/floatunsidf.c: Likewise.
50830 * soft-fp/floatunsisf.c: Likewise.
50831 * soft-fp/floatunsitf.c: Likewise.
50832 * soft-fp/floatuntidf.c: Likewise.
50833 * soft-fp/floatuntisf.c: Likewise.
50834 * soft-fp/floatuntitf.c: Likewise.
50835 * soft-fp/fmadf4.c: Likewise.
50836 * soft-fp/fmasf4.c: Likewise.
50837 * soft-fp/fmatf4.c: Likewise.
50838 * soft-fp/gedf2.c: Likewise.
50839 * soft-fp/gesf2.c: Likewise.
50840 * soft-fp/getf2.c: Likewise.
50841 * soft-fp/ledf2.c: Likewise.
50842 * soft-fp/lesf2.c: Likewise.
50843 * soft-fp/letf2.c: Likewise.
50844 * soft-fp/muldf3.c: Likewise.
50845 * soft-fp/mulsf3.c: Likewise.
50846 * soft-fp/multf3.c: Likewise.
50847 * soft-fp/negdf2.c: Likewise.
50848 * soft-fp/negsf2.c: Likewise.
50849 * soft-fp/negtf2.c: Likewise.
50850 * soft-fp/op-1.h: Likewise.
50851 * soft-fp/op-2.h: Likewise.
50852 * soft-fp/op-4.h: Likewise.
50853 * soft-fp/op-8.h: Likewise.
50854 * soft-fp/op-common.h: Likewise.
50855 * soft-fp/quad.h: Likewise.
50856 * soft-fp/single.h: Likewise.
50857 * soft-fp/soft-fp.h: Likewise.
50858 * soft-fp/sqrtdf2.c: Likewise.
50859 * soft-fp/sqrtsf2.c: Likewise.
50860 * soft-fp/sqrttf2.c: Likewise.
50861 * soft-fp/subdf3.c: Likewise.
50862 * soft-fp/subsf3.c: Likewise.
50863 * soft-fp/subtf3.c: Likewise.
50864 * soft-fp/truncdfsf2.c: Likewise.
50865 * soft-fp/trunctfdf2.c: Likewise.
50866 * soft-fp/trunctfsf2.c: Likewise.
50867 * soft-fp/trunctfxf2.c: Likewise.
50868 * soft-fp/unorddf2.c: Likewise.
50869 * soft-fp/unordsf2.c: Likewise.
50870 * soft-fp/unordtf2.c: Likewise.
50871
50872 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50873
50874 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50875 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50876
50877 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50878
50879 * elf/dl-libc.c: Clear initfini list after freeing.
50880
50881 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50882
50883 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50884 * soft-fp/addsf3.c: Likewise.
50885 * soft-fp/addtf3.c: Likewise.
50886 * soft-fp/divdf3.c: Likewise.
50887 * soft-fp/divsf3.c: Likewise.
50888 * soft-fp/divtf3.c: Likewise.
50889 * soft-fp/double.h: Likewise.
50890 * soft-fp/eqdf2.c: Likewise.
50891 * soft-fp/eqsf2.c: Likewise.
50892 * soft-fp/eqtf2.c: Likewise.
50893 * soft-fp/extenddftf2.c: Likewise.
50894 * soft-fp/extended.h: Likewise.
50895 * soft-fp/extendsfdf2.c: Likewise.
50896 * soft-fp/extendsftf2.c: Likewise.
50897 * soft-fp/extendxftf2.c: Likewise.
50898 * soft-fp/fixdfdi.c: Likewise.
50899 * soft-fp/fixdfsi.c: Likewise.
50900 * soft-fp/fixdfti.c: Likewise.
50901 * soft-fp/fixsfdi.c: Likewise.
50902 * soft-fp/fixsfsi.c: Likewise.
50903 * soft-fp/fixsfti.c: Likewise.
50904 * soft-fp/fixtfdi.c: Likewise.
50905 * soft-fp/fixtfsi.c: Likewise.
50906 * soft-fp/fixtfti.c: Likewise.
50907 * soft-fp/fixunsdfdi.c: Likewise.
50908 * soft-fp/fixunsdfsi.c: Likewise.
50909 * soft-fp/fixunsdfti.c: Likewise.
50910 * soft-fp/fixunssfdi.c: Likewise.
50911 * soft-fp/fixunssfsi.c: Likewise.
50912 * soft-fp/fixunssfti.c: Likewise.
50913 * soft-fp/fixunstfdi.c: Likewise.
50914 * soft-fp/fixunstfsi.c: Likewise.
50915 * soft-fp/fixunstfti.c: Likewise.
50916 * soft-fp/floatdidf.c: Likewise.
50917 * soft-fp/floatdisf.c: Likewise.
50918 * soft-fp/floatditf.c: Likewise.
50919 * soft-fp/floatsidf.c: Likewise.
50920 * soft-fp/floatsisf.c: Likewise.
50921 * soft-fp/floatsitf.c: Likewise.
50922 * soft-fp/floattidf.c: Likewise.
50923 * soft-fp/floattisf.c: Likewise.
50924 * soft-fp/floattitf.c: Likewise.
50925 * soft-fp/floatundidf.c: Likewise.
50926 * soft-fp/floatundisf.c: Likewise.
50927 * soft-fp/floatunsidf.c: Likewise.
50928 * soft-fp/floatunsisf.c: Likewise.
50929 * soft-fp/floatuntidf.c: Likewise.
50930 * soft-fp/floatuntisf.c: Likewise.
50931 * soft-fp/floatuntitf.c: Likewise.
50932 * soft-fp/fmadf4.c: Likewise.
50933 * soft-fp/fmasf4.c: Likewise.
50934 * soft-fp/fmatf4.c: Likewise.
50935 * soft-fp/gedf2.c: Likewise.
50936 * soft-fp/gesf2.c: Likewise.
50937 * soft-fp/getf2.c: Likewise.
50938 * soft-fp/ledf2.c: Likewise.
50939 * soft-fp/lesf2.c: Likewise.
50940 * soft-fp/letf2.c: Likewise.
50941 * soft-fp/muldf3.c: Likewise.
50942 * soft-fp/mulsf3.c: Likewise.
50943 * soft-fp/multf3.c: Likewise.
50944 * soft-fp/negdf2.c: Likewise.
50945 * soft-fp/negsf2.c: Likewise.
50946 * soft-fp/negtf2.c: Likewise.
50947 * soft-fp/op-1.h: Likewise.
50948 * soft-fp/op-2.h: Likewise.
50949 * soft-fp/op-4.h: Likewise.
50950 * soft-fp/op-8.h: Likewise.
50951 * soft-fp/op-common.h: Likewise.
50952 * soft-fp/quad.h: Likewise.
50953 * soft-fp/single.h: Likewise.
50954 * soft-fp/soft-fp.h: Likewise.
50955 * soft-fp/sqrtdf2.c: Likewise.
50956 * soft-fp/sqrtsf2.c: Likewise.
50957 * soft-fp/sqrttf2.c: Likewise.
50958 * soft-fp/subdf3.c: Likewise.
50959 * soft-fp/subsf3.c: Likewise.
50960 * soft-fp/subtf3.c: Likewise.
50961 * soft-fp/truncdfsf2.c: Likewise.
50962 * soft-fp/trunctfdf2.c: Likewise.
50963 * soft-fp/trunctfsf2.c: Likewise.
50964 * soft-fp/trunctfxf2.c: Likewise.
50965 * soft-fp/unorddf2.c: Likewise.
50966 * soft-fp/unordsf2.c: Likewise.
50967 * soft-fp/unordtf2.c: Likewise.
50968
50969 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50970
50971 [BZ #15672]
50972 * misc/error.c (error_tail): Fix possible buffer overflow.
50973
50974 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50975
50976 [BZ #13028]
50977 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50978 address.
50979
50980 2013-10-14 P. J. McDermott <pj@pehjota.net>
50981
50982 [BZ #832]
50983 * elf/ldd.bash.in (try_trace): New function. Delete previous code
50984 testing pipefail option.
50985
50986 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50987
50988 * soft-fp/double.h: Indent preprocessor directives inside #if.
50989 * soft-fp/extended.h: Likewise.
50990 * soft-fp/op-2.h: Likewise.
50991 * soft-fp/op-4.h: Likewise.
50992 * soft-fp/op-common.h: Likewise.
50993 * soft-fp/quad.h: Likewise.
50994 * soft-fp/single.h: Likewise.
50995 * soft-fp/soft-fp.h: Likewise.
50996
50997 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
50998
50999 * iconv/iconv_prog.c: Fix typos.
51000 * stdio-common/psiginfo-data.h: Likewise.
51001
51002 2013-10-12 Reuben Thomas <rrt@sc3d.org>
51003
51004 [BZ #15764]
51005 * locale/setlocale.c: Fix typo.
51006
51007 2013-10-12 Joseph Myers <joseph@codesourcery.com>
51008
51009 [BZ #16036]
51010 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51011 signaling NaN arguments.
51012 * soft-fp/unordsf2.c (__unordsf2): Likewise.
51013 * soft-fp/unordtf2.c (__unordtf2): Likewise.
51014
51015 [BZ #14910]
51016 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51017 unordered operands.
51018 * soft-fp/gesf2.c (__gesf2): Likewise.
51019 * soft-fp/getf2.c (__getf2): Likewise.
51020 * soft-fp/ledf2.c (__ledf2): Likewise.
51021 * soft-fp/lesf2.c (__lesf2): Likewise.
51022 * soft-fp/letf2.c (__letf2): Likewise.
51023
51024 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51025 * soft-fp/eqsf2.c (__eqsf2): Likewise.
51026 * soft-fp/eqtf2.c (__eqtf2): Likewise.
51027 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51028 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51029 * soft-fp/fixdfti.c (__fixdfti): Likewise.
51030 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51031 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51032 * soft-fp/fixsfti.c (__fixsfti): Likewise.
51033 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51034 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51035 * soft-fp/fixtfti.c (__fixtfti): Likewise.
51036 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51037 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51038 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51039 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51040 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51041 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51042 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51043 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51044 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51045 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51046 * soft-fp/floatdisf.c (__floatdisf): Likewise.
51047 * soft-fp/floatsisf.c (__floatsisf): Likewise.
51048 * soft-fp/floattidf.c (__floattidf): Likewise.
51049 * soft-fp/floattisf.c (__floattisf): Likewise.
51050 * soft-fp/floattitf.c (__floattitf): Likewise.
51051 * soft-fp/floatundidf.c (__floatundidf): Likewise.
51052 * soft-fp/floatundisf.c (__floatundisf): Likewise.
51053 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51054 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51055 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51056 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51057 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51058 * soft-fp/gesf2.c (__gesf2): Likewise.
51059 * soft-fp/getf2.c (__getf2): Likewise.
51060 * soft-fp/ledf2.c (__ledf2): Likewise.
51061 * soft-fp/lesf2.c (__lesf2): Likewise.
51062 * soft-fp/letf2.c (__letf2): Likewise.
51063
51064 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51065 Undefine and redefine.
51066 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51067 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51068 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51069 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51070 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51071 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51072 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51073 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51074 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51075 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51076 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51077 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51078 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51079 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51080 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51081
51082 [BZ #16032]
51083 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51084 without decrementing exponent if mantissa >= that for the
51085 denominator, not >.
51086 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51087 denominator, not >. Decrement exponent in < case instead of
51088 incrementing in >= case.
51089 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51090 without decrementing exponent if mantissa >= that for the
51091 denominator, not >.
51092
51093 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51094 computing saturated result for unsigned overflow.
51095
51096 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51097 Jeff Law <law@redhat.com>
51098
51099 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51100 (atan2Mp): Add systemtap probe marker.
51101 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51102 (__ieee754_log): Add systemtap probe marker.
51103 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51104 (atanMp): Add systemtap probe marker.
51105 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51106 (tanMp): Add systemtap probe marker.
51107 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51108 (__slowexp): Add systemtap probe marker.
51109 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51110 (__slowpow): Add systemtap probe marker.
51111 * manual/probes.texi: Document probes.
51112
51113 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51114
51115 [BZ #15362]
51116 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51117 written.
51118 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51119 written.
51120 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51121 written to buffer but not flushed.
51122 * libio/iofwrite_u.c: Likewise.
51123 * libio/iopadn.c: Return bytes returned even if EOF was
51124 encountered.
51125 * libio/iowpadn.c: Likewise.
51126 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51127 if _IO_padn does not write the whole buffer.
51128 [!COMPILE_WPRINTF] (PAD): Likewise.
51129
51130 2013-10-10 David S. Miller <davem@davemloft.net>
51131
51132 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51133 directory block.
51134
51135 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51136
51137 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51138 instead of FSF address.
51139 * soft-fp/fixdfti.c: Likewise.
51140 * soft-fp/fixsfti.c: Likewise.
51141 * soft-fp/fixtfti.c: Likewise.
51142 * soft-fp/fixunsdfti.c: Likewise.
51143 * soft-fp/fixunssfti.c: Likewise.
51144 * soft-fp/fixunstfti.c: Likewise.
51145 * soft-fp/floattidf.c: Likewise.
51146 * soft-fp/floattisf.c: Likewise.
51147 * soft-fp/floattitf.c: Likewise.
51148 * soft-fp/floatuntidf.c: Likewise.
51149 * soft-fp/floatuntisf.c: Likewise.
51150 * soft-fp/floatuntitf.c: Likewise.
51151 * soft-fp/trunctfxf2.c: Likewise.
51152
51153 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51154 * soft-fp/fixdfti.c: Likewise.
51155 * soft-fp/fixsfti.c: Likewise.
51156 * soft-fp/fixtfti.c: Likewise.
51157 * soft-fp/fixunsdfti.c: Likewise.
51158 * soft-fp/fixunssfti.c: Likewise.
51159 * soft-fp/fixunstfti.c: Likewise.
51160 * soft-fp/floattidf.c: Likewise.
51161 * soft-fp/floattisf.c: Likewise.
51162 * soft-fp/floattitf.c: Likewise.
51163 * soft-fp/floatuntidf.c: Likewise.
51164 * soft-fp/floatuntisf.c: Likewise.
51165 * soft-fp/floatuntitf.c: Likewise.
51166 * soft-fp/trunctfxf2.c: Likewise.
51167
51168 2013-10-10 David S. Miller <davem@davemloft.net>
51169
51170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51171
51172 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51173
51174 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51175 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51176 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51177 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51178 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51179 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51180 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51181
51182 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51183 for NaNs before doing comparisons on argument.
51184 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51185 Likewise.
51186
51187 2013-10-10 Will Newton <will.newton@linaro.org>
51188
51189 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51190 passed to _int_memalign does not overflow.
51191
51192 2013-10-10 Torvald Riegel <triegel@redhat.com>
51193
51194 * scripts/bench.pl: Add include-sources directive.
51195 * benchtests/README: Update documentation.
51196
51197 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51198
51199 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51200 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51201 instead of FP_INIT_ROUNDMODE.
51202 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51203 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51204
51205 [BZ #16034]
51206 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51207 copy class of input value.
51208 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51209 not handle exceptions.
51210 * soft-fp/negsf2.c (__negsf2): Likewise.
51211 * soft-fp/negtf2.c (__negtf2): Likewise.
51212 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51213
51214 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51215
51216 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51217 semicolon. From Linux kernel.
51218
51219 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51220
51221 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51222
51223 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51224
51225 [BZ #156]
51226 * manual/socket.texi: Added statement about buffer
51227 for gethostbyname2_r.
51228
51229 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51230
51231 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51232 Use .p2align directive instead, throughout.
51233 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51234 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51235 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51236 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51238 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51239 * sysdeps/x86_64/strchr.S: Likewise.
51240 * sysdeps/x86_64/strrchr.S: Likewise.
51241
51242 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51243
51244 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51245
51246 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51247
51248 * sysdeps/generic/math_private.h (__mpsin1): Remove
51249 declaration.
51250 (__mpcos1): Likewise.
51251 (__mpsin): New argument __range_reduce.
51252 (__mpcos): Likewise.
51253 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51254 (slow): Use __mpsin and __mpcos.
51255 (slow1): Likewise.
51256 (slow2): Likewise.
51257 (sloww): Likewise.
51258 (sloww1): Likewise.
51259 (sloww2): Likewise.
51260 (bsloww): Likewise.
51261 (bsloww1): Likewise.
51262 (bsloww2): Likewise.
51263 (cslow2): Likewise.
51264 (csloww): Likewise.
51265 (csloww1): Likewise.
51266 (csloww2): Likewise.
51267 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51268 range_reduce. Merge in __mpsin1.
51269 (__mpcos): Likewise.
51270 (__mpsin1): Remove.
51271 (__mpcos1): Likewise.
51272
51273 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51274
51275 * locale/loadlocale.c (_nl_intern_locale_data): Use
51276 LOCFILE_ALIGNED_P.
51277 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51278 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51279 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51280 obstack data is appropriately aligned.
51281 (obstack_int32_grow_fast): Likewise.
51282 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51283 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51284 (add_locale_uint32_array): Likewise.
51285
51286 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51287
51288 * benchtests/Makefile: Remove ARGLIST and RET variables.
51289 ($(objpfx)bench-%.c): Pass only function name to the script.
51290 * benchtests/README: Update documentation.
51291 * benchtests/acos-inputs: Add new directives.
51292 * benchtests/acosh-inputs: Likewise.
51293 * benchtests/asin-inputs: Likewise.
51294 * benchtests/asinh-inputs: Likewise.
51295 * benchtests/atan-inputs: Likewise.
51296 * benchtests/atanh-inputs: Likewise.
51297 * benchtests/cos-inputs: Likewise.
51298 * benchtests/cosh-inputs: Likewise.
51299 * benchtests/exp-inputs: Likewise.
51300 * benchtests/log-inputs: Likewise.
51301 * benchtests/pow-inputs: Likewise.
51302 * benchtests/rint-inputs: Likewise.
51303 * benchtests/sin-inputs: Likewise.
51304 * benchtests/sinh-inputs: Likewise.
51305 * benchtests/tan-inputs: Likewise.
51306 * benchtests/tanh-inputs: Likewise.
51307 * scripts/bench.pl: Add support for new directives.
51308
51309 2013-10-07 Alan Modra <amodra@gmail.com>
51310
51311 * README: Fix careless merge.
51312
51313 2013-10-05 Alan Modra <amodra@gmail.com>
51314
51315 * NEWS: Mention powerpc64le support and bugs fixed.
51316 * README: Both big-endian and little-endian powerpc64 supported.
51317
51318 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51319
51320 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51321 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51322 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51323 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51324
51325 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51326
51327 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51328 match prototype.
51329
51330 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51331
51332 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51333 Move -mhard-float appending from
51334 ports/sysdeps/powerpc/powerpc32/Makefile.
51335 [$(with-fp) = yes] (ASFLAGS): Likewise.
51336 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51337 * sysdeps/powerpc/nofpu: Move directory from
51338 ports/sysdeps/powerpc/nofpu.
51339 * sysdeps/powerpc/soft-fp: Move directory from
51340 ports/sysdeps/powerpc/soft-fp.
51341 * sysdeps/powerpc/powerpc32/405: Move directory from
51342 ports/sysdeps/powerpc/powerpc32/405.
51343 * sysdeps/powerpc/powerpc32/440: Move directory from
51344 ports/sysdeps/powerpc/powerpc32/440.
51345 * sysdeps/powerpc/powerpc32/464: Move directory from
51346 ports/sysdeps/powerpc/powerpc32/464.
51347 * sysdeps/powerpc/powerpc32/476: Move directory from
51348 ports/sysdeps/powerpc/powerpc32/476.
51349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51350 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51352 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51359 * README: Update for powerpc-*-linux-gnu software floating point
51360 support in libc.
51361
51362 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51363 case to powerpc/powerpc32*.
51364 * sysdeps/unix/sysv/linux/configure: Regenerated.
51365
51366 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51367 (_FPU_MASK_OM): Define as 0x04.
51368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51370 0x00c10080.
51371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51372 0x0000003c.
51373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51374
51375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51376 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51377 getcontext_e500.
51378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51379 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51380 setcontext_e500.
51381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51382 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51383 and setcontext_e500.
51384
51385 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51386
51387 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51388
51389 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51390
51391 * manual/threads.texi (Default Thread Attributes): Fix typo.
51392
51393 2013-10-04 Will Newton <will.newton@linaro.org>
51394
51395 * malloc/Makefile: Add tst-memalign.
51396 * malloc/tst-memalign.c: New file.
51397
51398 * malloc/tst-posix_memalign.c: Add comments.
51399 (do_test): Add comments and call free on all potentially
51400 allocated pointers. Add space after cast.
51401
51402 * malloc/tst-pvalloc.c: Add comments.
51403 (do_test): Add comments and call free on all potentially
51404 allocated pointers. Remove duplicate check for NULL pointer.
51405 Add space after cast.
51406
51407 * malloc/tst-valloc.c: Add comments.
51408 (do_test): Add comments and call free on all potentially
51409 allocated pointers. Remove duplicate check for NULL pointer.
51410 Add space after cast.
51411
51412 2013-10-04 Alan Modra <amodra@gmail.com>
51413
51414 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51415 Use stdint types in rather than __attribute__((mode())).
51416 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51417
51418 2013-10-04 Alan Modra <amodra@gmail.com>
51419
51420 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51421 Correct handling of unaligned relocs for little-endian.
51422 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51423
51424 2013-10-04 Alan Modra <amodra@gmail.com>
51425
51426 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51427 * configure: Regenerate.
51428 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51429 * shlib-versions: Likewise.
51430
51431 2013-10-04 Alan Modra <amodra@gmail.com>
51432
51433 * string/tester.c (test_memrchr): Increment reported test cycle.
51434
51435 2013-10-04 Alan Modra <amodra@gmail.com>
51436
51437 * string/test-memcpy.c (do_one_test): When reporting errors, print
51438 string address and don't overrun end of string.
51439
51440 2013-10-04 Alan Modra <amodra@gmail.com>
51441
51442 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51443 insrdi. Make better use of reg selection to speed exit slightly.
51444 Schedule entry path a little better. Remove useless "are we done"
51445 checks on entry to main loop. Handle wrapping around zero address.
51446 Correct main loop count. Handle single left-over word from main
51447 loop inline rather than by using loop_small. Remove extra word
51448 case in loop_small caused by wrong loop count. Add little-endian
51449 support.
51450 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51452 cache hint.
51453 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51454 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51455 support. Avoid rlwimi.
51456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51457
51458 2013-10-04 Alan Modra <amodra@gmail.com>
51459
51460 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51461 insrdi. Formatting.
51462 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51463 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51464 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51465 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51466 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51467 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51468
51469 2013-10-04 Alan Modra <amodra@gmail.com>
51470
51471 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51473 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51474 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51475 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51476 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51478 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51479 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51480 use of regs. Use power7 mtocrf. Tidy function tails.
51481
51482 2013-10-04 Alan Modra <amodra@gmail.com>
51483
51484 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51485 Formatting. Consistently use rXXX register defines or rN defines.
51486 Use early exit labels that avoid restoring unused non-volatile regs.
51487 Make cr field use more consistent with rWORDn compares. Rename
51488 regs used as shift registers for unaligned loop, using rN defines
51489 for short lifetime/multiple use regs.
51490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51491 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51492 addi 1,1,64 to pop stack frame. Simplify return value code.
51493 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51494
51495 2013-10-04 Alan Modra <amodra@gmail.com>
51496
51497 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51498 support. Correct typos, formatting. Optimize tail. Use insrdi
51499 rather than rlwimi.
51500 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51501 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51502 little-endian support. Correct typos.
51503 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51504 rather than rlwimi.
51505 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51506 in loop and entry code to keep "and." results.
51507 (strchr): Add little-endian support. Comment. Move cntlzd
51508 earlier in tail.
51509 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51510
51511 2013-10-04 Alan Modra <amodra@gmail.com>
51512
51513 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51514 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51515 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51516 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51517
51518 2013-10-04 Alan Modra <amodra@gmail.com>
51519
51520 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51521 (rTMP): Define as r11.
51522 (strcmp): Add little-endian support. Optimise tail.
51523 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51524 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51525 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51527 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51529 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51530
51531 2013-10-04 Alan Modra <amodra@gmail.com>
51532
51533 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51534 little-endian support. Remove unnecessary "are we done" tests.
51535 Handle "s" wrapping around zero and extremely large "size".
51536 Correct main loop count. Handle single left-over word from main
51537 loop inline rather than by using small_loop. Correct comments.
51538 Delete "zero" tail, use "end_max" instead.
51539 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51540
51541 2013-10-04 Alan Modra <amodra@gmail.com>
51542
51543 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51544 support. Don't branch over align.
51545 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51546 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51547 support. Rearrange tmp reg use to suit. Comment.
51548 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51549
51550 2013-10-04 Alan Modra <amodra@gmail.com>
51551
51552 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51553
51554 2013-10-04 Alan Modra <amodra@gmail.com>
51555
51556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51557 conditional form of branch and link when obtaining pc.
51558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51559
51560 2013-10-04 Alan Modra <amodra@gmail.com>
51561
51562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51563 HIWORD/LOWORD.
51564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51566
51567 2013-10-04 Alan Modra <amodra@gmail.com>
51568
51569 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51570 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51571 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51572 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51573 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51574 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51575 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51576 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51577 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51578 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51579
51580 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51581 Alistair Popple <alistair@ozlabs.au.ibm.com>
51582 Alan Modra <amodra@gmail.com>
51583
51584 [BZ #15723]
51585 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51586 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51587 _dl_hwcap access for little-endian.
51588 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51589 destroy vmx regs when saving unaligned.
51590 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51591 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51592 destroy vmx regs when saving unaligned.
51593
51594 2013-10-04 Alan Modra <amodra@gmail.com>
51595
51596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51597 Don't use a union to pack hi/low value.
51598
51599 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51600
51601 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51602 for little-endian.
51603 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51604 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51605 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51606 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51607 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51608
51609 2013-10-04 Alan Modra <amodra@gmail.com>
51610
51611 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51612 constants to usual value for .cst8 section, and remove redundant
51613 high address load.
51614 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51615 constant for 0x1p52. Load little-endian words of double from
51616 correct stack offsets.
51617
51618 2013-10-04 Alan Modra <amodra@gmail.com>
51619
51620 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51621 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51622 words of double from correct stack offsets.
51623 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51624 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51625 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51627 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51629 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51630 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51631 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51635 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51636 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51637 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51638 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51639 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51640
51641 2013-10-04 Alan Modra <amodra@gmail.com>
51642
51643 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51644 64-bit int/double union.
51645 (_FPU_SETCW): Likewise.
51646 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51647 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51648
51649 2013-10-04 Alan Modra <amodra@gmail.com>
51650
51651 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51652 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51653
51654 2013-10-04 Alan Modra <amodra@gmail.com>
51655
51656 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51657 use vector int constants.
51658 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51659
51660 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51661
51662 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51663 array with long long.
51664 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51665 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51666 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51667 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51668 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51669 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51670 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51671 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51672 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51673 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51674 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51675 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51676 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51677
51678 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51679
51680 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51681 (__signbit): Likewise. Correct for little-endian.
51682 (__signbitl): Call __signbit.
51683 (lrint): Correct for little-endian.
51684 (lrintf): Call lrint.
51685
51686 2013-10-04 Alan Modra <amodra@gmail.com>
51687
51688 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51689 union 32-bit int array member with 64-bit int array.
51690 (t515, tm256): Double rather than long double.
51691 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51692
51693 2013-10-04 Alan Modra <amodra@gmail.com>
51694
51695 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51696 Delete.
51697 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51698 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51699 version of math_ldbl.h.
51700
51701 2013-10-04 Alan Modra <amodra@gmail.com>
51702
51703 [BZ #15734], [BZ #15735]
51704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51705 all uses of ieee875 long double macros and unions. Simplify test
51706 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51707 ldbl_extract_mantissa value for ix,iy exponents. Properly
51708 normalize after ldbl_extract_mantissa, and don't add hidden bit
51709 already handled. Don't treat low word of ieee854 mantissa like
51710 low word of IBM long double and mask off bit when testing for
51711 zero.
51712 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51713 all uses of ieee875 long double macros and unions. Simplify tests
51714 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51715 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51716 two1022, instead use their values. Recognise that tests for large
51717 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51718 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51719 Rewrite all uses of ieee875 long double macros and unions. Simplify
51720 test for 0.0L and nan. Correct negation.
51721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51722 ieee875 long double macros and unions. Correct output for large
51723 magnitude x. Correct absolute value calculation.
51724 (__erfcl): Likewise.
51725 * math/libm-test.inc: Add tests for errors discovered in IBM long
51726 double versions of fmodl, remainderl, erfl and erfcl.
51727
51728 2013-10-04 Alan Modra <amodra@gmail.com>
51729
51730 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51731 all uses of ieee854 long double macros and unions. Simplify tests
51732 for long doubles that are fully specified by the high double.
51733 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51734 Likewise.
51735 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51736 Remove dead code too.
51737 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51738 (__ieee754_ynl): Likewise.
51739 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51740 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51742 Remove dead code too.
51743 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51744 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51745 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51746 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51747 Simplify.
51748 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51749 Simplify.
51750 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51751 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51752 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51753 Comment on variable precision.
51754 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51755 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51756 Likewise.
51757 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51758 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51759 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51760 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51761 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51762
51763 2013-10-04 Alan Modra <amodra@gmail.com>
51764
51765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51767 all uses of ieee854 long double macros and unions.
51768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51772 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51773 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51774 Likewise.
51775 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51776 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51777 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51778 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51779 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51780 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51781 Simplify sign and nan test too.
51782 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51784 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51785 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51786 Likewise.
51787 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51788 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51789 Likewise.
51790 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51791 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51792 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51793 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51795 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51796
51797 2013-10-04 Alan Modra <amodra@gmail.com>
51798
51799 * stdio-common/printf_size.c (__printf_size): Don't use
51800 union ieee854_long_double in fpnum union.
51801 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51802 signbit macro to retrieve sign from long double.
51803 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51804 retrieve sign from long double.
51805 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51806 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51807 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51808 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51809 * math/test-misc.c (main): Don't use union ieee854_long_double.
51810
51811 2013-10-04 Alan Modra <amodra@gmail.com>
51812
51813 [BZ #15680]
51814 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51815 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51816 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51817 calculation. Remove unnecessary test for denormal exponent.
51818 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51819 Correct handling of denormals. Avoid undefined shift behaviour.
51820 Correct normalisation of low mantissa when low double is denormal.
51821 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51822 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51823 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51824 Correct normalisation of low mantissa. Test for overflow of high
51825 mantissa and normalise.
51826 (ldbl_nearbyint): Use more readable constant for two52.
51827 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51828 (__mpn_construct_long_double): Fix test for overflow of high
51829 mantissa and correct normalisation. Avoid undefined shift.
51830
51831 2013-10-04 Alan Modra <amodra@gmail.com>
51832
51833 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51834 (union ibm_extended_long_double): Define as an array of ieee754_double.
51835 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51836 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51837 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51838 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51840 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51842 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51843 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51844 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51845 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51846
51847 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51848
51849 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51850 page size instead of calling getpagesize.
51851
51852 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51853 (LOCFILE_ALIGN_MASK): Likewise.
51854 (LOCFILE_ALIGN_UP): Likewise.
51855 (LOCFILE_ALIGNED_P): Likewise.
51856 * locale/programs/ld-collate.c (collate_output): Use the new
51857 macros instead of __alignof__ (int32_t).
51858 * locale/weight.h (findidx): Likewise.
51859
51860 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51861
51862 [BZ #431]
51863 * manual/string.texi: Fix strncat and wcsncat.
51864
51865 2013-10-03 Brooks Moses <bmoses@google.com>
51866
51867 [BZ #15915]
51868 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51869 * Makerules: ...here, and adjust associated comments.
51870
51871 2013-10-02 Will Newton <will.newton@linaro.org>
51872
51873 * malloc/Makefile: Add tst-pvalloc.
51874 * malloc/tst-pvalloc.c: New file.
51875
51876 2013-10-02 Will Newton <will.newton@linaro.org>
51877
51878 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51879 improve test coverage.
51880
51881 2013-10-02 Will Newton <will.newton@linaro.org>
51882
51883 * malloc/Makefile: Add tst-posix_memalign.
51884 * malloc/tst-posix_memalign.c: New file.
51885
51886 2013-10-01 Eric Blake <eblake@redhat.com>
51887
51888 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51889 Use __THROWNL rather than __THROW on static functions.
51890
51891 2013-09-30 Petr Machata <pmachata@redhat.com>
51892
51893 * elf/elf.h (R_AARCH64_ABS16): New macro.
51894 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51895 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51896 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51897 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51898 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51899 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51900 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51901 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51902 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51903 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51904 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51905 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51906 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51907 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51908 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51909 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51910 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51911 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51912 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51913 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51914 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51915 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51916 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51917 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51918 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51919 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51920 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51921 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51922 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51923 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51924 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51925 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51926 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51927 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51928 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51929 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51930 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51931 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51932 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51933 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51934 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51935 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51936 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51937 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51938 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51939 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51940 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51941 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51942 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51943 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51944 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51945 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51946 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51947 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51948 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51949 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51950 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51951 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51952 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51953 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51954 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51955 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51956 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51957 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51958 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51959 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51960 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51961 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51962 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51963 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51964 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51965 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51966 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51967 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51968 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51969 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51970 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51971 (R_AARCH64_TLSDESC_LDR): Likewise.
51972 (R_AARCH64_TLSDESC_ADD): Likewise.
51973 (R_AARCH64_TLSDESC_CALL): Likewise.
51974
51975 2013-09-30 Andreas Schwab <schwab@suse.de>
51976
51977 [BZ #15048]
51978 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51979 the nss database lookup.
51980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51981 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51982
51983 2013-09-28 Mike Frysinger <vapier@gentoo.org>
51984
51985 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51986
51987 2013-09-28 P. J. McDermott <pj@pehjota.net>
51988
51989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51990 ${Bash-specific parameter/pattern/string} parameter expansion.
51991 * sysdeps/unix/make-syscalls.sh: Likewise.
51992
51993 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51994
51995 * sysdeps/sh/stackguard-macros.h: New file.
51996
51997 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
51998
51999 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52001 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52002 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52003 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52004 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52005
52006 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52007
52008 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52009 Fix thread ID register.
52010
52011 2013-09-25 Joseph Myers <joseph@codesourcery.com>
52012
52013 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52014 [POSIX || UNIX98]: Require rather than permitting all symbols from
52015 <time.h>.
52016 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52017 element of struct sched_param.
52018 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52019 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52020 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52021 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52022 constant.
52023
52024 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
52025
52026 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52027 argument calculation.
52028
52029 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52030
52031 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52032 Expect macro.
52033 [POSIX] (pthread_attr_t): Do not require type.
52034 [POSIX] (pthread_cond_t): Likewise.
52035 [POSIX] (pthread_condattr_t): Likewise.
52036 [POSIX] (pthread_key_t): Likewise.
52037 [POSIX] (pthread_mutex_t): Likewise.
52038 [POSIX] (pthread_mutexattr_t): Likewise.
52039 [POSIX] (pthread_once_t): Likewise.
52040 [POSIX] (pthread_t): Likewise.
52041 [POSIX-based standards] (pthread_atfork): Expect function.
52042
52043 2013-09-24 Joseph Myers <joseph@codesourcery.com>
52044 Richard Sandiford <richard@codesourcery.com>
52045
52046 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52047 (swap_endianness_p): New extern variable.
52048 (set_big_endian): New inline function.
52049 (maybe_swap_uint32): Likewise.
52050 (maybe_swap_uint32_array): Likewise.
52051 (maybe_swap_uint32_obstack): Likewise.
52052 * locale/programs/locfile.c: Include <stdbool.h>.
52053 (swap_endianness_p): New variable.
52054 (add_locale_uint32): Call maybe_swap_uint32.
52055 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52056 (write_locale_data): Call maybe_swap_uint32_array.
52057 * locale/programs/ld-collate.c (obstack_int32_grow): Call
52058 maybe_swap_uint32.
52059 (obstack_int32_grow_fast): Likewise.
52060 (output_weightwc): Call maybe_swap_uint32_obstack.
52061 (collate_output): Likewise.
52062 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52063 (OPT_LITTLE_ENDIAN): Likewise.
52064 (options): Add --little-endian and --big-endian options.
52065 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52066 * locale/programs/locarchive.c: Include "locfile.h".
52067 (GET): New macro.
52068 (SET): Likewise.
52069 (INC): Likewise.
52070 (create_archive): Use the new macros to access fields of
52071 structures directly mapped from or written to locale archives.
52072 (oldlocrecentcmp): Likewise.
52073 (enlarge_archive): Likewise.
52074 (insert_name): Likewise.
52075 (add_alias): Likewise.
52076 (add_locale): Likewise.
52077 (delete_locales_from_archive): Likewise.
52078 (show_archive_content): Likewise.
52079 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
52080 locale data.
52081
52082 2013-09-24 Roland McGrath <roland@hack.frob.com>
52083
52084 * manual/freemanuals.texi: Updated from (newly) canonical copy at
52085 http://www.gnu.org/doc/freemanuals.texi.
52086 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52087
52088 2013-09-24 Will Newton <will.newton@linaro.org>
52089
52090 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52091 macro.
52092
52093 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52094
52095 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52096 unsigned char.
52097
52098 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52099
52100 * manual/threads.texi (POSIX Threads): Fix a typo.
52101
52102 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52103
52104 [BZ #14547]
52105 * string/tst-strcoll-overflow.c: New test case.
52106 * string/Makefile (xtests): Add tst-strcoll-overflow.
52107 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52108 cache if string sizes may cause integer overflow.
52109
52110 [BZ #14547]
52111 * string/strcoll_l.c (coll_seq): New members rule, idx,
52112 save_idx and back_us.
52113 (get_next_seq_nocache): New function.
52114 (do_compare_nocache): New function.
52115 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52116 when malloc fails.
52117
52118 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52119
52120 [BZ #15754]
52121 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52122 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52123 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52124
52125 [BZ #15754]
52126 * elf/Makefile (tests): Add tst-ptrguard1.
52127 (tests-static): Add tst-ptrguard1-static.
52128 (tst-ptrguard1-ARGS): Define.
52129 (tst-ptrguard1-static-ARGS): Define.
52130 * elf/tst-ptrguard1.c: New file.
52131 * elf/tst-ptrguard1-static.c: New file.
52132 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52133 * sysdeps/i386/stackguard-macros.h: Likewise.
52134 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52135 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52136 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52137 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52138 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52139 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52140
52141 2013-09-23 Hector Marco <hecmargi@upv.es>
52142 Ismael Ripoll <iripoll@disca.upv.es>
52143 Carlos O'Donell <carlos@redhat.com>
52144
52145 [BZ #15754]
52146 * sysdeps/generic/stackguard-macros.h: Define
52147 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52148 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52149 Define __pointer_chk_guard_local.
52150 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52151 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52152
52153 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52154
52155 [BZ #15859]
52156 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52157
52158 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52159
52160 * include/string.h (__ffs): Declare as hidden.
52161 * string/ffs.c (__ffs): Define as hidden.
52162 * sysdeps/i386/ffs.c (__ffs): Likewise.
52163 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52164 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52165 * sysdeps/s390/ffs.c (__ffs): Likewise.
52166 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52167
52168 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52169
52170 * NEWS: Mention malloc probes.
52171
52172 * malloc/arena.c (new_heap): New memory_heap_new probe.
52173 (grow_heap): New memory_heap_more probe.
52174 (shrink_heap): New memory_heap_less probe.
52175 (heap_trim): New memory_heap_free probe.
52176 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52177 (systrim): New memory_sbrk_less probe.
52178 * manual/probes.texi: Document them.
52179
52180 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52181 * manual/probes.texi: Document it.
52182
52183 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52184 (__libc_realloc): Add memory_realloc_retry probe.
52185 (__libc_memalign): Add memory_memalign_retry probe.
52186 (__libc_valloc): Add memory_valloc_retry probe.
52187 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52188 (__libc_calloc): Add memory_calloc_retry probe.
52189 * manual/probes.texi: Document them.
52190
52191 * malloc/arena.c (get_free_list): Add probe
52192 memory_arena_reuse_free_list.
52193 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52194 and memory_arena_reuse.
52195 (arena_get2) [!PER_THREAD]: Likewise.
52196 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52197 memory_arena_reuse_realloc.
52198 * manual/probes.texi: Document them.
52199
52200 * malloc/malloc.c (__libc_free): Add
52201 memory_mallopt_free_dyn_thresholds probe.
52202 (__libc_mallopt): Add multiple memory_mallopt probes.
52203 * manual/probes.texi: Document them.
52204
52205 * malloc/malloc.c: Include stap-probe.h.
52206 (__libc_mallopt): Add memory_mallopt probe.
52207 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52208 * manual/probes.texi: New.
52209 * manual/Makefile (chapters): Add probes.
52210 * manual/threads.texi: Set next node.
52211
52212 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52213
52214 [BZ #15963, #13985]
52215 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52216 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52217 Add `Chinese' to `nan' entry name.
52218
52219 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52220
52221 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52222 (POLYNOMIAL): Likewise.
52223 (TAYLOR_SINCOS): Likewise.
52224 (TAYLOR_SLOW): Likewise.
52225 (__sin): Use TAYLOR_SINCOS.
52226 (__cos): Likewise.
52227 (slow): Use TAYLOR_SLOW.
52228 (sloww): Likewise.
52229 (bsloww): Likewise.
52230 (csloww): Likewise.
52231
52232 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52233
52234 * stdlib/strtod_l.c: Fix buffer overrun.
52235
52236 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52237
52238 * benchtests/Makefile (bench): Add sincos.
52239 * benchtests/bench-sincos.c: New file.
52240
52241 * math/libm-test.inc (cos_test_data): New test inputs.
52242 (sin_test_data): Likewise.
52243
52244 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52245 macro.
52246 (__sin): Use it.
52247 (__cos): Likewise.
52248 (slow1): Likewise.
52249 (slow2): Likewise.
52250 (sloww1): Likewise.
52251 (sloww2): Likewise.
52252 (bsloww1): Likewise.
52253 (bsloww2): Likewise.
52254 (cslow2): Likewise.
52255 (csloww1): Likewise.
52256 (csloww2): Likewise.
52257
52258 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52259 function.
52260 (__sin): Use it.
52261 (__cos): Likewise.
52262
52263 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52264 gotos.
52265 (__cos): Likewise.
52266
52267 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52268
52269 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52270 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52271 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52272 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52273 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52274 * elf/cache.c (print_entry): Handle the new cache flags.
52275
52276 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52277 Aldy Hernandez <aldyh@redhat.com>
52278
52279 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52280 Change condition to [_SOFT_FLOAT].
52281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52293 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52296 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52297 declaration.
52298
52299 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52300
52301 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52302 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52303 (__longjmp): Use LOAD_GP to load saved GPRs.
52304 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52305 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52306 (__sigsetjmp): Use SAVE_GP to save GPRs.
52307
52308 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52309 Do not append -msoft-float.
52310 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52311
52312 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52313
52314 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52315
52316 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52317
52318 [BZ #15966]
52319 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52320 (_FPU_GETCW): Use initial "__" on variable and field names but not
52321 on macro parameter name.
52322 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52323 parentheses around reference to macro parameter.
52324
52325 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52326
52327 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52328 prototype.
52329 (ctype_startup): Use uint32_t in cast and sizeof for
52330 ctype->charnames.
52331
52332 2013-09-11 Jia Liu <proljc@gmail.com>
52333
52334 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52335 __daddr_t_defined.
52336 [__FreeBSD__]: Likewise.
52337
52338 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52339
52340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52341 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52342 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52343 (strchr): Remove __strchr_sse42 ifunc selection.
52344 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52345 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52346
52347 2013-09-11 Will Newton <will.newton@linaro.org>
52348
52349 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52350 parameter to RES. Remove hardcoded 1000 value.
52351 * benchtests/bench-skeleton.c (main): Pass RES parameter
52352 to TIMING_INIT and multiply result by 1000.
52353
52354 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52355
52356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52357
52358 2013-09-11 Andreas Schwab <schwab@suse.de>
52359
52360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52361 if not defined.
52362 (O_TMPFILE) [__USE_GNU]: Define.
52363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52364 Define.
52365
52366 2013-09-11 Will Newton <will.newton@linaro.org>
52367
52368 [BZ #15857]
52369 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52370 does not overflow.
52371
52372 2013-09-11 Will Newton <will.newton@linaro.org>
52373
52374 [BZ #15856]
52375 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52376 does not overflow.
52377
52378 2013-09-11 Will Newton <will.newton@linaro.org>
52379
52380 [BZ #15855]
52381 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52382 does not overflow.
52383
52384 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52385
52386 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52387 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52388 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52389 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52391
52392 2013-09-10 Allan McRae <allan@archlinux.org>
52393
52394 [BZ #15748]
52395 * manual/arith.texi (Parsing of Floats): Clarify
52396 cross-reference.
52397
52398 [BZ #15849]
52399 * manual/install.texi (Running make install): Mention
52400 --enable-pt-chown.
52401 * INSTALL: Regenerated.
52402
52403 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52404
52405 * csu/init-first.c (_init): Remove the !SHARED condition around
52406 FPU control word initialization.
52407 * elf/dl-support.c (_dl_fpu_control): New variable.
52408 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52409 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52410 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52411 * math/test-fpucw-static.c: New file.
52412 * math/test-fpucw-ieee.c: New file.
52413 * math/test-fpucw-ieee-static.c: New file.
52414 * math/Makefile (tests): Add `test-fpucw-ieee' and
52415 `$(tests-static)'.
52416 (tests-static): New variable.
52417 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52418 dependency to...
52419 [($(build-shared),yes)]
52420 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52421 ... this.
52422 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52423 New dependency.
52424
52425 2013-09-09 Allan McRae <allan@archlinux.org>
52426
52427 [BZ #15939]
52428 * manual/string.texi (Collation Functions): Fix typo in
52429 strcoll example.
52430 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52431
52432 [BZ #15893]
52433 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52434
52435 [BZ #15892]
52436 * libio/memstream.c (open_memstream): Fix memory leak.
52437 * libio/wmemstream.c (open_wmemstream): Likewise.
52438
52439 [BZ #15895]
52440 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52441
52442 2013-09-09 Will Newton <will.newton@linaro.org>
52443
52444 * malloc/Makefile: Add tst-realloc to tests.
52445 * malloc/tst-realloc.c: New file.
52446
52447 2013-09-09 Allan McRae <allan@archlinux.org>
52448
52449 [BZ #15844]
52450 * COPYING: Update from GNU website to fix FSF address.
52451 * COPYING.LIB: Likewise.
52452
52453 2013-09-06 David S. Miller <davem@davemloft.net>
52454
52455 * po/zh_TW.po: Update Chinese (traditional) translation from
52456 translation project.
52457
52458 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52459 Joseph Myers <joseph@codesourcery.com>
52460
52461 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52462 "localeinfo.h".
52463 (obstack_chunk_alloc): New macro.
52464 (obstack_chunk_free): Likewise.
52465 (record_offset): New function.
52466 (init_locale_data): Likewise.
52467 (align_locale_data): Likewise.
52468 (add_locale_empty): Likewise.
52469 (add_locale_raw_data): Likewise.
52470 (add_locale_raw_obstack): Likewise.
52471 (add_locale_string): Likewise.
52472 (add_locale_wstring): Likewise.
52473 (add_locale_uint32): Likewise.
52474 (add_locale_uint32_array): Likewise.
52475 (add_locale_char): Likewise.
52476 (start_locale_structure): Likewise.
52477 (end_locale_structure): Likewise.
52478 (start_locale_prelude): Likewise.
52479 (end_locale_prelude): Likewise.
52480 (write_locale_data): Take locale_file structure rather than an
52481 iovec.
52482 * locale/programs/locfile.h: Include "obstack.h".
52483 (struct locale_file): Change to store locale file contents instead
52484 of header.
52485 (init_locale_data): New prototype.
52486 (align_locale_data): Likewise.
52487 (add_locale_empty): Likewise.
52488 (add_locale_raw_data): Likewise.
52489 (add_locale_raw_obstack): Likewise.
52490 (add_locale_string): Likewise.
52491 (add_locale_wstring): Likewise.
52492 (add_locale_uint32): Likewise.
52493 (add_locale_uint32_array): Likewise.
52494 (add_locale_char): Likewise.
52495 (start_locale_structure): Likewise.
52496 (end_locale_structure): Likewise.
52497 (start_locale_prelude): Likewise.
52498 (end_locale_prelude): Likewise.
52499 (write_locale_data): Update prototype.
52500 * locale/programs/3level.h (struct TABLE): Remove result field.
52501 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52502 Use new locale_file interface.
52503 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52504 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52505 * locale/programs/ld-address.c (address_output): Use new
52506 locale_file interface.
52507 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52508 NO_ADD_LOCALE.
52509 (collate_finish): Don't call collseq_table_finalize.
52510 (collate_output): Use new locale_file interface.
52511 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52512 in file.
52513 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52514 (TABLE): Move defines earlier in file.
52515 (ELEMENT): Likewise.
52516 (DEFAULT): Likewise.
52517 (wctrans_table_add): Move macro and inline function earlier in
52518 file.
52519 (struct wctype_table): Move type earlier in file.
52520 (add_locale_wctype_table): New static prototype.
52521 (struct locale_ctype_t): Use logical types instead of struct iovec
52522 pointers for members.
52523 (ctype_output): Use new locale_file interface.
52524 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52525 new locale_file interface.
52526 (allocate_arrays): Update for use of new locale_file interface.
52527 * locale/programs/ld-identification.c (identification_output): Use
52528 new locale_file interface.
52529 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52530 * locale/programs/ld-messages.c (messages_output): Likewise.
52531 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52532 * locale/programs/ld-name.c (name_output): Likewise.
52533 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52534 * locale/programs/ld-paper.c (paper_output): Likewise.
52535 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52536 * locale/programs/ld-time.c (time_output): Likewise.
52537
52538 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52539
52540 * benchtests/Makefile: Add memrchr benchmark.
52541 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52542 benchmark as memrchr.
52543 * benchtests/bench-memrchr-ifunc.c: New file.
52544 * benchtests/bench-memrchr.c: New file.
52545
52546 2013-09-06 Will Newton <will.newton@linaro.org>
52547
52548 * benchtests/Makefile (string-bench): Add memcpy.
52549
52550 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52551 Cong Wang <amwang@redhat.com>
52552
52553 [BZ #15850]
52554 * sysdeps/unix/sysv/linux/bits/in.h
52555 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52556 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52557 before __USE_KERNEL_IPV6_DEFS uses.
52558 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52559 IPPROTO_BEETPH.
52560 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52561 sockaddr_in6, or ipv6_mreq.
52562
52563 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52564
52565 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52566 memory access for final bytes in some large inputs.
52567 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52568
52569 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52570
52571 * string/test-memrchr.c: New file.
52572 * string/test-memrchr-ifunc.c: New file.
52573 * string/Makefile: Add new memrchr testcase.
52574
52575 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52576
52577 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52578 fanotify_init returns EPERM.
52579
52580 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52581
52582 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52583 errors.
52584 (top level): Treat second token from macro or constant entries for
52585 allowed headers as allowed.
52586 * include/complex.h: Condition internal declarations on
52587 [!_ISOMAC].
52588 * include/fenv.h: Condition include of <stdbool.h> and internal
52589 declarations on [!_ISOMAC].
52590
52591 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52592
52593 [BZ #15923]
52594 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52595
52596 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52597
52598 * configure.in (--enable-versioning): Remove configure option.
52599 (libc_cv_asm_symver_directive): Remove configure test.
52600 (libc_cv_ld_version_script_option): Likewise.
52601 (VERSIONING): Remove variable and AC_SUBST.
52602 (DO_VERSIONING): Remove AC_DEFINE.
52603 * configure: Regenerated.
52604 * config.h.in (DO_VERSIONING): Remove macro.
52605 * Makerules [$(versioning) = yes]: Change conditionals to
52606 [$(build-shared) = yes].
52607 * config.make.in (versioning): Remove variable.
52608 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52609 [$(build-shared) = yes].
52610 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52611 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52612 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52613 [$(build-shared) = yes].
52614 * extra-lib.mk [$(versioning) = yes]: Likewise.
52615 * hurd/Makefile [$(versioning) = yes]: Likewise.
52616 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52617 [SHARED].
52618 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52619 [SHARED].
52620 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52621 [SHARED && !NO_HIDDEN].
52622 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52623 [SHARED].
52624 [SHARED && DO_VERSIONING]: Likewise..
52625 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52626 [$(build-shared) = yes].
52627 * manual/install.texi (--disable-versioning): Remove
52628 documentation.
52629 * INSTALL: Regenerated.
52630 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52631 to [SHARED].
52632 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52633 [$(build-shared) = yes].
52634 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52635 * sysdeps/i386/i686/multiarch/strstr-c.c
52636 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52637 [SHARED && !NO_HIDDEN].
52638 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52639 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52640 * sysdeps/powerpc/powerpc32/dl-machine.c
52641 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52642 * sysdeps/powerpc/powerpc32/sysdep.h
52643 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52644 to [SHARED && PIC && !NO_HIDDEN].
52645 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52646 conditional to [SHARED].
52647
52648 2013-09-04 Will Newton <will.newton@linaro.org>
52649
52650 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52651 * benchtests/bench-string.h: Include bench-timing.h instead
52652 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52653 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52654 call to HP_TIMING_DIFF_INIT.
52655 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52656 instead of hp-timing.h macros.
52657 * benchtests/bench-memchr.c: Likewise.
52658 * benchtests/bench-memcmp.c: Likewise.
52659 * benchtests/bench-memcpy.c: Likewise.
52660 * benchtests/bench-memmem.c: Likewise.
52661 * benchtests/bench-memmove.c: Likewise.
52662 * benchtests/bench-memset.c: Likewise.
52663 * benchtests/bench-rawmemchr.c: Likewise.
52664 * benchtests/bench-strcasecmp.c: Likewise.
52665 * benchtests/bench-strcasestr.c: Likewise.
52666 * benchtests/bench-strcat.c: Likewise.
52667 * benchtests/bench-strchr.c: Likewise.
52668 * benchtests/bench-strcmp.c: Likewise.
52669 * benchtests/bench-strcpy.c: Likewise.
52670 * benchtests/bench-strcpy_chk.c: Likewise.
52671 * benchtests/bench-strlen.c: Likewise.
52672 * benchtests/bench-strncasecmp.c: Likewise.
52673 * benchtests/bench-strncat.c: Likewise.
52674 * benchtests/bench-strncmp.c: Likewise.
52675 * benchtests/bench-strncpy.c: Likewise.
52676 * benchtests/bench-strnlen.c: Likewise.
52677 * benchtests/bench-strpbrk.c: Likewise.
52678 * benchtests/bench-strrchr.c: Likewise.
52679 * benchtests/bench-strspn.c: Likewise.
52680 * benchtests/bench-strstr.c: Likewise.
52681
52682 2013-09-04 Will Newton <will.newton@linaro.org>
52683
52684 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52685
52686 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52687
52688 [BZ #15427]
52689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52690 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52691 * math/libm-test.inc (lgamma_test_data): Add more tests.
52692 * sysdeps/i386/fpu/libm-test-ulps: Update.
52693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52694
52695 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52696
52697 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52698 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52699 Add ifunc.
52700 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52701 Add strcmp-sse2-unaligned
52702 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52703
52704 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52705
52706 * Versions.def (libc): Add GLIBC_2.19.
52707
52708 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52709
52710 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52711 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52712
52713 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52714
52715 [BZ #14155]
52716 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52717 intermediate calculations in recurrence.
52718 (__ieee754_ynf): Likewise.
52719 * math/libm-test.inc (jn_test_data): Do not allow spurious
52720 underflow exception. Add more tests.
52721 (yn_test_data): Add more tests.
52722 * sysdeps/i386/fpu/libm-test-ulps: Update.
52723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52724
52725 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52726
52727 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52728
52729 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52730
52731 * csu/init-first.c: Fix then/than typos.
52732 * locale/programs/ld-collate.c: Likewise.
52733 * locale/programs/linereader.h: Likewise.
52734 * manual/charset.texi: Likewise.
52735 * manual/filesys.texi: Likewise.
52736 * manual/stdio.texi: Likewise.
52737 * manual/string.texi: Likewise.
52738 * stdlib/fmtmsg.c: Likewise.
52739 * sysdeps/i386/stpncpy.S: Likewise.
52740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52741 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52742 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52743 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52744
52745 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52746
52747 * elf/dl-open.c: Fix typos.
52748 * iconvdata/gbbig5.c: Likewise.
52749 * iconvdata/iso-2022-jp.c: Likewise.
52750 * iconv/gconv_int.h: Likewise.
52751 * iconv/loop.c: Likewise.
52752 * nis/rpcsvc/nis.h: Likewise.
52753 * resolv/ns_name.c: Likewise.
52754 * stdio-common/vfscanf.c: Likewise.
52755 * streams/stropts.h: Likewise.
52756 * sunrpc/rpc_thread.c: Likewise.
52757 * sysdeps/i386/strpbrk.S: Likewise.
52758 * sysdeps/ieee754/k_standard.c: Likewise.
52759 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52761 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52762 * sysdeps/mach/hurd/profil.c: Likewise.
52763 * sysdeps/s390/dl-procinfo.h: Likewise.
52764 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52765 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52766 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52767 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52768 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52769
52770 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52771
52772 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52773 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52774
52775 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52776
52777 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52778 aix specific files.
52779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52782 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52783 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52784 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52785 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52786 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52787
52788 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52789 Roland McGrath <roland@hack.frob.com>
52790
52791 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52792 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52793
52794 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52795
52796 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52797 __executable_start symbol instead of _start.
52798
52799 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52800
52801 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52802 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52803 Move macros to...
52804 * sysdeps/gnu/ldsodefs.h: ... this new file.
52805
52806 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52807 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52808 instead of ELFOSABI_LINUX.
52809
52810 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52811 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52812 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52813 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52814 Likewise.
52815 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52816 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52817 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52818 Likewise.
52819 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52820 (ibm_extended_long_double): Add ieee_nan member.
52821 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52822 (do_test): New function.
52823
52824 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52825 TEST_TRUNC.
52826 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52827 functions, renamed from truncdfsf_test, trunctfsf_test,
52828 trunctfdf_test.
52829 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52830 functions.
52831 (do_test): Run all these.
52832
52833 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52834
52835 * argp/argp-help.c: Fix typos.
52836 * argp/argp-parse.c: Likewise.
52837 * debug/backtracesyms.c: Likewise.
52838 * elf/elf.h: Likewise.
52839 * malloc/malloc.c: Likewise.
52840 * nis/nis_print.c: Likewise.
52841 * resolv/res_comp.c: Likewise.
52842 * stdlib/stdlib.h: Likewise.
52843 * sunrpc/clnt_tcp.c: Likewise.
52844 * sunrpc/clnt_udp.c: Likewise.
52845 * sunrpc/clnt_unix.c: Likewise.
52846 * sysdeps/unix/bsd/ptsname.c: Likewise.
52847 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52848 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52850 Likewise.
52851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52852 Likewise.
52853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52854 Likewise.
52855 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52856
52857 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52858
52859 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52861
52862 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52863
52864 [BZ #15897]
52865 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52866 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52867 ($(objpfx)bug-dl-leaf): New rule.
52868 ($(objpfx)bug-dl-leaf.so): Likewise.
52869 ($(objpfx)bug-dl-leaf.out): Likewise.
52870 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52871 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52872 * dlfcn/bug-dl-leaf.c: New test.
52873 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52874 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52875 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52876 (dlclose): Likewise.
52877 (dlmopen): Likewise.
52878
52879 2013-08-27 Roland McGrath <roland@hack.frob.com>
52880
52881 * include/netdb.h [!_ISOMAC]:
52882 Don't include <tls.h>.
52883 (h_errno, __libc_h_errno): Move declaration and macros out of
52884 [_LIBC_REENTRANT].
52885
52886 * include/resolv.h [_RESOLV_H_]:
52887 Don't include <tls.h>.
52888 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52889 * resolv/res_libc.c: Don't include <tls.h>.
52890 (_res): Use __attribute__ ((nocommon)) in place of
52891 __attribute__ ((section (".bss"))).
52892
52893 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52894 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52895
52896 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52897
52898 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52899 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52900
52901 * resolv/res_mkquery.c: Include <sys/time.h>.
52902
52903 * inet/ifreq.c: Moved to ...
52904 * sysdeps/unix/ifreq.c: ... here.
52905 * inet/ifreq.c: New file, true stub version.
52906
52907 * socket/sa_len.c: New file.
52908 * socket/Makefile (aux): Add it.
52909 * sysdeps/unix/sysv/linux/Makefile
52910 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52911 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52912 and #include <socket/sa_len.c>.
52913 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52914 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52915
52916 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52917 * bits/socket.h: ... here.
52918
52919 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52920 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52921 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52922
52923 2013-08-27 Andreas Schwab <schwab@suse.de>
52924
52925 [BZ #15736]
52926 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52927 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52928 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52929 * string/test-strcasecmp.c (test_main): Run tests in several
52930 locales.
52931 * string/test-strncasecmp.c (test_main): Likewise.
52932
52933 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52934 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52935 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52937 (__strncasecmp_ssse3) [PIC]: Likewise.
52938
52939 2013-08-26 Roland McGrath <roland@hack.frob.com>
52940
52941 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52942
52943 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52944 instead of explicitly declaring xdecrypt.
52945 * nis/nss_nis/nis-publickey.c: Likewise.
52946
52947 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52948
52949 [BZ #15890]
52950 * nscd/aicache.c: Include res_hconf.h.
52951 (addhstaiX): Initialize res_hconf.
52952
52953 2013-08-26 Andreas Schwab <schwab@suse.de>
52954
52955 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52956 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52957
52958 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52959
52960 * nscd/aicache.c (addhstaiX): Fix indentation.
52961
52962 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52963
52964 * configure.ac: Quote $build_pt_chown test.
52965 * configure: Regenerated.
52966
52967 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52968
52969 [BZ #15532]
52970 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52971 * math/s_cexpf.c (__cexpf): Likewise.
52972 * math/s_cexpl.c (__cexpl): Likewise.
52973 * math/libm-test.inc (cexp_test_data): Correct expected return
52974 value for NaN + i0. Add another test.
52975
52976 2013-08-22 David S. Miller <davem@davemloft.net>
52977
52978 * po/ca.po: Update Catalan translation from translation project.
52979 * po/uk.po: Add Ukrainian translations from translation project.
52980
52981 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52982
52983 [BZ #15797]
52984 * math/s_fdim.c (__fdim): Check for infinite arguments if result
52985 is infinite, not alongside NaN test.
52986 * math/s_fdimf.c (__fdimf): Likewise.
52987 * math/s_fdiml.c (__fdiml): Likewise.
52988 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
52989 errno is unchanged.
52990
52991 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
52992
52993 * argp/argp-help.c: Fix typos.
52994 * crypt/speeds.c: Likewise.
52995 * csu/check_fds.c: Likewise.
52996 * elf/dl-load.c: Likewise.
52997 * elf/dl-open.c: Likewise.
52998 * elf/reldep3.c: Likewise.
52999 * elf/reldep.c: Likewise.
53000 * elf/sprof.c: Likewise.
53001 * iconv/iconv_charmap.c: Likewise.
53002 * iconv/skeleton.c: Likewise.
53003 * iconv/strtab.c: Likewise.
53004 * io/lockf64.c: Likewise.
53005 * libio/libioP.h: Likewise.
53006 * resolv/gai_notify.c: Likewise.
53007 * resolv/ns_name.c: Likewise.
53008 * resolv/ns_samedomain.c: Likewise.
53009 * resolv/res_send.c: Likewise.
53010 * stdlib/random.c: Likewise.
53011 * sunrpc/rpc/xdr.h: Likewise.
53012 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53013 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53014 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53015 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53016 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53017 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53018 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53019 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53020 * sysdeps/mach/hurd/check_fds.c: Likewise.
53021 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53022 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53025 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53026 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53027 * sysdeps/pthread/aio_notify.c: Likewise.
53028 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53029 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53030 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53032 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53033
53034 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53035
53036 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53037 version if bit_Slow_SSE4_2 is set.
53038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53039 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53040
53041 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53042
53043 [BZ #15867]
53044 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53045 trampoline stack frame information.
53046 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53047 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53048 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53049 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53050 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53051 * sysdeps/unix/sysv/linux/powerpc/init-first.c
53052 (_libc_vdso_platform_setup): Initialize the signal trampolines.
53053 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53054 sa_flags value.
53055 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53056 interrupting a syscall and set with option SA_SIGINFO.
53057
53058 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53059
53060 [BZ #15531]
53061 * math/s_cproj.c (__cproj): Only return an infinity if one part of
53062 argument is infinite.
53063 * math/s_cprojf.c (__cprojf): Likewise.
53064 * math/s_cprojl.c (__cprojl): Likewise.
53065 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53066 * math/libm-test.inc (cproj_test_data): Add more tests.
53067
53068 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53069
53070 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53071 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53072 size. Use __ffs to determine corresponding shift.
53073
53074 2013-08-20 Joseph Myers <joseph@codesourcery.com>
53075 Roland McGrath <roland@hack.frob.com>
53076
53077 * Makefile (INSTALL): Remove trailing blank lines from output of
53078 makeinfo.
53079
53080 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53081
53082 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53083 Align 32 bit compat elf_greg to 8 bytes.
53084
53085 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53086
53087 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53088
53089 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53090
53091 * string/strcoll_l.c (coll_seq): New structure.
53092 (get_next_seq_cached): New function.
53093 (get_next_seq): New function.
53094 (do_compare): New function.
53095 (STRCOLL): Use GNU style definition. Simplify implementation
53096 by using get_next_seq, get_next_seq_cached and do_compare.
53097
53098 2013-08-16 Florian Weimer <fweimer@redhat.com>
53099
53100 [BZ #14699]
53101 CVE-2013-4237
53102 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53103 member.
53104 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53105 member.
53106 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53107 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53108 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53109 conditional.
53110 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53111 GETDENTS_64BIT_ALIGNED.
53112 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53113 * manual/filesys.texi (Reading/Closing Directory): Document
53114 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53115 strongly.
53116 * manual/conf.texi (Limits for Files): Add portability note to
53117 NAME_MAX, PATH_MAX.
53118 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53119
53120 2013-08-13 Andreas Schwab <schwab@suse.de>
53121
53122 [BZ #15749]
53123 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53124 of fabs.
53125 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53126 LDBL_MAX_EXP >= 16384]: Add tests for it.
53127
53128 2013-08-12 David S. Miller <davem@davemloft.net>
53129
53130 * version.h (RELEASE): Set to "development".
53131 (VERSION): Set to "2.18.90".
53132 * NEWS: Add 2.19 section.
53133
53134 2013-08-03 David S. Miller <davem@davemloft.net>
53135
53136 * po/ko.po: Update Korean translation from translation project.
53137
53138 2013-08-01 David S. Miller <davem@davemloft.net>
53139
53140 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53141 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53142 Bilka.
53143
53144 2013-07-30 David S. Miller <davem@davemloft.net>
53145
53146 * po/fr.po: Update French translation from translation project.
53147
53148 2013-07-28 David S. Miller <davem@davemloft.net>
53149
53150 * po/cs.po: Update Czech translation from translation project.
53151
53152 * po/sv.po: Update Swedish translation from translation project.
53153
53154 2013-07-27 David S. Miller <davem@davemloft.net>
53155
53156 * po/eo.po: Update Esperanto translation from translation project.
53157
53158 * po/vi.po: Update Vietnamese translation from translation project.
53159
53160 * po/de.po: Update German translation from translation project.
53161
53162 2013-07-26 David S. Miller <davem@davemloft.net>
53163
53164 * po/bg.po: Update Bulgarian translation from translation project.
53165
53166 * po/nl.po: Update Dutch translation from translation project.
53167 * po/pl.po: Update Polish translation from translation project.
53168 * po/ru.po: Update Russian translation from translation project.
53169
53170 2013-07-24 David S. Miller <davem@davemloft.net>
53171
53172 * po/libc.pot: Update.
53173
53174 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53175
53176 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53177 variable page size.
53178 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53179 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53180 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53181
53182 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53183
53184 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53185
53186 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53187 Andreas Schwab <schwab@suse.de>
53188 Roland McGrath <roland@hack.frob.com>
53189 Joseph Myers <joseph@codesourcery.com>
53190 Carlos O'Donell <carlos@redhat.com>
53191
53192 [BZ #15755]
53193 * config.h.in: Define HAVE_PT_CHOWN.
53194 * config.make.in (build-pt-chown): New variable.
53195 * configure.in (--enable-pt_chown): New configure option.
53196 * configure: Regenerate.
53197 * login/Makefile: Include Makeconfig. Build pt_chown only if
53198 build-pt-chown is enabled.
53199 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53200 pt_chown to fix pty ownership.
53201 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53202 CLOSE_ALL_FDS.
53203 * manual/install.texi (Configuring and compiling): Mention
53204 --enable-pt_chown. Add @findex for grantpt.
53205 * INSTALL: Regenerate.
53206
53207 2013-07-20 David S. Miller <davem@davemloft.net>
53208
53209 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53210 difference between 32-bit and 64-bit.
53211
53212 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53213
53214 [BZ #15711]
53215 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53216 Avoid system header dependency with -ffreestanding.
53217 ($(objpfx)bits/syscall%d): Likewise.
53218
53219 2013-07-13 David S. Miller <davem@davemloft.net>
53220
53221 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53222 underflows from atanl/atan2l due to bug 15319.
53223 (casinh_test_data): Likewise.
53224
53225 2013-07-07 David S. Miller <davem@davemloft.net>
53226
53227 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53228
53229 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53230
53231 * sysdeps/i386/fpu/libm-test-ulps: Update.
53232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53233
53234 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53235
53236 * configure.in (--enable-lock-elision): Fix message text.
53237 * INSTALL: Regenerate.
53238 * configure: Regenerate.
53239
53240 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53241
53242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53243
53244 2013-07-03 Andreas Jaeger <aj@suse.de>
53245
53246 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53247 define.
53248 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53249 (ptrace_peeksiginfo_args): Add.
53250 (__ptrace_peeksiginfo_flags): Add.
53251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53253 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53254
53255 2013-07-03 Allan McRae <allan@archlinux.org>
53256
53257 * sysdeps/i386/fpu/libm-test-ulps: Update.
53258
53259 2013-07-02 David S. Miller <davem@davemloft.net>
53260
53261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53262
53263 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53264
53265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53266
53267 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53268
53269 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53271
53272 2013-07-02 Andi Kleen <ak@linux.intel.com>
53273
53274 * config.h.in (ENABLE_LOCK_ELISION): Add.
53275 * configure.in (--enable-lock-elision): Add option.
53276 * manual/install.texi: Document --enable lock elision.
53277 * configure: Regenerate
53278 * INSTALL: Regenerate.
53279
53280 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53281
53282 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53283 SSE4.2 strcasecmp for libc.a.
53284 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53285
53286 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53287
53288 [BZ #13304]
53289 * soft-fp/op-common.h (_FP_FMA): New macro.
53290 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53291 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53292 (_FP_MUL_MEAT_1_imm): ... here.
53293 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53294 (_FP_MUL_MEAT_1_wide): ... here.
53295 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53296 (_FP_MUL_MEAT_1_hard): ... here.
53297 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53298 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53299 (_FP_MUL_MEAT_2_wide): ... here.
53300 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53301 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53302 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53303 (_FP_MUL_MEAT_2_gmp): ... here.
53304 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53305 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53306 (_FP_MUL_MEAT_4_wide): ... here.
53307 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53308 (_FP_MUL_MEAT_4_gmp): ... here.
53309 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53310 (_FP_WFRACBITS_DW_S): Likewise.
53311 (_FP_WFRACXBITS_DW_S): Likewise.
53312 (_FP_HIGHBIT_DW_S): Likewise.
53313 (FP_FMA_S): Likewise.
53314 (_FP_FRAC_HIGH_DW_S): Likewise.
53315 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53316 (_FP_WFRACBITS_DW_D): Likewise.
53317 (_FP_WFRACXBITS_DW_D): Likewise.
53318 (_FP_HIGHBIT_DW_D): Likewise.
53319 (FP_FMA_D): Likewise.
53320 (_FP_FRAC_HIGH_DW_D): Likewise.
53321 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53322 (_FP_WFRACBITS_DW_E): Likewise.
53323 (_FP_WFRACXBITS_DW_E): Likewise.
53324 (_FP_HIGHBIT_DW_E): Likewise.
53325 (FP_FMA_E): Likewise.
53326 (_FP_FRAC_HIGH_DW_E): Likewise.
53327 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53328 (_FP_WFRACBITS_DW_Q): Likewise.
53329 (_FP_WFRACXBITS_DW_Q): Likewise.
53330 (_FP_HIGHBIT_DW_Q): Likewise.
53331 (FP_FMA_Q): Likewise.
53332 (_FP_FRAC_HIGH_DW_Q): Likewise.
53333 * soft-fp/fmasf4.c: New file.
53334 * soft-fp/fmadf4.c: Likewise.
53335 * soft-fp/fmatf4.c: Likewise.
53336
53337 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53338
53339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53340 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53341 Silvermont.
53342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53343 macro.
53344 (index_Slow_SSE4_2): Likewise.
53345 (index_Prefer_PMINUB_for_stringop): Likewise.
53346 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53347 bit_Slow_SSE4_2 is set.
53348 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53349 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53350
53351 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53352
53353 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53354 rtld_global._dl_hwcap2.
53355 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53356 POWER8.
53357 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53358 POWER8 feature descriptions defined in _dl_hwcap2.
53359 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53360 string handling for POWER8 feature bits.
53361 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53362 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53363 _dl_powerpc_cap_flags.
53364 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53365 * sysdeps/powerpc/rtld-global-offsets.sym
53366 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53367 _dl_hwcap2 in the rtld_global_ro structure.
53368
53369 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53370
53371 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53372 hardware capabilities in support of AT_HWCAP2.
53373 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53374 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53375 GLRO(dl_hwcap2).
53376 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53377 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53378 explicitly the unknown a_type display mechanism is used.
53379 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53380 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53381 struct member.
53382 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53383 to macro prototype for AT_HWCAP2 support.
53384 * sysdeps/i386/dl-procinfo.h: Likewise.
53385 * sysdeps/s390/dl-procinfo.h: Likewise.
53386 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53387 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53388 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53389 return -1 for unknown a_type display fallback.
53390 * sysdeps/sparc/dl-procinfo.h: Likewise.
53391 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53392 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53393
53394 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53395
53396 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53397 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53398
53399 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53400
53401 [BZ #12492]
53402 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53403 mprotect making __stack_prot writable.
53404
53405 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53406 Joseph Myers <joseph@codesourcery.com>
53407
53408 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53409 as being properly aligned.
53410
53411 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53412
53413 * dlfcn/modstatic5.c: New file.
53414 * dlfcn/tststatic5.c: New file.
53415 * dlfcn/Makefile (tests): Add tststatic5.
53416 (tests-static): Likewise.
53417 (modules-names): Add modstatic5.
53418 (tststatic5-ENV): New variable.
53419 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53420
53421 [BZ #15022]
53422 * elf/dl-support.c (_dl_main_map): New variable.
53423 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53424 (_dl_nns, _dl_load_adds): Set to 1.
53425 (_dl_initial_searchlist): Refer to _dl_main_map.
53426 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53427 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53428 call to _dl_get_origin.
53429 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53430 around call_map.
53431 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53432 * dlfcn/modstatic3.c: New file.
53433 * dlfcn/tststatic3.c: New file.
53434 * dlfcn/tststatic4.c: New file.
53435 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53436 (tests-static): Likewise.
53437 (modules-names): Add modstatic3.
53438 (tststatic3-ENV, tststatic4-ENV): New variables.
53439 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53440 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53441
53442 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53443
53444 * configure.in (CC): Require GCC version 4.4 or later.
53445 * configure: Regenerated.
53446 * manual/install.texi (Tools for Compilation): Update GCC version
53447 requirement.
53448 * INSTALL: Regenerated.
53449
53450 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53451
53452 [BZ #15674]
53453 * string/test-memcmp.c (check2): New.
53454 (main): Call check2.
53455
53456 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53457
53458 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53459
53460 [BZ #15022]
53461 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53462 over to...
53463 (dl_open_worker) [!SHARED]: ... here.
53464
53465 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53466
53467 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53468
53469 2013-06-25 Richard Henderson <rth@redhat.com>
53470
53471 * locale/programs/locarchive.c: Include <libc-internal.h>
53472
53473 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53474
53475 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53476 trailing whitespace removed.
53477
53478 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53479
53480 [BZ #10283]
53481 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53482 * locale/programs/locarchive.c: Include libc-mmap.h.
53483 (prepare_address_space): Take two new outputs (the mmap base and len).
53484 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53485 values.
53486 (create_archive): Declare new mmap base and len values for
53487 prepare_address_space, and store the result in ah.
53488 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53489 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53490 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53491 Declare new mmap base and len values for
53492 prepare_address_space, and store the result in new_ah.
53493 (open_archive): Declare new mmap base and len values for
53494 prepare_address_space, and store the result in ah.
53495 (close_archive): If ah->mmap_base is not NULL, use that and
53496 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53497 * sysdeps/generic/libc-mmap.h: New file.
53498
53499 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53500
53501 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53502 (ALIGN_UP): Likewise.
53503 (PTR_ALIGN_DOWN): Likewise.
53504 (PTR_ALIGN_UP): Likewise.
53505
53506 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53507
53508 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53509 entry mapped to PPC_PLATFORM_POWER8.
53510 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53511 POWER8.
53512 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53513 (_dl_string_platform): Add case for exporting platform position for
53514 POWER8.
53515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53516 search path to sysdeps/powerpc/powerpc32/power8 directory.
53517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53518 search path to sysdeps/powerpc/powerpc64/power8 directory.
53519 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53520 power7 directories.
53521 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53522 power7 directories.
53523
53524 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53525
53526 * INSTALL: Regenerate.
53527
53528 * nscd/connections.c (nscd_init): Fix comment.
53529
53530 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53531
53532 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53533
53534 [BZ #15667]
53535 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53536 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53537
53538 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53539
53540 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53541 DL_DST_REQ_STATIC.
53542 (DL_DST_REQ_STATIC): Remove macro.
53543
53544 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53545
53546 [BZ #7006]
53547 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53548 with a shift of 0 bits.
53549
53550 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53551
53552 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53553 $(tststatic-ENV).
53554
53555 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53556
53557 [BZ #15655]
53558 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53559
53560 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53561
53562 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53563 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53564 accepts -fno-tree-loop-distribute-patterns.
53565 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53566 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53567 recursive call.
53568 * string/memset.c (memset): Likewise.
53569 * string/test-memmove.c (simple_memmove): Disable loop transformation
53570 to library calls.
53571 * string/test-memset.c (simple_memset): Likewise.
53572 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53573 * benchtests/bench-memset.c (simple_memset): Likewise.
53574 * configure: Regenerated.
53575
53576 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53577
53578 * math/test-misc.c (main): Ignore fesetround failure when failures
53579 of subsequent rounding tests would be ignored.
53580
53581 [BZ #15654]
53582 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53583 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53584 * math/fegetenv.c (__fegetenv): Return 0.
53585 * math/fegetexcept.c (fegetexcept): Return 0.
53586 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53587 FE_TONEAREST.
53588 * math/feholdexcpt.c (feholdexcept): Return 0.
53589 * math/fesetenv.c (__fesetenv): Return 0.
53590 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53591 argument FE_TONEAREST.
53592 * math/feupdateenv.c (__feupdateenv): Return 0.
53593 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53594
53595 2013-06-18 Roland McGrath <roland@hack.frob.com>
53596
53597 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53598 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53599 ($(objpfx)rtld-%.os rules): Use them.
53600
53601 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53602
53603 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53604 fields.
53605
53606 2013-06-17 Roland McGrath <roland@hack.frob.com>
53607
53608 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53609 length of target pattern, then descending length of dependency pattern.
53610 * configure.in (AWK): Require gawk 3.1.2 or newer.
53611 * manual/install.texi (Tools for Compilation): Say that we do.
53612 * configure: Regenerated.
53613
53614 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53615 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53616 * scripts/sysd-rules.awk: ... this new script.
53617 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53618 than a glob-style pattern.
53619
53620 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53621
53622 * math/test-misc.c (main): Do not treat incorrectly rounded
53623 conversions as failure unless ROUNDING_TESTS passes.
53624
53625 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53626
53627 [BZ #15631]
53628 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53629 restore exception state around main square root computation, then
53630 check for inexactness explicitly.
53631
53632 * math/libm-test.inc (fma_test_data): Add another test.
53633
53634 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53635
53636 * manual/threads.texi (Non-POSIX Extensions): New document
53637 node. Document pthread_getattr_default_np and
53638 pthread_setattr_default_np.
53639
53640 * Versions.def (libpthread): Add GLIBC_2.18.
53641 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53643 Likewise.
53644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53645 Likewise.
53646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53647 Likewise.
53648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53649 Likewise.
53650 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53651 Likewise.
53652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53653 Likewise.
53654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53655 Likewise.
53656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53657 Likewise.
53658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53659 Likewise.
53660
53661 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53662
53663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53664 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53665
53666 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53667 H.J. Lu <hjl.tools@gmail.com>
53668
53669 [BZ #15627]
53670 * sysdeps/x86_64/rtld-memset.c: Remove file.
53671 * sysdeps/x86_64/rtld-memset.S: New file.
53672
53673 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53674
53675 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53676 (test_in_one_mode): Take arguments for whether the rounding mode
53677 is supported for each floating-point type.
53678 (do_test): Pass new arguments to test_in_one_mode using
53679 ROUNDING_TESTS.
53680
53681 2013-06-13 Roland McGrath <roland@hack.frob.com>
53682
53683 * posix/tst-waitid.c (do_test): Distinguish different instances of
53684 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53685 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53686 before entering the kernel for waitpid.
53687
53688 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53689
53690 * NEWS: Fix note on clock function precision. Text by Roland
53691 McGrath.
53692
53693 2013-06-13 Roland McGrath <roland@hack.frob.com>
53694
53695 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53696 it into place only when and if the sanity check passes.
53697
53698 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53699
53700 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53701 output for whether conversion result is exact. Take argument
53702 indicating whether type is IBM long double.
53703 (round_for_all): Change need_exact field to ibm_ld.
53704 * stdlib/tst-strtod-round.c (struct exactness): New type.
53705 (struct test): Change bool ld_ok field to struct exactness exact.
53706 (TEST): Update all definitions for change to field.
53707 (tests): Regenerate array contents.
53708 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53709 field value. Check for IBM long double here.
53710 (do_test): Update calls to test_in_one_mode.
53711
53712 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53713
53714 [BZ #12515]
53715 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53716 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53717
53718 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53719
53720 [BZ #15605]
53721 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53722 generated by the compiler on loop optimizations.
53723 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53724 general definitions.
53725
53726 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53727
53728 * math/bug-nextafter.c: Include <math-tests.h>.
53729 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53730 the relevant type.
53731 * math/bug-nexttoward.c: Include <math-tests.h>.
53732 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53733 the relevant type.
53734 * math/test-misc.c: Include <math-tests.h>.
53735 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53736 the relevant type.
53737
53738 2013-06-12 Andreas Jaeger <aj@suse.de>
53739
53740 * po/ia.po: Update Interlingua translation from translation
53741 project.
53742
53743 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53744
53745 * include/fenv.h: Include stdbool.h.
53746 (struct rm_ctx): New structure.
53747 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53748 Define macro.
53749 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53750 (SET_RESTORE_ROUNDF): Likewise.
53751 (SET_RESTORE_ROUNDL): Likewise.
53752 (SET_RESTORE_ROUND_NOEX): Likewise.
53753 (SET_RESTORE_ROUND_NOEXF): Likewise.
53754 (SET_RESTORE_ROUND_NOEXL): Likewise.
53755 (SET_RESTORE_ROUND_53BIT): Likewise.
53756 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53757 (libc_feresetround_noexf_ctx): Likewise.
53758 (libc_feresetround_noexl_ctx): Likewise.
53759 (libc_feholdsetround_53bit_ctx): Likewise.
53760 (libc_feresetround_53bit_ctx): Likewise.
53761 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53762 (libc_feholdexcept_setround_sse_ctx): New function.
53763 (libc_fesetenv_sse_ctx): Likewise.
53764 (libc_feupdateenv_sse_ctx): Likewise.
53765 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53766 (libc_feholdexcept_setround_387_ctx): Likewise.
53767 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53768 (libc_feholdsetround_387_prec_ctx): Likewise.
53769 (libc_feholdsetround_387_ctx): Likewise.
53770 (libc_feholdsetround_387_53bit_ctx): Likewise.
53771 (libc_feholdsetround_sse_ctx): Likewise.
53772 (libc_feresetround_sse_ctx): Likewise.
53773 (libc_feresetround_387_ctx): Likewise.
53774 (libc_feupdateenv_387_ctx): Likewise.
53775 (libc_feholdexcept_setroundf_ctx): Define macro.
53776 (libc_fesetenvf_ctx): Likewise.
53777 (libc_feupdateenvf_ctx): Likewise.
53778 (libc_feholdsetroundf_ctx): Likewise.
53779 (libc_feresetroundf_ctx): Likewise.
53780 (libc_feholdexcept_setround_ctx): Likewise.
53781 (libc_fesetenv_ctx): Likewise.
53782 (libc_feupdateenv_ctx): Likewise.
53783 (libc_feholdsetround_ctx): Likewise.
53784 (libc_feresetround_ctx): Likewise.
53785 (libc_feholdexcept_setroundl_ctx): Likewise.
53786 (libc_feupdateenvl_ctx): Likewise.
53787 (libc_feholdsetroundl_ctx): Likewise.
53788 (libc_feresetroundl_ctx): Likewise.
53789 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53790 (libc_feresetround_53bit_ctx): Likewise.
53791
53792 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53793
53794 * locale/iso-639.def: Convert to UTF-8.
53795
53796 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53797
53798 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53799 (EXCEPTION_TESTS_double): Likewise.
53800 (EXCEPTION_TESTS_long_double): Likewise.
53801 (EXCEPTION_TESTS): Likewise.
53802 * math/libm-test.inc (test_exceptions): Only test exceptions if
53803 EXCEPTION_TESTS (FLOAT).
53804
53805 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53806
53807 * benchtests/Makefile (string-bench): Add strcpy_chk and
53808 stpcpy_chk.
53809 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53810 * benchtests/bench-stpcpy_chk.c: New file.
53811 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53812 * benchtests/bench-strcpy_chk.c: New file.
53813 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53814 code.
53815 (do_test): Likewise.
53816
53817 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53818
53819 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53820 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53821 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53822 with tabs where appropriate.
53823 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53824 dl-procinfo.h.
53825 [PPC_PLATFORM_PPC440]: Likewise.
53826 [PPC_PLATFORM_PPC464]: Likewise.
53827 [PPC_PLATFORM_PPC476]: Likewise.
53828 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53829 ppc464, and ppc476 platform strings merging from ports/
53830 dl-procinfo.h.
53831
53832 2013-06-11 Andreas Schwab <schwab@suse.de>
53833
53834 [BZ #14991]
53835 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53836 (from_ucs4_idx): Regenerate.
53837 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53838 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53839 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53840 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53841 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53842 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53843 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53844 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53845 from FROM_LOOP and TO_LOOP specific macros.
53846 (BODY): Handle combining characters.
53847 * iconvdata/BIG5HKSCS.irreversible: Update.
53848 * iconvdata/BIG5HKSCS.precomposed: New file.
53849 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53850 characters.
53851 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53852
53853 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53854
53855 * include/sys/time.h: Fix indentation and add copyright header.
53856
53857 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53858 (do_test): Likewise.
53859 * string/test-memchr.c (do_one_test): Likewise.
53860 (do_test): Likewise.
53861 * string/test-memcmp.c (do_one_test): Likewise.
53862 (do_test): Likewise.
53863 * string/test-memcpy.c (do_one_test): Likewise.
53864 (do_test): Likewise.
53865 * string/test-memmem.c (do_one_test): Likewise.
53866 (do_test): Likewise.
53867 (do_random_tests): Likewise.
53868 * string/test-memmove.c (do_one_test): Likewise.
53869 (do_test): Likewise.
53870 * string/test-memset.c (do_one_test): Likewise.
53871 (do_test): Likewise.
53872 * string/test-rawmemchr.c (do_one_test): Likewise.
53873 (do_test): Likewise.
53874 * string/test-strcasecmp.c (do_one_test): Likewise.
53875 (do_test): Likewise.
53876 * string/test-strcasestr.c (do_one_test): Likewise.
53877 (do_test): Likewise.
53878 * string/test-strcat.c (do_one_test): Likewise.
53879 (do_test): Likewise.
53880 * string/test-strchr.c (do_one_test): Likewise.
53881 (do_test): Likewise.
53882 * string/test-strcmp.c (do_one_test): Likewise.
53883 (do_test): Likewise.
53884 * string/test-strcpy.c (do_one_test): Likewise.
53885 (do_test): Likewise.
53886 * string/test-string.h: Likewise.
53887 (test_init): Likewise.
53888 * string/test-strlen.c (do_one_test): Likewise.
53889 (do_test): Likewise.
53890 * string/test-strncasecmp.c (do_one_test): Likewise.
53891 (do_test): Likewise.
53892 * string/test-strncat.c (do_one_test): Likewise.
53893 (do_test): Likewise.
53894 * string/test-strncmp.c (do_one_test): Likewise.
53895 (do_test_limit): Likewise.
53896 (do_test): Likewise.
53897 * string/test-strncpy.c (do_one_test): Likewise.
53898 (do_test): Likewise.
53899 * string/test-strnlen.c (do_one_test): Likewise.
53900 (do_test): Likewise.
53901 * string/test-strpbrk.c (do_one_test): Likewise.
53902 (do_test): Likewise.
53903 * string/test-strrchr.c (do_one_test): Likewise.
53904 (do_test): Likewise.
53905 * string/test-strspn.c (do_one_test): Likewise.
53906 (do_test): Likewise.
53907 * string/test-strstr.c (do_one_test): Likewise.
53908 (do_test): Likewise.
53909
53910 * benchtests/Makefile (string-bench): Add string benchmarks.
53911 * benchtests/bench-bcopy-ifunc.c: New file.
53912 * benchtests/bench-bcopy.c: New file.
53913 * benchtests/bench-bzero-ifunc.c: New file.
53914 * benchtests/bench-bzero.c: New file.
53915 * benchtests/bench-memccpy-ifunc.c: New file.
53916 * benchtests/bench-memccpy.c: New file.
53917 * benchtests/bench-memchr-ifunc.c: New file.
53918 * benchtests/bench-memchr.c: New file.
53919 * benchtests/bench-memcmp-ifunc.c: New file.
53920 * benchtests/bench-memcmp.c: New file.
53921 * benchtests/bench-memmem-ifunc.c: New file.
53922 * benchtests/bench-memmem.c: New file.
53923 * benchtests/bench-memmove-ifunc.c: New file.
53924 * benchtests/bench-memmove.c: New file.
53925 * benchtests/bench-mempcpy-ifunc.c: New file.
53926 * benchtests/bench-mempcpy.c: New file.
53927 * benchtests/bench-memset-ifunc.c: New file.
53928 * benchtests/bench-memset.c: New file.
53929 * benchtests/bench-rawmemchr-ifunc.c: New file.
53930 * benchtests/bench-rawmemchr.c: New file.
53931 * benchtests/bench-stpcpy-ifunc.c: New file.
53932 * benchtests/bench-stpcpy.c: New file.
53933 * benchtests/bench-stpncpy-ifunc.c: New file.
53934 * benchtests/bench-stpncpy.c: New file.
53935 * benchtests/bench-strcasecmp-ifunc.c: New file.
53936 * benchtests/bench-strcasecmp.c: New file.
53937 * benchtests/bench-strcasestr-ifunc.c: New file.
53938 * benchtests/bench-strcasestr.c: New file.
53939 * benchtests/bench-strcat-ifunc.c: New file.
53940 * benchtests/bench-strcat.c: New file.
53941 * benchtests/bench-strchr-ifunc.c: New file.
53942 * benchtests/bench-strchr.c: New file.
53943 * benchtests/bench-strchrnul-ifunc.c: New file.
53944 * benchtests/bench-strchrnul.c: New file.
53945 * benchtests/bench-strcmp-ifunc.c: New file.
53946 * benchtests/bench-strcmp.c: New file.
53947 * benchtests/bench-strcpy-ifunc.c: New file.
53948 * benchtests/bench-strcpy.c: New file.
53949 * benchtests/bench-strcspn-ifunc.c: New file.
53950 * benchtests/bench-strcspn.c: New file.
53951 * benchtests/bench-strlen-ifunc.c: New file.
53952 * benchtests/bench-strlen.c: New file.
53953 * benchtests/bench-strncasecmp-ifunc.c: New file.
53954 * benchtests/bench-strncasecmp.c: New file.
53955 * benchtests/bench-strncat-ifunc.c: New file.
53956 * benchtests/bench-strncat.c: New file.
53957 * benchtests/bench-strncmp-ifunc.c: New file.
53958 * benchtests/bench-strncmp.c: New file.
53959 * benchtests/bench-strncpy-ifunc.c: New file.
53960 * benchtests/bench-strncpy.c: New file.
53961 * benchtests/bench-strnlen-ifunc.c: New file.
53962 * benchtests/bench-strnlen.c: New file.
53963 * benchtests/bench-strpbrk-ifunc.c: New file.
53964 * benchtests/bench-strpbrk.c: New file.
53965 * benchtests/bench-strrchr-ifunc.c: New file.
53966 * benchtests/bench-strrchr.c: New file.
53967 * benchtests/bench-strspn-ifunc.c: New file.
53968 * benchtests/bench-strspn.c: New file.
53969 * benchtests/bench-strstr-ifunc.c: New file.
53970 * benchtests/bench-strstr.c: New file.
53971
53972 * benchtests/Makefile: Disable parallel execution of targets.
53973 (string-bench): Add memcpy.
53974 (benchset): New variable to store a list of benchmark sets.
53975 (bench-func): Renamed from bench.
53976 (bench-set): New target.
53977 (bench): Depend on bench-func and bench-set.
53978 * benchtests/README: Add section on benchmark sets.
53979 * benchtests/bench-memcpy-ifunc.c: New file.
53980 * benchtests/bench-memcpy.c: New file.
53981 * benchtests/bench-string.h: New file.
53982
53983 2013-06-11 Andreas Schwab <schwab@suse.de>
53984
53985 [BZ #15577]
53986 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53987 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53988 values in the triple.
53989 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53990 terminator in the group key.
53991
53992 2013-06-11 Andreas Jaeger <aj@suse.de>
53993
53994 * po/zh_TW.po: Update Chinese (traditional) translation from
53995 translation project.
53996
53997 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53998
53999 * include/time.h (__clock_gettime): Add libc_hidden_proto.
54000 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54001 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
54002 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54003 (clock_getcpuclockid): Likewise.
54004 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54005 Add weak_alias and libc_hidden_def.
54006 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54007 * rt/clock_gettime.c (clock_gettime): Rename to
54008 __clock_gettime. Add weak_alias and libc_hidden_def.
54009 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54010 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54011 __clock_nanosleep. Add weak_alias and libc_hidden_def.
54012 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54013 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54014 Likewise.
54015 * rt/clock_settime.c (clock_settime): Rename to
54016 __clock_settime. Add weak_alias and libc_hidden_def.
54017 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54018
54019 2013-06-10 Joseph Myers <joseph@codesourcery.com>
54020
54021 * mach/err_boot.sub: Remove trailing whitespace.
54022 * mach/err_ipc.sub: Likewise.
54023 * mach/err_mach.sub: Likewise.
54024
54025 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54026 (ROUNDING_TESTS_double): Likewise.
54027 (ROUNDING_TESTS_long_double): Likewise.
54028 (ROUNDING_TESTS): Likewise.
54029 * math/libm-test.inc: Include <math-tests.h>.
54030 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54031 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54032 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54033 (IF_ROUND_INIT_FE_UPWARD): Likewise.
54034
54035 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54036
54037 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54038 of assigning.
54039
54040 2013-06-08 Joseph Myers <joseph@codesourcery.com>
54041
54042 * sysdeps/gnu/errlist.awk: Do not generate space at end of
54043 otherwise empty TRANS lines.
54044 * sysdeps/gnu/errlist.c: Regenerated.
54045
54046 * catgets/gencat.c (error_print): Use (void) in function
54047 definition.
54048 * crypt/crypt_util.c (__init_des): Likewise.
54049 * crypt/speeds.c (Stop): Likewise.
54050 (main): Likewise.
54051 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54052 * inet/ruserpass.c (token): Likewise.
54053 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54054 * intl/localealias.c (extend_alias_table): Likewise.
54055 * intl/plural-exp.c (init_germanic_plural): Likewise.
54056 * libio/fcloseall.c (__fcloseall): Likewise.
54057 * libio/genops.c (_IO_flush_all): Likewise.
54058 (_IO_flush_all_linebuffered): Likewise.
54059 (_IO_cleanup): Likewise.
54060 (_IO_iter_begin): Likewise.
54061 (_IO_iter_end): Likewise.
54062 (_IO_list_lock): Likewise.
54063 (_IO_list_unlock): Likewise.
54064 (_IO_list_resetlock): Likewise.
54065 * libio/getchar.c (getchar): Likewise.
54066 * libio/getchar_u.c (getchar_unlocked): Likewise.
54067 * libio/getwchar.c (getwchar): Likewise.
54068 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54069 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54070 * login/getpt.c (__getpt): Likewise.
54071 * login/tst-utmp.c (main): Likewise.
54072 * malloc/hooks.c (__malloc_check_init): Likewise.
54073 * malloc/malloc.c (__malloc_stats): Likewise.
54074 * malloc/mtrace.c (tr_break): Likewise.
54075 (mtrace): Likewise.
54076 (muntrace): Likewise.
54077 * misc/fstab.c (endfsent): Likewise.
54078 * misc/getclktck.c (__getclktck): Likewise.
54079 * misc/getdtsz.c (__getdtablesize): Likewise.
54080 * misc/gethostid.c (gethostid): Likewise.
54081 * misc/getpagesize.c (__getpagesize): Likewise.
54082 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54083 (__get_nprocs): Likewise.
54084 (__get_phys_pages): Likewise.
54085 (__get_avphys_pages): Likewise.
54086 * misc/getttyent.c (getttyent): Likewise.
54087 (setttyent): Likewise.
54088 (endttyent): Likewise.
54089 * misc/getusershell.c (getusershell): Likewise.
54090 (endusershell): Likewise.
54091 (setusershell): Likewise.
54092 (initshells): Likewise.
54093 * misc/hsearch.c (__hdestroy): Likewise.
54094 * misc/sync.c (sync): Likewise.
54095 * misc/syslog.c (closelog_internal): Likewise.
54096 (closelog): Likewise.
54097 * misc/ttyslot.c (ttyslot): Likewise.
54098 * misc/vhangup.c (vhangup): Likewise.
54099 * posix/fork.c (__fork): Likewise.
54100 * posix/getegid.c (__getegid): Likewise.
54101 * posix/geteuid.c (__geteuid): Likewise.
54102 * posix/getgid.c (__getgid): Likewise.
54103 * posix/getpid.c (__getpid): Likewise.
54104 * posix/getppid.c (__getppid): Likewise.
54105 * posix/getuid.c (__getuid): Likewise.
54106 * posix/pause.c (pause): Likewise.
54107 * posix/setpgrp.c (setpgrp): Likewise.
54108 * posix/setsid.c (__setsid): Likewise.
54109 * posix/test-vfork.c (noop): Likewise.
54110 * resolv/gethnamaddr.c (_endhtent): Likewise.
54111 (_gethtent): Likewise.
54112 (ht_endhostent): Likewise.
54113 (gethostent): Likewise.
54114 (dns_service): Likewise.
54115 * stdlib/drand48.c (drand48): Likewise.
54116 * stdlib/lrand48.c (lrand48): Likewise.
54117 * stdlib/mrand48.c (mrand48): Likewise.
54118 * stdlib/rand.c (rand): Likewise.
54119 * stdlib/random.c (__random): Likewise.
54120 * stdlib/setenv.c (clearenv): Likewise.
54121 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54122 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54123 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54124 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54125 (__get_nprocs): Likewise.
54126 (__get_phys_pages): Likewise.
54127 (__get_avphys_pages): Likewise.
54128 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54129 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54130 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54131 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54132 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54133 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54134 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54135 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54136 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54137 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54138 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54139 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54140 * sysdeps/posix/clock.c (clock): Likewise.
54141 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54142 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54143 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54144 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54145 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54147 (__get_nprocs_conf): Likewise.
54148 (__get_phys_pages): Likewise.
54149 (__get_avphys_pages): Likewise.
54150 * time/clock.c (clock): Likewise.
54151 * time/tzset.c (__tzname_max): Likewise.
54152
54153 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54154
54155 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54156 (__bswap_32): Do not use "register".
54157 * crypt/crypt.c (_ufc_doit_r): Likewise.
54158 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54159 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54160 * gmon/gmon.c (__monstartup): Likewise.
54161 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54162 * hurd/hurdmalloc.c (more_memory): Likewise.
54163 (malloc): Likewise.
54164 (free): Likewise.
54165 (realloc): Likewise.
54166 (malloc_fork_prepare): Likewise.
54167 (malloc_fork_parent): Likewise.
54168 (malloc_fork_child): Likewise.
54169 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54170 (_svcauth_des): Likewise.
54171 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54172 * inet/inet_net.c (inet_network): Likewise.
54173 * inet/inet_netof.c (inet_netof): Likewise.
54174 * inet/rcmd.c (__validuser2_sa): Likewise.
54175 * io/fts.c (fts_open): Likewise.
54176 (fts_load): Likewise.
54177 (fts_close): Likewise.
54178 (fts_read): Likewise.
54179 (fts_children): Likewise.
54180 (fts_build): Likewise.
54181 (fts_stat): Likewise.
54182 (fts_sort): Likewise.
54183 (fts_alloc): Likewise.
54184 (fts_lfree): Likewise.
54185 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54186 (_IO_file_xsgetn): Likewise.
54187 (_IO_file_xsgetn_mmap): Likewise.
54188 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54189 (_IO_cookie_write): Likewise.
54190 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54191 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54192 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54193 * malloc/obstack.c (_obstack_begin): Likewise.
54194 (_obstack_begin_1): Likewise.
54195 (_obstack_newchunk): Likewise.
54196 (_obstack_allocated_p): Likewise.
54197 (obstack_free): Likewise.
54198 (_obstack_memory_used): Likewise.
54199 * misc/getttyent.c (getttynam): Likewise.
54200 (getttyent): Likewise.
54201 (skip): Likewise.
54202 (value): Likewise.
54203 * misc/getusershell.c (initshells): Likewise.
54204 * misc/syslog.c (__vsyslog_chk): Likewise.
54205 * misc/ttyslot.c (ttyslot): Likewise.
54206 * nis/nis_hash.c (__nis_hash): Likewise.
54207 * posix/fnmatch_loop.c (FCT): Likewise.
54208 * posix/getconf.c (print_all): Likewise.
54209 (main): Likewise.
54210 * posix/getopt.c (exchange): Likewise.
54211 * posix/glob.c (globfree): Likewise.
54212 (prefix_array): Likewise.
54213 (__glob_pattern_type): Likewise.
54214 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54215 (NS_GET32): Likewise.
54216 (NS_PUT16): Likewise.
54217 (NS_PUT32): Likewise.
54218 * resolv/gethnamaddr.c (getanswer): Likewise.
54219 (gethostbyname2): Likewise.
54220 (gethostbyaddr): Likewise.
54221 (_gethtent): Likewise.
54222 (_gethtbyname2): Likewise.
54223 (_gethtbyaddr): Likewise.
54224 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54225 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54226 * resolv/res_init.c (__res_vinit): Likewise.
54227 (net_mask): Likewise.
54228 * resolv/res_mkquery.c (outchar): Likewise.
54229 (PRINT): Likewise.
54230 * stdio-common/printf_fp.c (outchar): Likewise.
54231 (PRINT): Likewise.
54232 * stdio-common/printf_fphex.c (outchar): Likewise.
54233 (PRINT): Likewise.
54234 * stdio-common/printf_size.c (outchar): Likewise.
54235 (PRINT): Likewise.
54236 * stdio-common/test_rdwr.c (main): Likewise.
54237 * stdio-common/tfformat.c (matches): Likewise.
54238 * stdio-common/vfprintf.c (outchar): Likewise.
54239 (printf_unknown): Likewise.
54240 (buffered_vfprintf): Likewise.
54241 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54242 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54243 (ReadFile): Likewise.
54244 * stdlib/qsort.c (SWAP): Likewise.
54245 (_quicksort): Likewise.
54246 * stdlib/setenv.c (__add_to_environ): Likewise.
54247 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54248 * stdlib/strtol_l.c (__strtol_l): Likewise.
54249 * stdlib/tst-strtod.c (main): Likewise.
54250 * stdlib/tst-strtol.c (main): Likewise.
54251 * stdlib/tst-strtoll.c (main): Likewise.
54252 * string/bits/string2.h (__strcmp_cc): Likewise.
54253 (__strcmp_cg): Likewise.
54254 (__strcspn_c1): Likewise.
54255 (__strcspn_c2): Likewise.
54256 (__strcspn_c3): Likewise.
54257 (__strspn_c1): Likewise.
54258 (__strspn_c2): Likewise.
54259 (__strspn_c3): Likewise.
54260 (__strsep_1c): Likewise.
54261 (__strsep_2c): Likewise.
54262 (__strsep_3c): Likewise.
54263 * string/memccpy.c (__memccpy): Likewise.
54264 * string/stpcpy.c (__stpcpy): Likewise.
54265 * string/strcmp.c (strcmp): Likewise.
54266 * string/strrchr.c (strrchr): Likewise.
54267 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54268 Likewise.
54269 * sysdeps/mach/hurd/getcwd.c
54270 (_hurd_canonicalize_directory_name_internal): Likewise.
54271 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54272 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54273 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54274 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54275 Likewise, in both definitions.
54276 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54277 definitions.
54278 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54279 64] (__bswap_64): Likewise.
54280 * time/test_time.c (main): Likewise.
54281 * time/tzfile.c (__tzfile_read): Likewise.
54282 (__tzfile_compute): Likewise.
54283 * time/tzset.c (__tzset_parse_tz): Likewise.
54284 (tzset_internal): Likewise.
54285 (compute_change): Likewise.
54286 * wcsmbs/wcscat.c (__wcscat): Likewise.
54287 * wcsmbs/wcschr.c (wcschr): Likewise.
54288 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54289 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54290 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54291 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54292 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54293 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54294 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54295 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54296 * wcsmbs/wmemset.c (wmemset): Likewise.
54297
54298 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54299
54300 * scripts/config.guess: Update to version 2013-05-16.
54301 * scripts/config.sub: Update to version 2013-04-24.
54302 * scripts/install-sh: Update to version 2011-11-20.07.
54303 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54304 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54305
54306 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54307
54308 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54309 * elf/sln.c: Likewise.
54310 * hurd/hurd/ioctl.h: Likewise.
54311 * hurd/hurdmalloc.c: Likewise.
54312 * hurd/xattr.c: Likewise.
54313 * include/shlib-compat.h: Likewise.
54314 * inet/ruserpass.c: Likewise.
54315 * libio/iofgets_u.c: Likewise.
54316 * libio/iofgetws_u.c: Likewise.
54317 * locale/programs/ld-identification.c: Likewise.
54318 * locale/programs/ld-time.c: Likewise.
54319 * mach/msg-destroy.c: Likewise.
54320 * nss/nss_files/files-netgrp.c: Likewise.
54321 * resolv/res_data.c: Likewise.
54322 * soft-fp/op-1.h: Likewise.
54323 * soft-fp/op-2.h: Likewise.
54324 * soft-fp/op-4.h: Likewise.
54325 * soft-fp/op-common.h: Likewise.
54326 * stdio-common/printf_fphex.c: Likewise.
54327 * stdlib/strtod_l.c: Likewise.
54328 * sunrpc/rpc/clnt.h: Likewise.
54329 * sysdeps/generic/framestate.c: Likewise.
54330 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54331 * sysdeps/i386/bsd-setjmp.S: Likewise.
54332 * sysdeps/i386/__longjmp.S: Likewise.
54333 * sysdeps/i386/setjmp.S: Likewise.
54334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54335 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54336 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54337 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54339 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54340 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54341 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54343 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54344 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54345 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54346 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54347 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54348 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54350 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54351 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54352 * sysdeps/ieee754/support.c: Likewise.
54353 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54354 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54355 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54356 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54357 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54358 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54359 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54360 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54361 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54362 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54363 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54364 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54366 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54368 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54369 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54371
54372 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54373
54374 * posix/transbug.c: Remove executable mode.
54375
54376 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54377
54378 * crypt/speeds.c: Remove trailing whitespace.
54379 * dlfcn/default.c: Likewise.
54380 * elf/ifuncdep2.c: Likewise.
54381 * elf/ifuncmain1.c: Likewise.
54382 * elf/ifuncmain1vis.c: Likewise.
54383 * elf/testobj.h: Likewise.
54384 * elf/tst-stackguard1.c: Likewise.
54385 * gmon/sys/gmon.h: Likewise.
54386 * hurd/hurdmsg.c: Likewise.
54387 * hurd/new-fd.c: Likewise.
54388 * hurd/ports-get.c: Likewise.
54389 * iconvdata/ibm1008_420.c: Likewise.
54390 * inet/tst-getni1.c: Likewise.
54391 * inet/tst-getni2.c: Likewise.
54392 * libio/ioungetc.c: Likewise.
54393 * libio/wfiledoalloc.c: Likewise.
54394 * manual/libm-err-tab.pl: Likewise.
54395 * math/w_dremf.c: Likewise.
54396 * misc/ftruncate.c: Likewise.
54397 * posix/bug-glob2.c: Likewise.
54398 * posix/tst-pcre.c: Likewise.
54399 * posix/wait4.c: Likewise.
54400 * resolv/README: Likewise.
54401 * resolv/res_debug.h: Likewise.
54402 * resolv/tst-inet_ntop.c: Likewise.
54403 * setjmp/bug269-setjmp.c: Likewise.
54404 * soft-fp/extended.h: Likewise.
54405 * soft-fp/op-1.h: Likewise.
54406 * soft-fp/op-2.h: Likewise.
54407 * soft-fp/op-4.h: Likewise.
54408 * soft-fp/op-8.h: Likewise.
54409 * soft-fp/testit.c: Likewise.
54410 * stdio-common/bug16.c: Likewise.
54411 * stdlib/random.c: Likewise.
54412 * sunrpc/rpcsvc/rquota.x: Likewise.
54413 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54414 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54415 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54416 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54417 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54418 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54419 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54420 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54421 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54422 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54423 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54424 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54425 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54426 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54427 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54428 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54429 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54430 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54431 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54432 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54433 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54434 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54435 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54438 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54440 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54442 * sysdeps/ieee754/s_lib_version.c: Likewise.
54443 * sysdeps/mach/hurd/check_fds.c: Likewise.
54444 * sysdeps/mach/hurd/getsockname.c: Likewise.
54445 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54446 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54447 * sysdeps/powerpc/bits/link.h: Likewise.
54448 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54449 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54450 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54451 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54452 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54453 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54454 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54455 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54456 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54457 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54458 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54459 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54460 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54461 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54462 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54463 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54469 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54470 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54471 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54472 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54473 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54474 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54480 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54481 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54482 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54483 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54484 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54485 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54486 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54487 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54488 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54489 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54490 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54491 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54492 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54493 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54494 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54495 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54496 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54497 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54500 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54501 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54502 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54503 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54504 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54505 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54506 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54509 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54510 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54511 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54512 * sysdeps/powerpc/sysdep.h: Likewise.
54513 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54514 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54515 * sysdeps/sh/dl-trampoline.S: Likewise.
54516 * sysdeps/sh/memset.S: Likewise.
54517 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54518 * sysdeps/sh/strlen.S: Likewise.
54519 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54520 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54521 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54522 * sysdeps/sparc/sparc32/rem.S: Likewise.
54523 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54524 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54525 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54526 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54527 * sysdeps/sparc/sparc32/urem.S: Likewise.
54528 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54529 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54530 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54531 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54532 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54533 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54534 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54535 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54536 * sysdeps/unix/bsd/times.c: Likewise.
54537 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54538 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54542 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54543 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54544 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54545 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54546 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54547 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54548 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54549 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54550 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54551 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54552 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54553 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54554 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54555 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54556 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54557 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54558 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54559 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54560 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54561 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54562 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54563 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54564 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54565 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54566 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54567 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54568 * sysdeps/x86_64/strcspn.S: Likewise.
54569
54570 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54571
54572 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54573 generated file. Regenerate properly from gen-translit.pl.
54574 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54575 locale/C-translit.h.
54576
54577 2013-06-05 Andreas Schwab <schwab@suse.de>
54578
54579 [BZ #15100]
54580 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54581 week as 6 instead of -1.
54582 * time/tst-strptime.c (day_tests): Add test case.
54583
54584 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54585
54586 * sysdeps/generic/math_private.h
54587 (libc_feholdexcept_setround_53bit): Replace with
54588 libc_feholdsetround_53bit.
54589 (libc_feupdateenv_53bit): Replace with
54590 libc_feresetround_53bit.
54591 (SET_RESTORE_ROUND_53BIT): Adjust.
54592
54593 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54594
54595 * string/test-strchrnul.c: Add copyright header.
54596
54597 * posix/tst-getaddrinfo4.c: Increase test timeout.
54598
54599 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54600
54601 [BZ #15536]
54602 * math/libm-test.inc (MAX_EXP): Remove
54603 (MIN_EXP): Define.
54604 (ulp): Use MIN_EXP - MANT_DIG.
54605 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54606
54607 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54608
54609 * po/be.po: Revert last change.
54610 * po/zh_CN.po: Likewise.
54611 * po/header.pot: Likewise.
54612
54613 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54614
54615 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54616 link-libc-deps to empty as target-specific variable.
54617 * Makerules (link-libc-args): New variable.
54618 (libc-for-link): Likewise.
54619 (link-libc-deps): Likewise.
54620 (lib%.so): Depend on $(link-libc-deps). Link with
54621 $(link-libc-args).
54622 (build-module): Link with $(link-libc-args).
54623 (build-module-asneeded): Likewise.
54624 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54625 list of objects.
54626 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54627 target-specific variable.
54628 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54629 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54630 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54631 libc.
54632 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54633 libc and ld.so.
54634 ($(objpfx)libpcprofile.so): Likewise.
54635 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54636 libc_nonshared.a.
54637 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54638 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54639 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54640 $(link-libc-deps).
54641 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54642 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54643 * login/Makefile ($(objpfx)libutil.so): Likewise.
54644 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54645 * math/Makefile ($(objpfx)libm.so): Likewise.
54646 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54647 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54648 variable instead of depending directly on libc.
54649 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54650 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54651 $(link-libc-deps).
54652 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54653 libc.
54654 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54655 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54656 ($(objpfx)libanl.so): Likewise.
54657 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54658 ld.so.
54659 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54660 $(link-libc-deps).
54661 * sysdeps/i386/fpu/Makefile: Remove file.
54662 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54663 ($(objpfx)libm.so): Remove dependency on ld.so.
54664
54665 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54666
54667 [BZ # 15553]
54668 * nis/yp_xdr.c (XDRMAXNAME): Define.
54669 (XDRMAXRECORD): Define.
54670 (xdr_domainname): Use XDRMAXNAME.
54671 (xdr_mapname): Likewise.
54672 (xdr_peername): Likewise.
54673 (xdr_keydat): Use XDRMAXRECORD.
54674 (xdr_valdat): Likewise.
54675
54676 2013-05-30 Jeff Law <law@redhat.com>
54677
54678 [BZ #14256]
54679 * manual/errno.texi (ESTALE): Update to account for more than
54680 just NFS file systems.
54681 * sysdeps/gnu/errlist.c: Regenerated.
54682
54683 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54684
54685 [BZ #15465]
54686 * elf/Makefile (tests): Add tst-null-argv.
54687 (modules-names): Add tst-null-argv-lib.
54688 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54689 (tst-null-argv-ENV): Set environment for tst-null-argv.
54690 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54691 (RTLD_PROGNAME): New macro.
54692 * elf/tst-null-argv.c: New test case.
54693 * elf/tst-null-argv-lib.c: Library for test case.
54694 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54695 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54696 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54697 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54698 * elf/dl-init.c (call_init): Likewise.
54699 (_dl_init): Likewise.
54700 * elf/dl-load.c (print_search_path): Likewise.
54701 (_dl_map_object): Likewise.
54702 * elf/dl-lookup.c (do_lookup_x): Likewise.
54703 (add_dependency): Likewise.
54704 (_dl_lookup_symbol_x): Likewise.
54705 (_dl_debug_bindings): Likewise.
54706 * elf/dl-open.c (_dl_show_scope): Likewise.
54707 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54708 * elf/dl-version.c (match_symbol): Likewise.
54709 (_dl_check_map_versions): Likewise.
54710 * elf/rtld.c (dl_main): Likewise.
54711 (print_unresolved): Use RTLD_PROGNAME.
54712 (print_missing_version): Likewise.
54713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54714 (elf_machine_rela): Likewise.
54715 * sysdeps/powerpc/powerpc32/dl-machine.c
54716 (__process_machine_rela): Likewise.
54717 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54718 Likewise.
54719 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54720 Likewise.
54721 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54722 Likewise.
54723 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54725 Likewise.
54726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54727 Likewise.
54728 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54729
54730 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54731
54732 * po/be.po: Add descriptive title.
54733 * po/zh_CN.po: Likewise.
54734 * po/header.pot: Likewise.
54735
54736 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54737
54738 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54739 error message.
54740 (enlarge_archive): Likewise.
54741
54742 2013-05-28 Ben North <ben@redfrontdoor.org>
54743
54744 * manual/arith.texi (frexp): It is the magnitude of the return
54745 value which lies in [0.5, 1), not the return value itself.
54746
54747 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54748
54749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54750
54751 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54752
54753 * stdio-common/bug26.c (main): Correct fscanf template.
54754
54755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54756 declare _dl_skip_args.
54757
54758 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54759 Don't declare.
54760
54761 * manual/platform.texi: Add missing @end deftypefun.
54762
54763 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54764
54765 [BZ #15529]
54766 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54767 bit of mantissa of 2^16382.
54768 * math/libm-test.inc (hypot_test_data): Add more tests.
54769
54770 * math/libm-test.inc: Add drem and pow10 to list of tested
54771 functions.
54772 (pow10_test): New function.
54773 (drem_test): Likewise.
54774 (drem_test_tonearest): Likewise.
54775 (drem_test_towardzero): Likewise.
54776 (drem_test_downward): Likewise.
54777 (drem_test_upward): Likewise.
54778 (main): Call the new functions.
54779
54780 * math/libm-test.inc (finite_test_data): Remove.
54781 (finite_test): Run tests from isfinite_test_data.
54782 (gamma_test_data): Remove.
54783 (gamma_test): Run tests from lgamma_test_data.
54784 * sysdeps/i386/fpu/libm-test-ulps: Update.
54785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54786
54787 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54788
54789 * manual/platform.texi: Add PowerPC PPR function set documentation.
54790 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54791 implementation.
54792
54793 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54794
54795 * math/libm-test.inc (MAX_EXP): Define.
54796 (ULPDIFF): Define.
54797 (ulp): New function.
54798 (check_float_internal): Use ULPDIFF.
54799 (cpow_test): Disable failing test.
54800 (check_ulp): Test ulp() implementation.
54801 (main): Call check_ulp before starting tests.
54802
54803 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54804
54805 * math/gen-libm-test.pl (generate_testfile): Do not handle
54806 START_DATA and END_DATA.
54807 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54808 END_DATA.
54809 (acos_tonearest_test_data): Likewise.
54810 (acos_towardzero_test_data): Likewise.
54811 (acos_downward_test_data): Likewise.
54812 (acos_upward_test_data): Likewise.
54813 (acosh_test_data): Likewise.
54814 (asin_test_data): Likewise.
54815 (asin_tonearest_test_data): Likewise.
54816 (asin_towardzero_test_data): Likewise.
54817 (asin_downward_test_data): Likewise.
54818 (asin_upward_test_data): Likewise.
54819 (asinh_test_data): Likewise.
54820 (atan_test_data): Likewise.
54821 (atanh_test_data): Likewise.
54822 (atan2_test_data): Likewise.
54823 (cabs_test_data): Likewise.
54824 (cacos_test_data): Likewise.
54825 (cacosh_test_data): Likewise.
54826 (carg_test_data): Likewise.
54827 (casin_test_data): Likewise.
54828 (casinh_test_data): Likewise.
54829 (catan_test_data): Likewise.
54830 (catanh_test_data): Likewise.
54831 (cbrt_test_data): Likewise.
54832 (ccos_test_data): Likewise.
54833 (ccosh_test_data): Likewise.
54834 (ceil_test_data): Likewise.
54835 (cexp_test_data): Likewise.
54836 (cimag_test_data): Likewise.
54837 (clog_test_data): Likewise.
54838 (clog10_test_data): Likewise.
54839 (conj_test_data): Likewise.
54840 (copysign_test_data): Likewise.
54841 (cos_test_data): Likewise.
54842 (cos_tonearest_test_data): Likewise.
54843 (cos_towardzero_test_data): Likewise.
54844 (cos_downward_test_data): Likewise.
54845 (cos_upward_test_data): Likewise.
54846 (cosh_test_data): Likewise.
54847 (cosh_tonearest_test_data): Likewise.
54848 (cosh_towardzero_test_data): Likewise.
54849 (cosh_downward_test_data): Likewise.
54850 (cosh_upward_test_data): Likewise.
54851 (cpow_test_data): Likewise.
54852 (cproj_test_data): Likewise.
54853 (creal_test_data): Likewise.
54854 (csin_test_data): Likewise.
54855 (csinh_test_data): Likewise.
54856 (csqrt_test_data): Likewise.
54857 (ctan_test_data): Likewise.
54858 (ctan_tonearest_test_data): Likewise.
54859 (ctan_towardzero_test_data): Likewise.
54860 (ctan_downward_test_data): Likewise.
54861 (ctan_upward_test_data): Likewise.
54862 (ctanh_test_data): Likewise.
54863 (ctanh_tonearest_test_data): Likewise.
54864 (ctanh_towardzero_test_data): Likewise.
54865 (ctanh_downward_test_data): Likewise.
54866 (ctanh_upward_test_data): Likewise.
54867 (erf_test_data): Likewise.
54868 (erfc_test_data): Likewise.
54869 (exp_test_data): Likewise.
54870 (exp_tonearest_test_data): Likewise.
54871 (exp_towardzero_test_data): Likewise.
54872 (exp_downward_test_data): Likewise.
54873 (exp_upward_test_data): Likewise.
54874 (exp10_test_data): Likewise.
54875 (exp2_test_data): Likewise.
54876 (expm1_test_data): Likewise.
54877 (fabs_test_data): Likewise.
54878 (fdim_test_data): Likewise.
54879 (finite_test_data): Likewise.
54880 (floor_test_data): Likewise.
54881 (fma_test_data): Likewise.
54882 (fma_towardzero_test_data): Likewise.
54883 (fma_downward_test_data): Likewise.
54884 (fma_upward_test_data): Likewise.
54885 (fmax_test_data): Likewise.
54886 (fmin_test_data): Likewise.
54887 (fmod_test_data): Likewise.
54888 (fpclassify_test_data): Likewise.
54889 (frexp_test_data): Likewise.
54890 (gamma_test_data): Likewise.
54891 (hypot_test_data): Likewise.
54892 (ilogb_test_data): Likewise.
54893 (isfinite_test_data): Likewise.
54894 (isgreater_test_data): Likewise.
54895 (isgreaterequal_test_data): Likewise.
54896 (isinf_test_data): Likewise.
54897 (isless_test_data): Likewise.
54898 (islessequal_test_data): Likewise.
54899 (islessgreater_test_data): Likewise.
54900 (isnan_test_data): Likewise.
54901 (isnormal_test_data): Likewise.
54902 (issignaling_test_data): Likewise.
54903 (isunordered_test_data): Likewise.
54904 (j0_test_data): Likewise.
54905 (j1_test_data): Likewise.
54906 (jn_test_data): Likewise.
54907 (ldexp_test_data): Likewise.
54908 (lgamma_test_data): Likewise.
54909 (lrint_test_data): Likewise.
54910 (lrint_tonearest_test_data): Likewise.
54911 (lrint_towardzero_test_data): Likewise.
54912 (lrint_downward_test_data): Likewise.
54913 (lrint_upward_test_data): Likewise.
54914 (llrint_test_data): Likewise.
54915 (llrint_tonearest_test_data): Likewise.
54916 (llrint_towardzero_test_data): Likewise.
54917 (llrint_downward_test_data): Likewise.
54918 (llrint_upward_test_data): Likewise.
54919 (log_test_data): Likewise.
54920 (log10_test_data): Likewise.
54921 (log1p_test_data): Likewise.
54922 (log2_test_data): Likewise.
54923 (logb_test_data): Likewise.
54924 (logb_downward_test_data): Likewise.
54925 (lround_test_data): Likewise.
54926 (llround_test_data): Likewise.
54927 (modf_test_data): Likewise.
54928 (nearbyint_test_data): Likewise.
54929 (nextafter_test_data): Likewise.
54930 (nexttoward_test_data): Likewise.
54931 (pow_test_data): Likewise.
54932 (pow_tonearest_test_data): Likewise.
54933 (pow_towardzero_test_data): Likewise.
54934 (pow_downward_test_data): Likewise.
54935 (pow_upward_test_data): Likewise.
54936 (remainder_test_data): Likewise.
54937 (remainder_tonearest_test_data): Likewise.
54938 (remainder_towardzero_test_data): Likewise.
54939 (remainder_downward_test_data): Likewise.
54940 (remainder_upward_test_data): Likewise.
54941 (remquo_test_data): Likewise.
54942 (rint_test_data): Likewise.
54943 (rint_tonearest_test_data): Likewise.
54944 (rint_towardzero_test_data): Likewise.
54945 (rint_downward_test_data): Likewise.
54946 (rint_upward_test_data): Likewise.
54947 (round_test_data): Likewise.
54948 (scalb_test_data): Likewise.
54949 (scalbn_test_data): Likewise.
54950 (scalbln_test_data): Likewise.
54951 (signbit_test_data): Likewise.
54952 (sin_test_data): Likewise.
54953 (sin_tonearest_test_data): Likewise.
54954 (sin_towardzero_test_data): Likewise.
54955 (sin_downward_test_data): Likewise.
54956 (sin_upward_test_data): Likewise.
54957 (sincos_test_data): Likewise.
54958 (sinh_test_data): Likewise.
54959 (sinh_tonearest_test_data): Likewise.
54960 (sinh_towardzero_test_data): Likewise.
54961 (sinh_downward_test_data): Likewise.
54962 (sinh_upward_test_data): Likewise.
54963 (sqrt_test_data): Likewise.
54964 (tan_test_data): Likewise.
54965 (tan_tonearest_test_data): Likewise.
54966 (tan_towardzero_test_data): Likewise.
54967 (tan_downward_test_data): Likewise.
54968 (tan_upward_test_data): Likewise.
54969 (tanh_test_data): Likewise.
54970 (tgamma_test_data): Likewise.
54971 (trunc_test_data): Likewise.
54972 (y0_test_data): Likewise.
54973 (y1_test_data): Likewise.
54974 (yn_test_data): Likewise.
54975 (significand_test_data): Likewise.
54976
54977 * math/gen-libm-test.pl (@functions): Remove variable.
54978 (generate_testfile): Don't handle START and END lines.
54979 * math/libm-test.inc (START): New macro.
54980 (END): Likewise.
54981 (END_COMPLEX): Likewise.
54982 (acos_test): Use END macro without arguments.
54983 (acos_test_tonearest): Likewise.
54984 (acos_test_towardzero): Likewise.
54985 (acos_test_downward): Likewise.
54986 (acos_test_upward): Likewise.
54987 (acosh_test): Likewise.
54988 (asin_test): Likewise.
54989 (asin_test_tonearest): Likewise.
54990 (asin_test_towardzero): Likewise.
54991 (asin_test_downward): Likewise.
54992 (asin_test_upward): Likewise.
54993 (asinh_test): Likewise.
54994 (atan_test): Likewise.
54995 (atanh_test): Likewise.
54996 (atan2_test): Likewise.
54997 (cabs_test): Likewise.
54998 (cacos_test): Use END_COMPLEX macro without arguments.
54999 (cacosh_test): Likewise.
55000 (carg_test): Use END macro without arguments.
55001 (casin_test): Use END_COMPLEX macro without arguments.
55002 (casinh_test): Likewise.
55003 (catan_test): Likewise.
55004 (catanh_test): Likewise.
55005 (cbrt_test): Use END macro without arguments.
55006 (ccos_test): Use END_COMPLEX macro without arguments.
55007 (ccosh_test): Likewise.
55008 (ceil_test): Use END macro without arguments.
55009 (cexp_test): Use END_COMPLEX macro without arguments.
55010 (cimag_test): Use END macro without arguments.
55011 (clog_test): Use END_COMPLEX macro without arguments.
55012 (clog10_test): Likewise.
55013 (conj_test): Likewise.
55014 (copysign_test): Use END macro without arguments.
55015 (cos_test): Likewise.
55016 (cos_test_tonearest): Likewise.
55017 (cos_test_towardzero): Likewise.
55018 (cos_test_downward): Likewise.
55019 (cos_test_upward): Likewise.
55020 (cosh_test): Likewise.
55021 (cosh_test_tonearest): Likewise.
55022 (cosh_test_towardzero): Likewise.
55023 (cosh_test_downward): Likewise.
55024 (cosh_test_upward): Likewise.
55025 (cpow_test): Use END_COMPLEX macro without arguments.
55026 (cproj_test): Likewise.
55027 (creal_test): Use END macro without arguments.
55028 (csin_test): Use END_COMPLEX macro without arguments.
55029 (csinh_test): Likewise.
55030 (csqrt_test): Likewise.
55031 (ctan_test): Likewise.
55032 (ctan_test_tonearest): Likewise.
55033 (ctan_test_towardzero): Likewise.
55034 (ctan_test_downward): Likewise.
55035 (ctan_test_upward): Likewise.
55036 (ctanh_test): Likewise.
55037 (ctanh_test_tonearest): Likewise.
55038 (ctanh_test_towardzero): Likewise.
55039 (ctanh_test_downward): Likewise.
55040 (ctanh_test_upward): Likewise.
55041 (erf_test): Use END macro without arguments.
55042 (erfc_test): Likewise.
55043 (exp_test): Likewise.
55044 (exp_test_tonearest): Likewise.
55045 (exp_test_towardzero): Likewise.
55046 (exp_test_downward): Likewise.
55047 (exp_test_upward): Likewise.
55048 (exp10_test): Likewise.
55049 (exp2_test): Likewise.
55050 (expm1_test): Likewise.
55051 (fabs_test): Likewise.
55052 (fdim_test): Likewise.
55053 (finite_test): Likewise.
55054 (floor_test): Likewise.
55055 (fma_test): Likewise.
55056 (fma_test_towardzero): Likewise.
55057 (fma_test_downward): Likewise.
55058 (fma_test_upward): Likewise.
55059 (fmax_test): Likewise.
55060 (fmin_test): Likewise.
55061 (fmod_test): Likewise.
55062 (fpclassify_test): Likewise.
55063 (frexp_test): Likewise.
55064 (gamma_test): Likewise.
55065 (hypot_test): Likewise.
55066 (ilogb_test): Likewise.
55067 (isfinite_test): Likewise.
55068 (isgreater_test): Likewise.
55069 (isgreaterequal_test): Likewise.
55070 (isinf_test): Likewise.
55071 (isless_test): Likewise.
55072 (islessequal_test): Likewise.
55073 (islessgreater_test): Likewise.
55074 (isnan_test): Likewise.
55075 (isnormal_test): Likewise.
55076 (issignaling_test): Likewise.
55077 (isunordered_test): Likewise.
55078 (j0_test): Likewise.
55079 (j1_test): Likewise.
55080 (jn_test): Likewise.
55081 (ldexp_test): Likewise.
55082 (lgamma_test): Likewise.
55083 (lrint_test): Likewise.
55084 (lrint_test_tonearest): Likewise.
55085 (lrint_test_towardzero): Likewise.
55086 (lrint_test_downward): Likewise.
55087 (lrint_test_upward): Likewise.
55088 (llrint_test): Likewise.
55089 (llrint_test_tonearest): Likewise.
55090 (llrint_test_towardzero): Likewise.
55091 (llrint_test_downward): Likewise.
55092 (llrint_test_upward): Likewise.
55093 (log_test): Likewise.
55094 (log10_test): Likewise.
55095 (log1p_test): Likewise.
55096 (log2_test): Likewise.
55097 (logb_test): Likewise.
55098 (logb_test_downward): Likewise.
55099 (lround_test): Likewise.
55100 (llround_test): Likewise.
55101 (modf_test): Likewise.
55102 (nearbyint_test): Likewise.
55103 (nextafter_test): Likewise.
55104 (nexttoward_test): Likewise.
55105 (pow_test): Likewise.
55106 (pow_test_tonearest): Likewise.
55107 (pow_test_towardzero): Likewise.
55108 (pow_test_downward): Likewise.
55109 (pow_test_upward): Likewise.
55110 (remainder_test): Likewise.
55111 (remainder_test_tonearest): Likewise.
55112 (remainder_test_towardzero): Likewise.
55113 (remainder_test_downward): Likewise.
55114 (remainder_test_upward): Likewise.
55115 (remquo_test): Likewise.
55116 (rint_test): Likewise.
55117 (rint_test_tonearest): Likewise.
55118 (rint_test_towardzero): Likewise.
55119 (rint_test_downward): Likewise.
55120 (rint_test_upward): Likewise.
55121 (round_test): Likewise.
55122 (scalb_test): Likewise.
55123 (scalbn_test): Likewise.
55124 (scalbln_test): Likewise.
55125 (signbit_test): Likewise.
55126 (sin_test): Likewise.
55127 (sin_test_tonearest): Likewise.
55128 (sin_test_towardzero): Likewise.
55129 (sin_test_downward): Likewise.
55130 (sin_test_upward): Likewise.
55131 (sincos_test): Likewise.
55132 (sinh_test): Likewise.
55133 (sinh_test_tonearest): Likewise.
55134 (sinh_test_towardzero): Likewise.
55135 (sinh_test_downward): Likewise.
55136 (sinh_test_upward): Likewise.
55137 (sqrt_test): Likewise.
55138 (tan_test): Likewise.
55139 (tan_test_tonearest): Likewise.
55140 (tan_test_towardzero): Likewise.
55141 (tan_test_downward): Likewise.
55142 (tan_test_upward): Likewise.
55143 (tanh_test): Likewise.
55144 (tgamma_test): Likewise.
55145 (trunc_test): Likewise.
55146 (y0_test): Likewise.
55147 (y1_test): Likewise.
55148 (yn_test): Likewise.
55149 (significand_test): Likewise.
55150
55151 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55152
55153 [BZ #15381]
55154 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55155
55156 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55157
55158 [BZ #14894]
55159 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55160 __ppc_mdoio and __ppc_mdoom.
55161 * manual/platform.texi: Document new functions __ppc_yield,
55162 __ppc_mdoio and __ppc_mdoom.
55163
55164 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55165
55166 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55167 (main): Mention "tls" pseudo-hwcap is legacy.
55168 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55169
55170 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55171
55172 * math/gen-libm-test.pl (parse_args): Output only string of
55173 arguments as text for test name, not full call or descriptions of
55174 tests for extra outputs.
55175 (generate_testfile): Do not pass function name to parse_args.
55176 Generate this_func variable from START.
55177 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55178 field to arg_str.
55179 (struct test_ff_f_data): Likewise.
55180 (test_ff_f_data_nexttoward): Likewise.
55181 (struct test_fi_f_data): Likewise.
55182 (struct test_fl_f_data): Likewise.
55183 (struct test_if_f_data): Likewise.
55184 (struct test_fff_f_data): Likewise.
55185 (struct test_c_f_data): Likewise.
55186 (struct test_f_f1_data): Likewise. Remove field extra_name.
55187 (struct test_fF_f1_data): Likewise.
55188 (struct test_ffI_f1_data): Likewise.
55189 (struct test_c_c_data): Rename test_name field to arg_str.
55190 (struct test_cc_c_data): Likewise.
55191 (struct test_f_i_data): Likewise.
55192 (struct test_ff_i_data): Likewise.
55193 (struct test_f_l_data): Likewise.
55194 (struct test_f_L_data): Likewise.
55195 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55196 and extra2_name.
55197 (COMMON_TEST_SETUP): New macro.
55198 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55199 (COMMON_TEST_CLEANUP): Likewise.
55200 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55201 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55202 macros.
55203 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55204 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55205 macros.
55206 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55207 (RUN_TEST_fff_f): Take argument string. Call new setup and
55208 cleanup macros.
55209 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55210 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55211 macros.
55212 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55213 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55214 macros.
55215 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55216 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55217 cleanup macros.
55218 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55219 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55220 cleanup macros.
55221 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55222 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55223 cleanup macros.
55224 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55225 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55226 macros.
55227 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55228 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55229 macros.
55230 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55231 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55232 macros.
55233 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55234 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55235 cleanup macros.
55236 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55237 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55238 cleanup macros.
55239 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55240 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55241 macros.
55242 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55243 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55244 cleanup macros.
55245 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55246 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55247 macros.
55248 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55249 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55250 macros.
55251 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55252 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55253 cleanup macros.
55254 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55255
55256 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55257
55258 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55259 to _sifields.sigfault.
55260 (si_addr_lsb): Define new macro.
55261 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55263 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55264
55265 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55266
55267 [BZ #15441]
55268 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55269 returns -1.
55270 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55271 null return -1.
55272 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55273 loading the domain.
55274
55275 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55276
55277 * math/gen-libm-test.pl (parse_args): Do not include expected
55278 result in test name.
55279 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55280 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55281 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55282 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55283 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55285
55286 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55287
55288 * benchtests/Makefile: Sort function entries.
55289
55290 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55291 tanh, asinh, acosh, atanh.
55292 * benchtests/acos-inputs: New file.
55293 * benchtests/acosh-inputs: New file.
55294 * benchtests/asin-inputs: New file.
55295 * benchtests/asinh-inputs: New file.
55296 * benchtests/atanh-inputs: New file.
55297 * benchtests/cosh-inputs: New file.
55298 * benchtests/log-inputs: New file.
55299 * benchtests/sinh-inputs: New file.
55300 * benchtests/tanh-inputs: New file.
55301
55302 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55303
55304 [BZ #15339]
55305 * posix/tst-getaddrinfo4.c: New test.
55306 * posix/Makefile (tests): Add it.
55307
55308 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55309
55310 [BZ #15339]
55311 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55312 when no services were used.
55313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55314 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55315
55316 2013-05-21 Andreas Schwab <schwab@suse.de>
55317
55318 [BZ #15014]
55319 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55320 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55321 successful.
55322 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55323 redundant variable declarations and reallocation of buffer when
55324 parsing as IPv6 address. Always set NSS status when called from
55325 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55326 buffer too small. Correct computation of needed size.
55327 * nss/Makefile (tests): Add test-digits-dots.
55328 * nss/test-digits-dots.c: New test.
55329
55330 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55331
55332 * benchtests/Makefile: Remove instructions for adding
55333 benchmark tests.
55334 * benchtests/README: New file to explain how to execute and
55335 enhance the benchmark tests.
55336
55337 2013-05-21 Andreas Schwab <schwab@suse.de>
55338
55339 [BZ #15493]
55340 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55341 * setjmp/tst-sigsetjmp.c: New test.
55342
55343 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55344
55345 * sysdeps/x86_64/memset.S (memset): New implementation.
55346 (__bzero): Likewise.
55347 (__memset_tail): New function.
55348
55349 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55350
55351 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55352 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55353 __memcpy_sse2_unaligned ifunc selection.
55354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55355 Add memcpy-sse2-unaligned.S.
55356 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55357 Add: __memcpy_sse2_unaligned.
55358
55359 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55360
55361 [BZ #15490]
55362 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55363 math_force_eval before restoring floating-point envrionment.
55364 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55365 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55366 Likewise.
55367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55368 <math_private.h>.
55369 (__nearbyintl): Use math_force_eval before restoring
55370 floating-point environment.
55371 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55372
55373 * math/gen-libm-test.pl (special_functions): Remove.
55374 (parse_args): Don't handle TEST_extra. Handle functions with no
55375 return value.
55376 * math/libm-test.inc (struct test_sincos_data): Replace with
55377 struct test_fFF_11_data.
55378 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55379 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55380 (sincos_test_data): Change element type to struct
55381 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55382 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55383 RUN_TEST_LOOP_sincos.
55384 * math/README.libm-test: Don't mention special handling of
55385 individual functions.
55386 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55387 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55389 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55392
55393 * math/gen-libm-test.pl (get_variable): Remove function.
55394 (parse_args): Don't show pointer parameters to call in test
55395 names. Use "extra output N" in test names for extra outputs
55396 rather than naming variables.
55397
55398 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55399
55400 [BZ #15488]
55401 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55402 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55403 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55404 double tests.
55405 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55406 disable.
55407 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55408 check_long_double.
55409
55410 * math/gen-libm-test.pl (@tests): Remove variable.
55411 ($count): Likewise.
55412 (new_test): Remove function.
55413 (show_exceptions): New function.
55414 (special_functions): Use show_exceptions instead of new_test.
55415 (parse_args): Likewise.
55416 (generate_testfile): Pass only function name in generated call to
55417 print_max_error or print_complex_max_error.
55418 (get_ulps): Do not handle complex tests specially.
55419 (output_test): Rename to ...
55420 (get_all_ulps_for_test): ... this. Return a string rather than
55421 printing to a file. Require ulps to be present.
55422 (output_ulps): Generate arrays rather than #defines.
55423 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55424 (struct ulp_data): New type.
55425 (BUILD_COMPLEX_ULP): Remove macro.
55426 (compare_ulp_data): New function.
55427 (find_ulps): Likewise.
55428 (find_test_ulps): Likewise.
55429 (find_function_ulps): Likewise.
55430 (find_complex_function_ulps): Likewise.
55431 (print_max_error): Determine allowed ulps using
55432 find_function_ulps.
55433 (print_complex_max_error): Determine allowed ulps using
55434 find_complex_function_ulps.
55435 (check_float_internal): Determine max ulps using find_test_ulps.
55436 (check_float): Do not take max_ulp parameter. Update call to
55437 check_float_internal.
55438 (check_complex): Likewise.
55439 (check_int): Do not take max_ulp parameter.
55440 (check_long): Likewise.
55441 (check_bool): Likewise.
55442 (check_longlong): Likewise.
55443 (struct test_f_f_data): Remove max_ulp field.
55444 (struct test_ff_f_data): Likewise.
55445 (struct test_ff_f_data_nexttoward): Likewise.
55446 (struct test_fi_f_data): Likewise.
55447 (struct test_fl_f_data): Likewise.
55448 (struct test_if_f_data): Likewise.
55449 (struct test_fff_f_data): Likewise.
55450 (struct test_c_f_data): Likewise.
55451 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55452 (struct test_fF_f1_data): Likewise.
55453 (struct test_ffI_f1_data): Likewise.
55454 (struct test_c_c_data): Remove max_ulp field.
55455 (struct test_cc_c_data): Likewise.
55456 (struct test_f_i_data): Likewise.
55457 (struct test_ff_i_data): Likewise.
55458 (struct test_f_l_data): Likewise.
55459 (struct test_f_L_data): Likewise.
55460 (struct test_sincos_data): Likewise.
55461 (RUN_TEST_f_f): Do not handle ulps.
55462 (RUN_TEST_LOOP_f_f): Likewise.
55463 (RUN_TEST_2_f): Likewise.
55464 (RUN_TEST_LOOP_2_f): Likewise.
55465 (RUN_TEST_fff_f): Likewise.
55466 (RUN_TEST_LOOP_fff_f): Likewise.
55467 (RUN_TEST_c_f): Likewise.
55468 (RUN_TEST_LOOP_c_f): Likewise.
55469 (RUN_TEST_f_f1): Likewise.
55470 (RUN_TEST_LOOP_f_f1): Likewise.
55471 (RUN_TEST_fF_f1): Likewise.
55472 (RUN_TEST_LOOP_fF_f1): Likewise.
55473 (RUN_TEST_fI_f1): Likewise.
55474 (RUN_TEST_LOOP_fI_f1): Likewise.
55475 (RUN_TEST_ffI_f1): Likewise.
55476 (RUN_TEST_LOOP_ffI_f1): Likewise.
55477 (RUN_TEST_c_c): Likewise.
55478 (RUN_TEST_LOOP_c_c): Likewise.
55479 (RUN_TEST_cc_c): Likewise.
55480 (RUN_TEST_LOOP_cc_c): Likewise.
55481 (RUN_TEST_f_i): Likewise.
55482 (RUN_TEST_LOOP_f_i): Likewise.
55483 (RUN_TEST_f_i_tg): Likewise.
55484 (RUN_TEST_LOOP_f_i_tg): Likewise.
55485 (RUN_TEST_ff_i_tg): Likewise.
55486 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55487 (RUN_TEST_f_b): Likewise.
55488 (RUN_TEST_LOOP_f_b): Likewise.
55489 (RUN_TEST_f_b_tg): Likewise.
55490 (RUN_TEST_LOOP_f_b_tg): Likewise.
55491 (RUN_TEST_f_l): Likewise.
55492 (RUN_TEST_LOOP_f_l): Likewise.
55493 (RUN_TEST_f_L): Likewise.
55494 (RUN_TEST_LOOP_f_L): Likewise.
55495 (RUN_TEST_sincos): Likewise.
55496 (RUN_TEST_LOOP_sincos): Likewise.
55497
55498 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55499
55500 [BZ #15480]
55501 [BZ #15485]
55502 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55503 main case of finite arguments, set rounding mode to FE_TONEAREST
55504 and discard exceptions.
55505 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55506 exceptions.
55507 (remainder_tonearest_test_data): New variable.
55508 (remainder_test_tonearest): New function.
55509 (remainder_towardzero_test_data): New variable.
55510 (remainder_test_towardzero): New function.
55511 (remainder_downward_test_data): New variable.
55512 (remainder_test_downward): New function.
55513 (remainder_upward_test_data): New variable.
55514 (remainder_test_upward): New function.
55515 (main): Call the new test functions.
55516
55517 * math/libm-test.inc (struct test_f_f1_data): Remove field
55518 extra_init.
55519 (struct test_fF_f1_data): Likewise.
55520 (struct test_ffI_f1_data): Likewise.
55521 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55522 based on value of EXTRA_EXPECTED.
55523 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55524 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55525 EXTRA_VAR based on value of EXTRA_EXPECTED.
55526 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55527 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55528 EXTRA_VAR based on value of EXTRA_EXPECTED.
55529 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55530 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55531 EXTRA_VAR based on value of EXTRA_EXPECTED.
55532 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55533 * math/gen-libm-test.pl (parse_args): Don't output initializers
55534 for extra output values.
55535
55536 * math/libm-test.inc (check_int): Expect result to be exactly
55537 equal to expected value and do not handle ulps.
55538 (check_long): Likewise.
55539 (check_longlong): Likewise.
55540
55541 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55542 exceptions.
55543 (cimag_test_data): Likewise.
55544 (conj_test_data): Likewise.
55545 (copysign_test_data): Likewise.
55546 (cproj_test_data): Likewise.
55547 (creal_test_data): Likewise.
55548 (fabs_test_data): Likewise.
55549 (fdim_test_data): Likewise.
55550 (finite_test_data): Likewise.
55551 (floor_test_data): Likewise.
55552 (fmax_test_data): Likewise.
55553 (fmin_test_data): Likewise.
55554 (fmod_test_data): Likewise.
55555 (fpclassify_test_data): Likewise.
55556 (frexp_test_data): Likewise.
55557 (ilogb_test_data): Likewise.
55558 (isfinite_test_data): Likewise.
55559 (isgreater_test_data): Likewise.
55560 (isgreaterequal_test_data): Likewise.
55561 (isinf_test_data): Likewise.
55562 (isless_test_data): Likewise.
55563 (islessequal_test_data): Likewise.
55564 (islessgreater_test_data): Likewise.
55565 (isnan_test_data): Likewise.
55566 (isnormal_test_data): Likewise.
55567 (issignaling_test_data): Likewise.
55568 (isunordered_test_data): Likewise.
55569 (ldexp_test_data): Likewise.
55570 (lrint_test_data): Likewise.
55571 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55572 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55573 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55574 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55575 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55576 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55577 test input.
55578 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55579 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55580 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55581 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55582 that test input.
55583 (lrint_downward_test_data): Test for "inexact" exceptions.
55584 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55585 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55586 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55587 test input.
55588 (lrint_upward_test_data): Test for "inexact" exceptions.
55589 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55590 test input.
55591 (llrint_test_data): Test for "inexact" exceptions.
55592 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55593 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55594 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55595 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55596 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55597 (llrint_downward_test_data): Test for "inexact" exceptions.
55598 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55599 (llrint_upward_test_data): Test for "inexact" exceptions.
55600 (logb_test_data): Likewise.
55601 (logb_downward_test_data): Likewise.
55602 (nextafter_test_data): Likewise.
55603 (nexttoward_test_data): Likewise.
55604 (remainder_test_data): Likewise.
55605 (remquo_test_data): Likewise.
55606 (scalbn_test_data): Likewise.
55607 (scalbln_test_data): Likewise.
55608 (signbit_test_data): Likewise.
55609 (sqrt_test_data): Likewise.
55610 (significand_test_data): Likewise.
55611
55612 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55613
55614 [BZ #15424]
55615 * benchtests/bench-modf.c (struct args): Mark arg0 as
55616 volatile.
55617 * scripts/bench.pl: Mark members of struct args as volatile.
55618
55619 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55620
55621 [BZ # 15497]
55622 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55623 negative infinity on POWER6 or lower.
55624 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55625
55626 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55627
55628 [BZ #15442]
55629 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55630 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55631 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55632 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55633 (_FP_SETQNAN): New macro.
55634 (_FP_SETQNAN_SEMIRAW): Likewise.
55635 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55636 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55637 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55638 (FP_EXTEND): Use _FP_FRAC_SNANP.
55639 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55640 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55641 into account.
55642 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55643 New macro.
55644 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55645 Likewise.
55646
55647 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55648
55649 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55650 with DIVIDE_BY_ZERO_EXCEPTION.
55651 (gamma_test_data): Likewise.
55652 (lgamma_test_data): Likewise.
55653 (log_test_data): Likewise.
55654 (log10_test_data): Likewise.
55655 (log2_test_data): Likewise.
55656 (tgamma_test_data): Likewise.
55657
55658 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55659 (acos_test_tonearest): Likewise.
55660 (acos_test_towardzero): Likewise.
55661 (acos_test_downward): Likewise.
55662 (acos_test_upward): Likewise.
55663 (acosh_test): Likewise.
55664 (asin_test): Likewise.
55665 (asin_test_tonearest): Likewise.
55666 (asin_test_towardzero): Likewise.
55667 (asin_test_downward): Likewise.
55668 (asin_test_upward): Likewise.
55669 (asinh_test): Likewise.
55670 (atan_test): Likewise.
55671 (atanh_test): Likewise.
55672 (atan2_test): Likewise.
55673 (cabs_test): Likewise.
55674 (cacos_test): Likewise.
55675 (cacosh_test): Likewise.
55676 (casin_test): Likewise.
55677 (casinh_test): Likewise.
55678 (catan_test): Likewise.
55679 (catanh_test): Likewise.
55680 (cbrt_test): Likewise.
55681 (ccos_test): Likewise.
55682 (ccosh_test): Likewise.
55683 (cexp_test): Likewise.
55684 (clog_test): Likewise.
55685 (clog10_test): Likewise.
55686 (cos_test): Likewise.
55687 (cos_test_tonearest): Likewise.
55688 (cos_test_towardzero): Likewise.
55689 (cos_test_downward): Likewise.
55690 (cos_test_upward): Likewise.
55691 (cosh_test): Likewise.
55692 (cosh_test_tonearest): Likewise.
55693 (cosh_test_towardzero): Likewise.
55694 (cosh_test_downward): Likewise.
55695 (cosh_test_upward): Likewise.
55696 (cpow_test): Likewise.
55697 (csin_test): Likewise.
55698 (csinh_test): Likewise.
55699 (csqrt_test): Likewise.
55700 (ctan_test): Likewise.
55701 (ctan_test_tonearest): Likewise.
55702 (ctan_test_towardzero): Likewise.
55703 (ctan_test_downward): Likewise.
55704 (ctan_test_upward): Likewise.
55705 (ctanh_test): Likewise.
55706 (ctanh_test_tonearest): Likewise.
55707 (ctanh_test_towardzero): Likewise.
55708 (ctanh_test_downward): Likewise.
55709 (ctanh_test_upward): Likewise.
55710 (erf_test): Likewise.
55711 (erfc_test): Likewise.
55712 (exp_test): Likewise.
55713 (exp_test_tonearest): Likewise.
55714 (exp_test_towardzero): Likewise.
55715 (exp_test_downward): Likewise.
55716 (exp_test_upward): Likewise.
55717 (exp10_test): Likewise.
55718 (exp2_test): Likewise.
55719 (expm1_test): Likewise.
55720 (fmod_test): Likewise.
55721 (gamma_test): Likewise.
55722 (hypot_test): Likewise.
55723 (j0_test): Likewise.
55724 (j1_test): Likewise.
55725 (jn_test): Likewise.
55726 (lgamma_test): Likewise.
55727 (log_test): Likewise.
55728 (log10_test): Likewise.
55729 (log1p_test): Likewise.
55730 (log2_test): Likewise.
55731 (logb_test_downward): Likewise.
55732 (pow_test): Likewise.
55733 (pow_test_tonearest): Likewise.
55734 (pow_test_towardzero): Likewise.
55735 (pow_test_downward): Likewise.
55736 (pow_test_upward): Likewise.
55737 (remainder_test): Likewise.
55738 (remquo_test): Likewise.
55739 (sin_test): Likewise.
55740 (sin_test_tonearest): Likewise.
55741 (sin_test_towardzero): Likewise.
55742 (sin_test_downward): Likewise.
55743 (sin_test_upward): Likewise.
55744 (sincos_test): Likewise.
55745 (sinh_test): Likewise.
55746 (sinh_test_tonearest): Likewise.
55747 (sinh_test_towardzero): Likewise.
55748 (sinh_test_downward): Likewise.
55749 (sinh_test_upward): Likewise.
55750 (sqrt_test): Likewise.
55751 (tan_test): Likewise.
55752 (tan_test_tonearest): Likewise.
55753 (tan_test_towardzero): Likewise.
55754 (tan_test_downward): Likewise.
55755 (tan_test_upward): Likewise.
55756 (tanh_test): Likewise.
55757 (tgamma_test): Likewise.
55758 (y0_test): Likewise.
55759 (y1_test): Likewise.
55760 (yn_test): Likewise.
55761
55762 * math/gen-libm-test.pl (adjust_arg): Remove function.
55763 (special_function): Remove argument $in_func. Only handle
55764 generating output for tables of tests, not inside functions.
55765 (parse_args): Likewise.
55766 (generate_testfile): Remove variable $in_func. Update call to
55767 parse_args.
55768 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55769 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55770 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55771 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55772 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55773 (MAX_VALUE_INIT): Rename macro to max_value.
55774 (MIN_VALUE_INIT): Rename macro to min_value.
55775 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55776 (plus_zero): Remove variable.
55777 (minus_zero): Likewise.
55778 (plus_infty): Likewise.
55779 (minus_infty): Likewise.
55780 (qnan_value): Likewise.
55781 (max_value): Likewise.
55782 (min_value): Likewise.
55783 (min_subnorm_value): Likewise.
55784
55785 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55786
55787 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55788 uint64_t or uint32_t usage.
55789 * crypt/sha256-block.c: Likewise.
55790 * crypt/sha256-crypt.c: Likewise.
55791 * crypt/sha256.c: Likewise.
55792 * crypt/sha512-block.c: Likewise.
55793 * crypt/sha512-crypt.c: Likewise.
55794 * crypt/sha512.c: Likewise.
55795 * debug/backtrace-tst.c: Likewise.
55796 * debug/pcprofiledump.c: Likewise.
55797 * elf/cache.c: Likewise.
55798 * elf/dl-cache.c: Likewise.
55799 * elf/dl-misc.c: Likewise.
55800 * elf/dl-profile.c: Likewise.
55801 * elf/dl-support.c: Likewise.
55802 * elf/ldconfig.c: Likewise.
55803 * elf/sprof.c: Likewise.
55804 * iconv/dummy-repertoire.c: Likewise.
55805 * iconv/iconv_charmap.c: Likewise.
55806 * iconv/skeleton.c: Likewise.
55807 * iconvdata/8bit-generic.c: Likewise.
55808 * iconvdata/cp737.h: Likewise.
55809 * iconvdata/cp775.h: Likewise.
55810 * iconvdata/ibm1008.h: Likewise.
55811 * iconvdata/ibm1025.h: Likewise.
55812 * iconvdata/ibm1046.h: Likewise.
55813 * iconvdata/ibm1097.h: Likewise.
55814 * iconvdata/ibm1112.h: Likewise.
55815 * iconvdata/ibm1122.h: Likewise.
55816 * iconvdata/ibm1123.h: Likewise.
55817 * iconvdata/ibm1124.h: Likewise.
55818 * iconvdata/ibm1129.h: Likewise.
55819 * iconvdata/ibm1130.h: Likewise.
55820 * iconvdata/ibm1132.h: Likewise.
55821 * iconvdata/ibm1133.h: Likewise.
55822 * iconvdata/ibm1137.h: Likewise.
55823 * iconvdata/ibm1140.h: Likewise.
55824 * iconvdata/ibm1141.h: Likewise.
55825 * iconvdata/ibm1142.h: Likewise.
55826 * iconvdata/ibm1143.h: Likewise.
55827 * iconvdata/ibm1144.h: Likewise.
55828 * iconvdata/ibm1145.h: Likewise.
55829 * iconvdata/ibm1146.h: Likewise.
55830 * iconvdata/ibm1147.h: Likewise.
55831 * iconvdata/ibm1148.h: Likewise.
55832 * iconvdata/ibm1149.h: Likewise.
55833 * iconvdata/ibm1153.h: Likewise.
55834 * iconvdata/ibm1154.h: Likewise.
55835 * iconvdata/ibm1155.h: Likewise.
55836 * iconvdata/ibm1156.h: Likewise.
55837 * iconvdata/ibm1157.h: Likewise.
55838 * iconvdata/ibm1158.h: Likewise.
55839 * iconvdata/ibm1160.h: Likewise.
55840 * iconvdata/ibm1161.h: Likewise.
55841 * iconvdata/ibm1162.h: Likewise.
55842 * iconvdata/ibm1163.h: Likewise.
55843 * iconvdata/ibm1164.h: Likewise.
55844 * iconvdata/ibm1166.h: Likewise.
55845 * iconvdata/ibm1167.h: Likewise.
55846 * iconvdata/ibm12712.h: Likewise.
55847 * iconvdata/ibm1390.h: Likewise.
55848 * iconvdata/ibm1399.h: Likewise.
55849 * iconvdata/ibm16804.h: Likewise.
55850 * iconvdata/ibm4517.h: Likewise.
55851 * iconvdata/ibm4899.h: Likewise.
55852 * iconvdata/ibm4909.h: Likewise.
55853 * iconvdata/ibm4971.h: Likewise.
55854 * iconvdata/ibm5347.h: Likewise.
55855 * iconvdata/ibm803.h: Likewise.
55856 * iconvdata/ibm856.h: Likewise.
55857 * iconvdata/ibm901.h: Likewise.
55858 * iconvdata/ibm902.h: Likewise.
55859 * iconvdata/ibm9030.h: Likewise.
55860 * iconvdata/ibm9066.h: Likewise.
55861 * iconvdata/ibm921.h: Likewise.
55862 * iconvdata/ibm922.h: Likewise.
55863 * iconvdata/ibm9448.h: Likewise.
55864 * iconvdata/isiri-3342.h: Likewise.
55865 * iconvdata/jis0201.h: Likewise.
55866 * include/link.h: Likewise.
55867 * include/netdb.h: Likewise.
55868 * inet/check_native.c: Likewise.
55869 * inet/check_pf.c: Likewise.
55870 * inet/getipv4sourcefilter.c: Likewise.
55871 * inet/getnameinfo.c: Likewise.
55872 * inet/getsourcefilter.c: Likewise.
55873 * inet/htonl.c: Likewise.
55874 * inet/setipv4sourcefilter.c: Likewise.
55875 * inet/setsourcefilter.c: Likewise.
55876 * inet/test-inet6_opt.c: Likewise.
55877 * inet/tst-network.c: Likewise.
55878 * locale/C-collate.c: Likewise.
55879 * locale/C-ctype.c: Likewise.
55880 * locale/C-time.c: Likewise.
55881 * locale/C-translit.h: Likewise.
55882 * locale/loadarchive.c: Likewise.
55883 * locale/programs/3level.h: Likewise.
55884 * locale/programs/charmap.c: Likewise.
55885 * locale/programs/charmap.h: Likewise.
55886 * locale/programs/ld-address.c: Likewise.
55887 * locale/programs/ld-collate.c: Likewise.
55888 * locale/programs/ld-ctype.c: Likewise.
55889 * locale/programs/ld-identification.c: Likewise.
55890 * locale/programs/ld-measurement.c: Likewise.
55891 * locale/programs/ld-messages.c: Likewise.
55892 * locale/programs/ld-monetary.c: Likewise.
55893 * locale/programs/ld-name.c: Likewise.
55894 * locale/programs/ld-numeric.c: Likewise.
55895 * locale/programs/ld-paper.c: Likewise.
55896 * locale/programs/ld-telephone.c: Likewise.
55897 * locale/programs/ld-time.c: Likewise.
55898 * locale/programs/linereader.c: Likewise.
55899 * locale/programs/locale.c: Likewise.
55900 * locale/programs/locarchive.c: Likewise.
55901 * locale/programs/locfile.h: Likewise.
55902 * locale/programs/repertoire.c: Likewise.
55903 * locale/programs/simple-hash.c: Likewise.
55904 * locale/programs/simple-hash.h: Likewise.
55905 * malloc/memusage.c: Likewise.
55906 * malloc/memusagestat.c: Likewise.
55907 * nis/nis_defaults.c: Likewise.
55908 * nis/nis_hash.c: Likewise.
55909 * nis/nis_print.c: Likewise.
55910 * nis/nis_xdr.c: Likewise.
55911 * nscd/connections.c: Likewise.
55912 * nscd/hstcache.c: Likewise.
55913 * nscd/nscd_gethst_r.c: Likewise.
55914 * nscd/nscd_getserv_r.c: Likewise.
55915 * nscd/nscd_helper.c: Likewise.
55916 * nscd/servicescache.c: Likewise.
55917 * nss/makedb.c: Likewise.
55918 * nss/nss_db/db-XXX.c: Likewise.
55919 * nss/nss_db/db-initgroups.c: Likewise.
55920 * nss/nss_db/db-netgrp.c: Likewise.
55921 * nss/nss_files/files-network.c: Likewise.
55922 * nss/nss_files/files-parse.c: Likewise.
55923 * posix/bug-regex5.c: Likewise.
55924 * posix/fnmatch_loop.c: Likewise.
55925 * posix/regcomp.c: Likewise.
55926 * posix/regexec.c: Likewise.
55927 * posix/tst-rfc3484-2.c: Likewise.
55928 * posix/tst-rfc3484-3.c: Likewise.
55929 * posix/tst-rfc3484.c: Likewise.
55930 * resolv/nss_dns/dns-canon.c: Likewise.
55931 * resolv/nss_dns/dns-network.c: Likewise.
55932 * resolv/res_init.c: Likewise.
55933 * resolv/res_mkquery.c: Likewise.
55934 * resolv/tst-aton.c: Likewise.
55935 * stdlib/cxa_atexit.c: Likewise.
55936 * stdlib/cxa_finalize.c: Likewise.
55937 * stdlib/gen-fpioconst.c: Likewise.
55938 * stdlib/strtol_l.c: Likewise.
55939 * string/tst-endian.c: Likewise.
55940 * sunrpc/auth_des.c: Likewise.
55941 * sunrpc/clnt_udp.c: Likewise.
55942 * sunrpc/rtime.c: Likewise.
55943 * sunrpc/svcauth_des.c: Likewise.
55944 * sunrpc/xdr.c: Likewise.
55945 * sunrpc/xdr_intXX_t.c: Likewise.
55946 * sunrpc/xdr_rec.c: Likewise.
55947 * sysdeps/generic/ldconfig.h: Likewise.
55948 * sysdeps/generic/ldsodefs.h: Likewise.
55949 * sysdeps/generic/memusage.h: Likewise.
55950 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55951 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55952 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55953 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55954 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55955 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55957 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55958 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55960 * sysdeps/posix/getaddrinfo.c: Likewise.
55961 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55962 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55963 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55964 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55965 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55966 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55967 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55968 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55969 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55970 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55971 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55972 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55973 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55974 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55975 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55976 * sysdeps/x86_64/dl-tls.h: Likewise.
55977 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55978 * time/alt_digit.c: Likewise.
55979 * time/era.c: Likewise.
55980 * wcsmbs/tst-c16c32-1.c: Likewise.
55981
55982 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55983
55984 * math/libm-test.inc (struct test_sincos_data): New type.
55985 (RUN_TEST_LOOP_sincos): New macro.
55986 (sincos_test_data): New variable.
55987 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55988
55989 2013-05-16 Richard Henderson <rth@redhat.com>
55990
55991 * math/atest-exp2.c (LIMB64): New macro.
55992 (CONSTSZ): New macro.
55993 (mp_exp1, mp_exp_m1, mp_log2): New variables.
55994 (hexdig): Move ...
55995 (print_mpn_fp): ... to function scope.
55996 (read_mpn_hex): Remove.
55997 (get_log2): Remove.
55998 (exp2_mpn): Use mp_log2.
55999 (main): Use mp_exp1.
56000
56001 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56002
56003 * math/libm-test.inc: Remove comment about not testing "inexact"
56004 exceptions.
56005 (INEXACT_EXCEPTION): New macro.
56006 (NO_INEXACT_EXCEPTION): Likewise.
56007 (INVALID_EXCEPTION_OK): Update value.
56008 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56009 (OVERFLOW_EXCEPTION_OK): Likewise.
56010 (UNDERFLOW_EXCEPTION_OK): Likewise.
56011 (IGNORE_ZERO_INF_SIGN): Likewise.
56012 (ERRNO_UNCHANGED): Likewise.
56013 (ERRNO_EDOM): Likewise.
56014 (ERRNO_ERANGE): Likewise.
56015 (test_exceptions): Handle testing "inexact" exceptions.
56016 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56017 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56018 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56019 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56020 INEXACT_EXCEPTION.
56021 (rint_towardzero_test_data): Likewise.
56022 (rint_downward_test_data): Likewise.
56023 (rint_upward_test_data): Likewise.
56024
56025 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56026 with OVERFLOW_EXCEPTION.
56027 (exp10_test_data): Likewise.
56028 (exp2_test_data): Likewise.
56029 (expm1_test_data): Likewise.
56030 (lgamma_test_data): Likewise.
56031 (pow_test_data): Likewise.
56032 (tgamma_test_data): Likewise.
56033 (yn_test_data): Remove duplicate test of overflow.
56034
56035 * math/libm-test.inc (struct test_cc_c_data): New type.
56036 (RUN_TEST_LOOP_cc_c): New macro.
56037 (cpow_test_data): New variable.
56038 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56039
56040 * math/libm-test.inc (struct test_f_L_data): New type.
56041 (RUN_TEST_LOOP_f_L): New macro.
56042 (llrint_test_data): New variable.
56043 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56044 (llrint_tonearest_test_data): New variable.
56045 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56046 (llrint_towardzero_test_data): New variable.
56047 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56048 (llrint_downward_test_data): New variable.
56049 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56050 (llrint_upward_test_data): New variable.
56051 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56052 (llround_test_data): New variable.
56053 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56054
56055 2013-05-13 Peter Collingbourne <pcc@google.com>
56056
56057 * math/atest-exp2.c (get_log2): Remove const attribute.
56058
56059 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56060
56061 * math/libm-test.inc (struct test_f_l_data): New type.
56062 (RUN_TEST_LOOP_f_l): New macro.
56063 (lrint_test_data): New variable.
56064 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56065 (lrint_tonearest_test_data): New variable.
56066 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56067 (lrint_towardzero_test_data): New variable.
56068 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56069 (lrint_downward_test_data): New variable.
56070 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56071 (lrint_upward_test_data): New variable.
56072 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56073 (lround_test_data): New variable.
56074 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56075
56076 2013-05-15 Peter Collingbourne <pcc@google.com>
56077
56078 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56079 (EXTRACT_WORDS64) Use where appropriate.
56080 (INSERT_WORDS64) Likewise.
56081
56082 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56083 constraints with x constraints.
56084 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56085
56086 * malloc/obstack.c (_obstack_compat): Add initializer.
56087
56088 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56089
56090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56091 si_trapno and add si_addr_lsb to _sifields.sigfault.
56092 (si_trapno): Remove macro.
56093 (si_addr_lsb): Define new macro.
56094 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56095
56096 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56097
56098 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56099 instead of TEST_f_l.
56100 (llrint_test_tonearest): Likewise.
56101 (llrint_test_towardzero): Likewise.
56102 (llrint_test_downward): Likewise.
56103 (llrint_test_upward): Likewise.
56104 (llround_test): Likewise.
56105
56106 * math/libm-test.inc (struct test_f_i_data): Add comment.
56107 (RUN_TEST_LOOP_f_b): New macro.
56108 (RUN_TEST_LOOP_f_b_tg): Likewise.
56109 (finite_test_data): New variable.
56110 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56111 (isfinite_test_data): New variable.
56112 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56113 (isinf_test_data): New variable.
56114 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56115 (isnan_test_data): New variable.
56116 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56117 (isnormal_test_data): New variable.
56118 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56119 (issignaling_test_data): New variable.
56120 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56121 (signbit_test_data): New variable.
56122 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56123
56124 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56125 with INVALID_EXCEPTION.
56126 (acosh_test_data): Likewise.
56127 (asin_test_data): Likewise.
56128 (atanh_test_data): Likewise.
56129 (fmod_test_data): Likewise.
56130 (log_test_data): Likewise.
56131 (log10_test_data): Likewise.
56132 (log2_test_data): Likewise.
56133 (pow_test_data): Likewise.
56134 (sqrt_test_data): Likewise.
56135 (y0_test_data): Likewise.
56136 (y1_test_data): Likewise.
56137 (yn_test_data): Likewise.
56138
56139 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56140 function contents.
56141
56142 * math/libm-test.inc (struct test_ff_i_data): New type.
56143 (RUN_TEST_LOOP_ff_i_tg): New macro.
56144 (isgreater_test_data): New variable.
56145 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56146 (isgreaterequal_test_data): New variable.
56147 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56148 (isless_test_data): New variable.
56149 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56150 (islessequal_test_data): New variable.
56151 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56152 (islessgreater_test_data): New variable.
56153 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56154 (isunordered_test_data): New variable.
56155 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56156
56157 2013-05-14 David S. Miller <davem@davemloft.net>
56158
56159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56160
56161 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56162
56163 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56164
56165 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56166 extra_test to int.
56167 (struct test_f_i_data): Change type of max_ulp to int.
56168
56169 * math/libm-test.inc (test_ffI_f1_data): New type.
56170 (RUN_TEST_LOOP_ffI_f1): New macro.
56171 (remquo_test_data): New variable.
56172 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56173
56174 * setjmp/tst-setjmp-fp.c: New file.
56175 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56176 (link-libm): New variable.
56177 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56178
56179 * math/libm-test.inc (struct test_f_i_data): New type.
56180 (RUN_TEST_LOOP_f_i): New macro.
56181 (RUN_TEST_LOOP_f_i_tg): Likewise.
56182 (fpclassify_test_data): New variable.
56183 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56184 (ilogb_test_data): New variable.
56185 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56186
56187 * math/libm-test.inc (scalbln_test): Correct function name in END
56188 call.
56189
56190 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56191 (RUN_TEST_LOOP_fI_f1): New macro.
56192 (frexp_test_data): New variable.
56193 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56194
56195 * math/libm-test.inc (struct test_fF_f1_data): New type.
56196 (RUN_TEST_LOOP_fF_f1): New macro.
56197 (modf_test_data): New variable.
56198 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56199
56200 * math/libm-test.inc (struct test_f_f1_data): New type.
56201 (RUN_TEST_LOOP_f_f1): New macro.
56202 (gamma_test_data): New variable.
56203 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56204 (lgamma_test_data): New variable.
56205 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56206
56207 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56208
56209 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56210 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56211 (main): Comment "tls" pseudo-hwcap.
56212
56213 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56214
56215 * math/libm-test.inc (struct test_fl_f_data): New type.
56216 (RUN_TEST_LOOP_fl_f): New variable.
56217 (scalbln_test_data): New variable.
56218 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56219
56220 * math/libm-test.inc (struct test_fi_f_data): New type.
56221 (RUN_TEST_LOOP_fi_f): New macro.
56222 (ldexp_test_data): New variable.
56223 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56224 (scalbn_test_data): New variable.
56225 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56226
56227 * math/libm-test.inc (struct test_c_f_data): New type.
56228 (RUN_TEST_LOOP_c_f): New macro.
56229 (cabs_test_data): New variable.
56230 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56231 (carg_test_data): New variable.
56232 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56233 (cimag_test_data): New variable.
56234 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56235 (creal_test_data): New variable.
56236 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56237
56238 * math/libm-test.inc (struct test_if_f_data): New type.
56239 (RUN_TEST_LOOP_if_f): New macro.
56240 (jn_test_data): New variable.
56241 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56242 (yn_test_data): New variable.
56243 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56244
56245 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56246
56247 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56248
56249 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56250 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56251
56252 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56253
56254 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56255 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56256 (bench-deps): Add bench-timing.h.
56257 * benchtests-bench-skeleton.c: Include bench-timing.h.
56258 (main): Use TIMING_* macros instead of clock_gettime.
56259 * benchtests/bench-timing.h: New file.
56260
56261 [BZ #14582]
56262 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56263 Renamed from _LIB_VERSION.
56264 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56265
56266 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56267
56268 * math/libm-test.inc (struct test_fff_f_data): New type.
56269 (RUN_TEST_LOOP_fff_f): New macro.
56270 (fma_test_data): New variable.
56271 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56272 (fma_towardzero_test_data): New variable.
56273 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56274 (fma_downward_test_data): New variable.
56275 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56276 (fma_upward_test_data): New variable.
56277 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56278
56279 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56280 (struct test_c_c_data): New type.
56281 (RUN_TEST_LOOP_c_c): New macro.
56282 (cacos_test_data): New variable.
56283 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56284 (cacosh_test_data): New variable.
56285 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56286 (casin_test_data): New variable.
56287 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56288 (casinh_test_data): New variable.
56289 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56290 (catan_test_data): New variable.
56291 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56292 (catanh_test_data): New variable.
56293 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56294 (ccos_test_data): New variable.
56295 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56296 (ccosh_test_data): New variable.
56297 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56298 (cexp_test_data): New variable.
56299 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56300 (clog_test_data): New variable.
56301 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56302 (clog10_test_data): New variable.
56303 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56304 (conj_test_data): New variable.
56305 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56306 (cproj_test_data): New variable.
56307 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56308 (csin_test_data): New variable.
56309 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56310 (csinh_test_data): New variable.
56311 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56312 (csqrt_test_data): New variable.
56313 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56314 (ctan_test_data): New variable.
56315 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56316 (ctan_tonearest_test_data): New variable.
56317 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56318 (ctan_towardzero_test_data): New variable.
56319 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56320 (ctan_downward_test_data): New variable.
56321 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56322 (ctan_upward_test_data): New variable.
56323 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56324 (ctanh_test_data): New variable.
56325 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56326 (ctanh_tonearest_test_data): New variable.
56327 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56328 (ctanh_towardzero_test_data): New variable.
56329 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56330 (ctanh_downward_test_data): New variable.
56331 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56332 (ctanh_upward_test_data): New variable.
56333 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56334 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56335 of BUILD_COMPLEX.
56336
56337 * math/libm-test.inc (struct test_ff_f_data): New type.
56338 (struct test_ff_f_data_nexttoward): Likewise.
56339 (RUN_TEST_LOOP_2_f): New macro.
56340 (RUN_TEST_LOOP_ff_f): Likewise.
56341 (atan2_test_data): New variable.
56342 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56343 (copysign_test_data): New variable.
56344 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56345 (fdim_test_data): New variable.
56346 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56347 (fmax_test_data): New variable.
56348 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56349 (fmin_test_data): New variable.
56350 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56351 (fmod_test_data): New variable.
56352 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56353 (hypot_test_data): New variable.
56354 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56355 (nextafter_test_data): New variable.
56356 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56357 (nexttoward_test_data): New variable.
56358 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56359 (pow_test_data): New variable.
56360 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56361 (pow_tonearest_test_data): New variable.
56362 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56363 (pow_towardzero_test_data): New variable.
56364 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56365 (pow_downward_test_data): New variable.
56366 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56367 (pow_upward_test_data): New variable.
56368 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56369 (remainder_test_data): New variable.
56370 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56371 (scalb_test_data): New variable.
56372 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56373 * sysdeps/i386/fpu/libm-test-ulps: Update.
56374
56375 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56376
56377 * math/libm-test.inc (fma_test): Use max_value instead of local
56378 variable fltmax.
56379 (nextafter_test): Likewise.
56380
56381 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56382 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56383 (acos_downward_test_data): New variable.
56384 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56385 (acos_upward_test_data): New variable.
56386 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56387 (acosh_test_data): New variable.
56388 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56389 (asin_test_data): New variable.
56390 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56391 (asin_tonearest_test_data): New variable.
56392 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56393 (asin_towardzero_test_data): New variable.
56394 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56395 (asin_downward_test_data): New variable.
56396 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56397 (asin_upward_test_data): New variable.
56398 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56399 (asinh_test_data): New variable.
56400 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56401 (atan_test_data): New variable.
56402 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56403 (atanh_test_data): New variable.
56404 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56405 (cbrt_test_data): New variable.
56406 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56407 (ceil_test_data): New variable.
56408 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56409 (cos_test_data): New variable.
56410 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56411 (cos_tonearest_test_data): New variable.
56412 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56413 (cos_towardzero_test_data): New variable.
56414 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56415 (cos_downward_test_data): New variable.
56416 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56417 (cos_upward_test_data): New variable.
56418 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56419 (cosh_test_data): New variable.
56420 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56421 (cosh_tonearest_test_data): New variable.
56422 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56423 (cosh_towardzero_test_data): New variable.
56424 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56425 (cosh_downward_test_data): New variable.
56426 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56427 (cosh_upward_test_data): New variable.
56428 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56429 (erf_test_data): New variable.
56430 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56431 (erfc_test_data): New variable.
56432 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56433 (exp_test_data): New variable.
56434 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56435 (exp_tonearest_test_data): New variable.
56436 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56437 (exp_towardzero_test_data): New variable.
56438 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56439 (exp_downward_test_data): New variable.
56440 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56441 (exp_upward_test_data): New variable.
56442 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56443 (exp10_test_data): New variable.
56444 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56445 (exp2_test_data): New variable.
56446 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56447 (expm1_test_data): New variable.
56448 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56449 (fabs_test_data): New variable.
56450 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56451 (floor_test_data): New variable.
56452 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56453 (j0_test_data): New variable.
56454 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56455 (j1_test_data): New variable.
56456 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56457 (log_test_data): New variable.
56458 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56459 (log10_test_data): New variable.
56460 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56461 (log1p_test_data): New variable.
56462 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56463 (log2_test_data): New variable.
56464 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56465 (logb_test_data): New variable.
56466 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56467 (logb_downward_test_data): New variable.
56468 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56469 (nearbyint_test_data): New variable.
56470 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56471 (rint_test_data): New variable.
56472 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56473 (rint_tonearest_test_data): New variable.
56474 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56475 (rint_towardzero_test_data): New variable.
56476 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56477 (rint_downward_test_data): New variable.
56478 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56479 (rint_upward_test_data): New variable.
56480 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56481 (round_test_data): New variable.
56482 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56483 (sin_test_data): New variable.
56484 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56485 (sin_tonearest_test_data): New variable.
56486 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56487 (sin_towardzero_test_data): New variable.
56488 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56489 (sin_downward_test_data): New variable.
56490 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56491 (sin_upward_test_data): New variable.
56492 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56493 (sinh_test_data): New variable.
56494 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56495 (sinh_tonearest_test_data): New variable.
56496 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56497 (sinh_towardzero_test_data): New variable.
56498 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56499 (sinh_downward_test_data): New variable.
56500 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56501 (sinh_upward_test_data): New variable.
56502 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56503 (sqrt_test_data): New variable.
56504 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56505 (tan_test_data): New variable.
56506 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56507 (tan_tonearest_test_data): New variable.
56508 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56509 (tan_towardzero_test_data): New variable.
56510 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56511 (tan_downward_test_data): New variable.
56512 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56513 (tan_upward_test_data): New variable.
56514 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56515 (tanh_test_data): New variable.
56516 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56517 (tgamma_test_data): New variable.
56518 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56519 (trunc_test_data): New variable.
56520 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56521 (y0_test_data): New variable.
56522 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56523 (y1_test_data): New variable.
56524 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56525 (significand_test_data): New variable.
56526 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56527
56528 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56529
56530 [BZ #12387]
56531 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56532
56533 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56534
56535 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56536
56537 2013-05-10 Andreas Jaeger <aj@suse.de>
56538
56539 [BZ #15448]
56540 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56541 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56542
56543 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56544
56545 * math/gen-libm-test.pl (adjust_arg): New function.
56546 (special_functions): Handle generating output in both functions
56547 and arrays.
56548 (parse_args): Likewise.
56549 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56550 $in_func argument to parse_args.
56551 * math/libm-test.inc (struct test_f_f_data): New type.
56552 (IF_ROUND_INIT_): New macro.
56553 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56554 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56555 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56556 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56557 (ROUND_RESTORE_): Likewise.
56558 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56559 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56560 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56561 (ROUND_RESTORE_FE_UPWARD): Likewise.
56562 (RUN_TEST_LOOP_f_f): New macro.
56563 (acos_test_data): New variable.
56564 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56565 (acos_tonearest_test_data): New variable.
56566 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56567
56568 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56569
56570 * benchtests/bench-skeleton.c (startup): Fix coding style.
56571
56572 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56573
56574 [BZ #6809]
56575 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56576 negative infinity argument.
56577 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56578 negative infinity argument.
56579 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56580 negative infinity argument.
56581 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56582 domain errors.
56583
56584 2013-05-10 Florian Weimer <fweimer@redhat.com>
56585
56586 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56587 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56588 * iconv/iconv_prog.c (main): Likewise.
56589 * locale/programs/charmap-dir.c (charmap_readdir)
56590 (fopen_uncompressed): Likewise.
56591 * locale/programs/locfile.c (siblings_uncached)
56592 (write_locale_data): Use lstat64 instead of lstat.
56593 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56594 stat.
56595
56596 2013-05-10 Andreas Jaeger <aj@suse.de>
56597
56598 [BZ #15395]
56599 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56600 localization.
56601 Include <locale.h>.
56602
56603 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56604
56605 * elf/dl-close.c (_dl_close_worker): Add comments.
56606
56607 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56608
56609 [BZ #15359]
56610 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56611 high part of pi/2.
56612 (__ieee754_rem_pio2l): Update comments.
56613
56614 [BZ #15429]
56615 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56616 high part of pi/2.
56617 (__ieee754_rem_pio2l): Update comments.
56618
56619 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56620 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56621
56622 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56623 M_PI_4l.
56624
56625 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56626 (M_PI_34_LOG10El): Likewise.
56627 (M_PI2_LOG10El): Likewise.
56628 (M_PI4_LOG10El): Likewise.
56629 (M_PI_LOG10El): Likewise.
56630
56631 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56632
56633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56634
56635 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56636
56637 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56638 (MINUS_ZERO_INIT): Likewise.
56639 (PLUS_INFTY_INIT): Likewise.
56640 (MINUS_INFTY_INIT): Likewise.
56641 (QNAN_VALUE_INIT): Likewise.
56642 (MAX_VALUE_INIT): Likewise.
56643 (MIN_VALUE_INIT): Likewise.
56644 (MIN_SUBNORM_VALUE_INIT): Likewise.
56645 (plus_zero): Initialize with PLUS_ZERO_INIT.
56646 (minus_zero): Initialize with MINUS_ZERO_INIT.
56647 (plus_infty): Initialize with PLUS_INFTY_INIT.
56648 (minus_infty): Initialize with MINUS_INFTY_INIT.
56649 (qnan_value): Initialize with QNAN_VALUE_INIT.
56650 (max_value): Initialize with MAX_VALUE_INIT.
56651 (min_value): Initialize with MIN_VALUE_INIT.
56652 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56653
56654 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56655 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56656 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56657 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56658
56659 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56660 (RUN_TEST_2_f): Likewise.
56661 (RUN_TEST_ff_f): Likewise.
56662 (RUN_TEST_fi_f): Likewise.
56663 (RUN_TEST_fl_f): Likewise.
56664 (RUN_TEST_fff_f): Likewise.
56665 (RUN_TEST_c_f): Likewise.
56666 (RUN_TEST_f_f1): Likewise.
56667 (RUN_TEST_fF_f1): Likewise.
56668 (RUN_TEST_fI_f1): Likewise.
56669 (RUN_TEST_ffI_f1): Likewise.
56670 (RUN_TEST_c_c): Likewise.
56671 (RUN_TEST_cc_c): Likewise.
56672 (RUN_TEST_f_i): Likewise.
56673 (RUN_TEST_f_i_tg): Likewise.
56674 (RUN_TEST_ff_i_tg): Likewise.
56675 (RUN_TEST_f_b): Likewise.
56676 (RUN_TEST_f_b_tg): Likewise.
56677 (RUN_TEST_f_l): Likewise.
56678 (RUN_TEST_f_L): Likewise.
56679 (RUN_TEST_sincos): Likewise.
56680 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56681 whether to show exceptions. Do not include ");\n" in return
56682 value.
56683 (special_functions): Output call to RUN_TEST_sincos instead of
56684 check_float calls. Update calls to new_test.
56685 (parse_args): Output call to single RUN_TEST_* macro instead of
56686 check_* calls and other assignments. Update calls to new_test.
56687
56688 [BZ #2546]
56689 [BZ #2560]
56690 [BZ #5159]
56691 [BZ #15426]
56692 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56693 input to result for tgamma overflow.
56694 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56695 (gamma_coeff): New variable.
56696 (NCOEFF): New macro.
56697 (gamma_positive): New function.
56698 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56699 underflow here. Use gamma_positive instead of exp (lgamma) for
56700 other arguments.
56701 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56702 (gamma_coeff): New variable.
56703 (NCOEFF): New macro.
56704 (gammaf_positive): New function.
56705 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56706 underflow here. Use gamma_positive instead of exp (lgamma) for
56707 other arguments.
56708 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56709 (gamma_coeff): New variable.
56710 (NCOEFF): New macro.
56711 (gammal_positive): New function.
56712 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56713 underflow here. Use gamma_positive instead of exp (lgamma) for
56714 other arguments.
56715 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56716 (gamma_coeff): New variable.
56717 (NCOEFF): New macro.
56718 (gammal_positive): New function.
56719 (__ieee754_gammal_r): Handle positive infinity, overflow and
56720 underflow here. Handle NaN the same as positive infinity. Remove
56721 check x < 0xffffffff for negative integers. Use gamma_positive
56722 instead of exp (lgamma) for other arguments.
56723 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56724 (gamma_coeff): New variable.
56725 (NCOEFF): New macro.
56726 (gammal_positive): New function.
56727 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56728 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56729 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56730 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56731 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56732 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56733 * sysdeps/generic/math_private.h (__gamma_productf): New
56734 prototype.
56735 (__gamma_product): Likewise.
56736 (__gamma_productl): Likewise.
56737 * math/Makefile (libm-calls): Add gamma_product.
56738 * math/libm-test.inc (tgamma_test): Add more tests.
56739 * sysdeps/i386/fpu/libm-test-ulps: Update.
56740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56741
56742 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56743
56744 * benchtests/bench-skeleton.c (main): Preheat CPU.
56745
56746 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56747
56748 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56749
56750 2013-05-07 Roland McGrath <roland@hack.frob.com>
56751
56752 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56753 and _dl_skip_args_internal.
56754
56755 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56756
56757 * manual/message.texi (Message Translation): Talk about users.
56758 Message to key mapping impacts design.
56759
56760 2013-05-06 Roland McGrath <roland@hack.frob.com>
56761
56762 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56763
56764 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56765
56766 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56767 * sysdeps/wordsize-64/glob64.c: ... here.
56768
56769 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56770 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56771 New macros.
56772
56773 * debug/getlogin_r_chk.c: Moved to ...
56774 * login/getlogin_r_chk.c: ... here.
56775 * debug/Makefile (routines): Move getlogin_r_chk to ...
56776 * login/Makefile (routines): ... here.
56777 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56778 * login/Versions (libc: GLIBC_2.4): ... here.
56779
56780 * io/poll.c (__poll): Renamed from poll.
56781 Add libc_hidden_def.
56782 (poll): Define as weak alias.
56783
56784 * debug/ptsname_r_chk.c: Moved to ...
56785 * login/ptsname_r_chk.c: ... here.
56786 * debug/Makefile (routines): Move ptsname_r_chk to ...
56787 * login/Makefile (routines): ... here.
56788 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56789 * login/Versions (libc: GLIBC_2.4): ... here.
56790
56791 * posix/getlogin.c: Moved to ...
56792 * login/getlogin.c: ... here.
56793 * posix/getlogin_r.c: Moved to ...
56794 * login/getlogin_r.c: ... here.
56795 * posix/getlogin_r.c: Moved to ...
56796 * login/getlogin_r.c: ... here.
56797 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56798 * login/Makefile (routines): ... here.
56799 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56800 * login/Versions (libc: GLIBC_2.0): ... here.
56801
56802 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56803 (setrlimit): Define as weak alias.
56804
56805 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56806 Call __ names for open, ftruncate, and close.
56807 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56808 (truncate): Define as weak alias.
56809
56810 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56811
56812 * math/gen-libm-test.pl (parse_args): Initialize x before each
56813 test of frexp, modf and remquo.
56814
56815 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56816 test signgam value.
56817
56818 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56819
56820 [BZ #15418]
56821 [BZ #15419]
56822 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56823 internal tests.
56824 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56825
56826 2013-05-06 Roland McGrath <roland@hack.frob.com>
56827
56828 * elf/dl-writev.h: New file.
56829 * elf/dl-misc.c: Include it.
56830 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56831 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56832
56833 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56834
56835 * math/libm-test.inc (noXFails): Remove variable.
56836 (noXPasses): Likewise.
56837 (BUILD_COMPLEX_INT): Remove macro.
56838 (print_screen): Remove xfail argument.
56839 (print_screen_max_error): Likewise.
56840 (update_stats): Likewise.
56841 (print_max_error): Likewise. Update calls to other affected
56842 functions.
56843 (print_complex_max_error): Likewise.
56844 (test_single_exception): Update calls to print_screen.
56845 (test_single_errno): Likewise.
56846 (check_float_internal): Remove xfail argument. Update calls to
56847 other affected functions.
56848 (check_float): Likewise.
56849 (check_complex): Likewise.
56850 (check_int): Likewise.
56851 (check_long): Likewise.
56852 (check_bool): Likewise.
56853 (check_longlong): Likewise.
56854 (main): Don't print noXFails and noXPasses.
56855 * math/gen-libm-test.pl (top level): Don't mention expected
56856 failure handling in comment.
56857 (new_test): Don't handle expected failures.
56858 (parse_args): Don't mention expected failure handling in comment.
56859 (generate_testfile): Don't handle expected failures.
56860 (parse_ulps): Likewise.
56861 (print_ulps_file): Likewise.
56862 (get_failure): Remove function.
56863 (output_test): Don't handle expected failures.
56864 * make/README.libm-test: Don't mention expected failure handling.
56865
56866 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56867 (minus_zero): Likewise.
56868 (plus_infty): Likewise.
56869 (minus_infty): Likewise.
56870 (qnan_value): Likewise.
56871 (max_value): Likewise.
56872 (min_value): Likewise.
56873 (min_subnorm_value): Likewise.
56874 (initialize): Do not initialize those variables dynamically.
56875
56876 2013-05-03 Roland McGrath <roland@hack.frob.com>
56877
56878 * io/open.c (__open_2): Moved to ...
56879 * io/open_2.c: ... this new file.
56880 * io/open64.c (__open64_2): Moved to ...
56881 * io/open64_2.c: ... this new file.
56882 * io/openat.c (__openat_2): Moved to ...
56883 * io/openat_2.c: ... this new file.
56884 * io/openat64.c (__openat64_2): Moved to ...
56885 * io/openat64_2.c: ... this new file.
56886 * io/Makefile (routines): Add them.
56887 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56888 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56889 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56890 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56891 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56892 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56893 (__openat64): Add hidden_ver.
56894 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56895 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56896
56897 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56898 Separately conditionalize setting of GLRO(dl_sysinfo) so
56899 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56900 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56901
56902 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56903
56904 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56906 definition.
56907 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56908 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56909 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56910 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56911 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56912
56913 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56914
56915 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56916 test signgam value.
56917
56918 * math/libm-test.inc (hypot_test): Do not use
56919 IGNORE_ZERO_INF_SIGN.
56920
56921 2013-05-03 Andreas Jaeger <aj@suse.de>
56922
56923 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56924 Linux 3.9.
56925 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56926 (PF_MAX): Adjust for VSOCK change.
56927
56928 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56929
56930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56931
56932 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56933
56934 [BZ #15264]
56935 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56936 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56937 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56938
56939 2013-05-02 David S. Miller <davem@davemloft.net>
56940
56941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56942
56943 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56944
56945 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56946
56947 2013-05-01 Roland McGrath <roland@hack.frob.com>
56948
56949 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56950
56951 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56952
56953 [BZ #14952]
56954 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56955 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56956 Use __attribute__ ((__gnu_inline__)).
56957 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56958 Don't use __attribute__ ((__gnu_inline__)).
56959
56960 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56961
56962 [BZ #15423]
56963 * math/s_catan.c (__catan): Handle small real or imaginary part of
56964 input specially to avoid spurious underflow.
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 (__catanhl): Likewise.
56969 * math/s_catanl.c (__catanl): Likewise.
56970 * math/libm-test.inc (catan_test): Add more tests.
56971 (catanh_test): Likewise.
56972 * sysdeps/i386/fpu/libm-test-ulps: Update.
56973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56974
56975 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56976
56977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56978
56979 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56980
56981 [BZ #15416]
56982 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56983 accurately for denominator in atan2.
56984 * math/s_catanf.c (__catanf): Likewise.
56985 * math/s_catanh.c (__catanh): Likewise.
56986 * math/s_catanhf.c (__catanhf): Likewise.
56987 * math/s_catanhl.c (__catanhl): Likewise.
56988 * math/s_catanl.c (__catanl): Likewise.
56989 * math/libm-test.inc (catan_test): Add more tests.
56990 (catanh_test): Likewise.
56991 * sysdeps/i386/fpu/libm-test-ulps: Update.
56992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56993
56994 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56995
56996 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56997
56998 * benchtests/Makefile (bench): Remove slow benchmarks.
56999 * benchtests/atan-inputs: Add slow benchmark inputs.
57000 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57001 (BENCH_FUNC): Accept variant offset.
57002 (VARIANT): Define.
57003 * benchtests/bench-skeleton.c (main): Run benchmark for each
57004 variant.
57005 * benchtests/cos-inputs: Add slow benchmark inputs.
57006 * benchtests/exp-inputs: Likewise.
57007 * benchtests/pow-inputs: Likewise.
57008 * benchtests/sin-inputs: Likewise.
57009 * benchtests/slowatan-inputs: Remove.
57010 * benchtests/slowatan.c: Remove.
57011 * benchtests/slowcos-inputs: Remove.
57012 * benchtests/slowcos.c: Remove.
57013 * benchtests/slowexp-inputs: Remove.
57014 * benchtests/slowexp.c: Remove.
57015 * benchtests/slowpow-inputs: Remove.
57016 * benchtests/slowpow.c: Remove.
57017 * benchtests/slowsin-inputs: Remove.
57018 * benchtests/slowsin.c: Remove.
57019 * benchtests/slowtan-inputs: Remove.
57020 * benchtests/slowtan.c: Remove.
57021 * benchtests/tan-inputs: Add slow benchmark inputs.
57022 * scripts/bench.pl: Parse comments and directives.
57023
57024 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
57025 in CPPFLAGS.
57026 ($(objpfx)bench-%.c): Remove *-ITER.
57027 * benchtests/bench-modf.c: Remove definition of ITER.
57028 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57029 (main): Loop for DURATION seconds instead of fixed number of
57030 iterations.
57031 * scripts/bench.pl: Don't expect iterations in parameters.
57032
57033 2013-04-29 Roland McGrath <roland@hack.frob.com>
57034
57035 * io/fchdir.c (__fchdir): Renamed from fchdir.
57036 (fchdir): Define as weak alias.
57037
57038 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57039
57040 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57041 (ERRNO_EDOM): Likewise.
57042 (ERRNO_ERANGE): Likewise.
57043 (noErrnoTests): New variable.
57044 (init_max_error): Set errno to 0.
57045 (test_single_errno): New function.
57046 (test_errno): Likewise.
57047 (check_float_internal): Call test_errno. Set errno to 0.
57048 (check_complex): Refer to errno tests in comment.
57049 (check_int): Call test_errno. Set errno to 0.
57050 (check_long): Likewise.
57051 (check_bool): Likewise.
57052 (check_longlong): Likewise.
57053 (cos_test): Use ERRNO_* flags for errno tests instead of
57054 check_int.
57055 (expm1_test): Likewise.
57056 (fmod_test): Likewise.
57057 (ilogb_test): Likewise.
57058 (lgamma_test): Likewise.
57059 (pow_test): Likewise.
57060 (remainder_test): Likewise.
57061 (sin_test): Likewise.
57062 (tan_test): Likewise.
57063 (yn_test): Likewise.
57064 (initialize): Set errno to 0.
57065 (main): Print number of errno tests.
57066 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57067
57068 2013-04-29 Andreas Jaeger <aj@suse.de>
57069
57070 [BZ #15084]
57071 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57072 and RES_USEVC.
57073
57074 [BZ #15085]
57075 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57076 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57077 unimplemented.
57078
57079 [BZ #15380]
57080 * stdlib/random.c (__initstate): Return NULL if
57081 __initstate fails.
57082
57083 [BZ #15086]
57084 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57085 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57086 RES_SNGLKUPREOP.
57087
57088 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57089
57090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57091
57092 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57093
57094 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57095 of individual tests.
57096 (casin_test): Likewise.
57097 (casinh_test): Likewise.
57098
57099 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57100
57101 [BZ #15409]
57102 * math/s_catan.c (__catan): Handle arguments with large real or
57103 imaginary part separately without squaring.
57104 * math/s_catanf.c (__catanf): Likewise.
57105 * math/s_catanh.c (__catanh): Likewise.
57106 * math/s_catanhf.c (__catanhf): Likewise.
57107 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57108 and redefine.
57109 (__catanhl): Handle arguments with large real or imaginary part
57110 separately without squaring.
57111 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57112 and redefine.
57113 (__catanl): Handle arguments with large real or imaginary part
57114 separately without squaring.
57115 * math/libm-test.inc (catan_test): Add more tests.
57116 (catanh_test): Likewise.
57117 * sysdeps/i386/fpu/libm-test-ulps: Update.
57118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57119
57120 2013-04-27 Andreas Jaeger <aj@suse.de>
57121
57122 [BZ #15007]
57123 * stdlib/stdlib.h: Update guards for qecvt.
57124 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57125 <stdlib.h>.
57126
57127 2013-04-27 Allan McRae <allan@archlinux.org>
57128
57129 * sysdeps/i386/fpu/libm-test-ulps: Update.
57130
57131 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57132
57133 [BZ #15406]
57134 * math/s_catan.c: Include <float.h>.
57135 (__catan): Ensure underflow exception occurs for underflowed
57136 result.
57137 * math/s_catanf.c: Include <float.h>.
57138 (__catanf): Ensure underflow exception occurs for underflowed
57139 result.
57140 * math/s_catanh.c: Include <float.h>.
57141 (__catanh): Ensure underflow exception occurs for underflowed
57142 result.
57143 * math/s_catanhf.c: Include <float.h>.
57144 (__catanhf): Ensure underflow exception occurs for underflowed
57145 result.
57146 * math/s_catanhl.c: Include <float.h>.
57147 (__catanhl): Ensure underflow exception occurs for underflowed
57148 result.
57149 * math/s_catanl.c: Include <float.h>.
57150 (__catanl): Ensure underflow exception occurs for underflowed
57151 result.
57152 * math/libm-test.inc (catan_test): Add more tests.
57153 (catanh_test): Likewise.
57154
57155 [BZ #15405]
57156 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57157 underflowed result.
57158 * math/s_ccoshf.c (__ccoshf): Likewise.
57159 * math/s_ccoshl.c (__ccoshl): Likewise.
57160 * math/s_csin.c (__csin): Likewise.
57161 * math/s_csinf.c (__csinf): Likewise.
57162 * math/s_csinh.c (__csinh): Likewise.
57163 * math/s_csinhf.c (__csinhf): Likewise.
57164 * math/s_csinhl.c (__csinhl): Likewise.
57165 * math/s_csinl.c (__csinl): Likewise.
57166 * math/libm-test.inc (ccos_test): Add more tests.
57167 (ccosh_test): Likewise.
57168 (csin_test): Likewise.
57169 (csinh_test): Likewise.
57170
57171 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57172
57173 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57174 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57175 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57176 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57177 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57178 powerpc/power5+/fpu folders.
57179 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57180
57181
57182 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57183
57184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57185
57186 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57187
57188 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57189 additions to variable.
57190 [$(config-machine) = x86_64] (modules-names): Likewise.
57191 ($(objpfx)tst-audit3): Remove dependency.
57192 ($(objpfx)tst-audit3.out): Likewise.
57193 ($(objpfx)tst-audit4): Likewise.
57194 ($(objpfx)tst-audit4.out): Likewise.
57195 ($(objpfx)tst-audit5): Likewise.
57196 ($(objpfx)tst-audit5.out): Likewise.
57197 ($(objpfx)tst-audit6): Likewise.
57198 ($(objpfx)tst-audit6.out): Likewise.
57199 ($(objpfx)tst-audit7): Likewise.
57200 ($(objpfx)tst-audit7.out): Likewise.
57201 (tst-audit3-ENV): Remove variable.
57202 (tst-audit4-ENV): Likewise.
57203 (tst-audit5-ENV): Likewise.
57204 (tst-audit6-ENV): Likewise.
57205 (tst-audit7-ENV): Likewise.
57206 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57207 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57208 addition to variable.
57209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57214 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57215 tst-audit3, tst-audit4 and tst-audit5.
57216 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57217 tst-audit6 and tst-audit7.
57218 [$(subdir) = elf] (modules-names): Add audit modules for those
57219 tests.
57220 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57221 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57222 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57223 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57224 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57225 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57226 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57227 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57228 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57229 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57230 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57231 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57232 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57233 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57234 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57235 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57236 Likewise.
57237 [$(subdir) = elf && $(config-cflags-avx) = yes]
57238 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57239 [$(subdir) = elf && $(config-cflags-avx) = yes]
57240 (CFLAGS-tst-auditmod4a.c): Likewise.
57241 [$(subdir) = elf && $(config-cflags-avx) = yes]
57242 (CFLAGS-tst-auditmod4b.c): Likewise.
57243 [$(subdir) = elf && $(config-cflags-avx) = yes]
57244 (CFLAGS-tst-auditmod6b.c): Likewise.
57245 [$(subdir) = elf && $(config-cflags-avx) = yes]
57246 (CFLAGS-tst-auditmod6c.c): Likewise.
57247 [$(subdir) = elf && $(config-cflags-avx) = yes]
57248 (CFLAGS-tst-auditmod7b.c): Likewise.
57249 * elf/tst-audit3.c: Move to ...
57250 * sysdeps/x86_64/tst-audit3.c: ... here.
57251 * elf/tst-audit4.c: Move to ...
57252 * sysdeps/x86_64/tst-audit4.c: ... here.
57253 * elf/tst-audit5.c: Move to ...
57254 * sysdeps/x86_64/tst-audit5.c: ... here.
57255 * elf/tst-audit6.c: Move to ...
57256 * sysdeps/x86_64/tst-audit6.c: ... here.
57257 * elf/tst-audit7.c: Move to ...
57258 * sysdeps/x86_64/tst-audit7.c: ... here.
57259 * elf/tst-auditmod3a.c: Move to ...
57260 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57261 * elf/tst-auditmod3b.c: Move to ...
57262 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57263 * elf/tst-auditmod4a.c: Move to ...
57264 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57265 * elf/tst-auditmod4b.c: Move to ...
57266 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57267 * elf/tst-auditmod5a.c: Move to ...
57268 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57269 * elf/tst-auditmod5b.c: Move to ...
57270 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57271 * elf/tst-auditmod6a.c: Move to ...
57272 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57273 * elf/tst-auditmod6b.c: Move to ...
57274 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57275 * elf/tst-auditmod6c.c: Move to ...
57276 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57277 * elf/tst-auditmod7a.c: Move to ...
57278 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57279 * elf/tst-auditmod7b.c: Move to ...
57280 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57281
57282 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57283
57284 [BZ #15366]
57285 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57286 define unconditionally.
57287 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57288 define unconditionally.
57289 (INT8_C, INT16_C, etc.): Likewise.
57290
57291 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57292
57293 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57294 __ehdr_start with hidden visibility.
57295
57296 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57297
57298 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57299
57300 * math/libm-test.inc (cos_test): Use accurate hex constants.
57301 (sincost_test): Likewise.
57302
57303 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57304
57305 * math/libm-test.inc (catan_test): Add more tests.
57306 (catanh_test): Likewise.
57307
57308 * math/s_catanf.c (__catanf): Use suffixed floating-point
57309 constants.
57310 * math/s_catanhf.c (__catanhf): Likewise.
57311 * math/s_catanhl.c (__catanhl): Likewise.
57312 * math/s_catanl.c (__catanl): Likewise.
57313
57314 [BZ #15394]
57315 * math/s_catan.c (__catan): Calculate imaginary part of result
57316 with log1p not log unless computing log of number close to 0.
57317 * math/s_catanf.c (__catanf): Likewise.
57318 * math/s_catanl.c (__catanl): Likewise.
57319 * math/s_catanh.c (__catanh): Calculate real part of result with
57320 log1p not log unless computing log of number close to 0.
57321 * math/s_catanhf.c (__catanhf): Likewise.
57322 * math/s_catanhl.c (__catanhl): Likewise.
57323 * math/libm-test.inc (catan_test): Add more tests.
57324 (catanh_test): Likewise.
57325 * sysdeps/i386/fpu/libm-test-ulps: Update.
57326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57327
57328 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57329
57330 * benchtests/Makefile: Mention files in which fast and slow
57331 paths of math functions are implemented.
57332
57333 2013-04-23 Roland McGrath <roland@hack.frob.com>
57334
57335 * sysdeps/posix/timespec_get.c: New file.
57336
57337 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57338
57339 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57340 POWER.
57341 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57342 for POWER.
57343 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57344 powerpc/power5/fpu folders.
57345 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57346 * benchtests/Makefile: Add modf testcase.
57347 * benchtests/bench-modf.c: New file: Benchmark test for mo
57348
57349 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57350
57351 [BZ #14888]
57352 * time/Makefile (tests): Add tst-strptime-whitespace.
57353 * time/strptime_l.c (get_number): Use ISSPACE.
57354 (__strptime_internal): Likewise.
57355 * time/tst-strptime-whitespace.c: New test case.
57356
57357 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57358
57359 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57360 member.
57361 (_nss_files_init): Set it here.
57362
57363 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57364
57365 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57366 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57367 unsigned.
57368
57369 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57370
57371 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57372
57373 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57374
57375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57376 size just once.
57377
57378 2013-04-21 David S. Miller <davem@davemloft.net>
57379
57380 * po/ru.po: Update Russion translation from translation project.
57381
57382 2013-04-17 Adam Conrad <adconrad@0c3.net>
57383
57384 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57385 and setfsgid.
57386
57387 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57388
57389 * configure.in: Remove i386 configure warning. Remove i386 case.
57390 * configure: Regenerate.
57391 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57392 Add example to error message.
57393 * sysdeps/i386/configure: Regenerate.
57394
57395 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57396
57397 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57398 slowtan.
57399 * benchtests/cos-inputs: New file.
57400 * benchtests/slowcos-inputs: New file.
57401 * benchtests/slowcos.c: New file.
57402 * benchtests/slowtan-inputs: New file.
57403 * benchtests/slowtan.c: New file.
57404 * benchtests/tan-inputs: New file.
57405
57406 2013-04-16 Roland McGrath <roland@hack.frob.com>
57407
57408 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57409 considered kosher.
57410
57411 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57412
57413 * benchtests/Makefile: Include cppflags-iterator.mk to add
57414 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57415
57416 * Makefile.in (bench-clean): New target.
57417 * benchtests/Makefile (bench-clean): Likewise.
57418
57419 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57420
57421 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57422
57423 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57424
57425 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57426
57427 2013-04-15 Andreas Schwab <schwab@suse.de>
57428
57429 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57431 * nscd/pwdcache.c (cache_addpw): Likewise.
57432 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57433 more than recsize.
57434
57435 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57436
57437 * benchtests/Makefile (bench): Write all output to
57438 bench-out.tmp together.
57439
57440 2013-04-15 Andreas Schwab <schwab@suse.de>
57441
57442 * nscd/nscd.c (main): Don't fork again after closing files.
57443
57444 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57445
57446 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57447
57448 * benchtests/Rules (bench-deps): Collect dependencies into a
57449 single variable. Add Makefile to dependencies.
57450 ($(objpfx)bench-%.c): Depend on bench-deps.
57451
57452 2013-04-12 Roland McGrath <roland@hack.frob.com>
57453 Xavier Roche <roche+kml2@exalead.com>
57454
57455 [BZ #15361]
57456 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57457 just that it's a file descriptor.
57458 * manual/llio.texi (Synchronizing AIO Operations): Update description
57459 for EBADF error from aio_fsync.
57460
57461 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57462
57463 * Rules (bench): Move target definition...
57464 * benchtests/Makefile: ... here.
57465
57466 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57467
57468 * math/libm-test.inc (cos_test): Fix PI/2 test.
57469 (sincos_test): Likewise.
57470 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57471 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57472
57473 2013-04-11 Andreas Schwab <schwab@suse.de>
57474
57475 [BZ #13988]
57476 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57477 accept exponent character only when digits were seen.
57478 * stdio-common/Makefile (tests): Add bug26.
57479 * stdio-common/bug26.c: New file.
57480
57481 [BZ #14293]
57482 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57483 non-freeable.
57484
57485 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57486
57487 * Makeconfig (rtld-prefix): Define built linker prefix.
57488 * Rules (run-bench): Use it.
57489 * math/Makefile (run-regen-ulps): Likewise.
57490
57491 * Rules (bench): Remove eval.
57492
57493 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57494 Roland McGrath <roland@hack.frob.com>
57495 Ondrej Bilka <neleai@seznam.cz>
57496
57497 [BZ #15346]
57498 * time/getdate.c: Include ctype.h and alloca.h.
57499 (__getdate_r): Trim leading and trailing spaces of input.
57500 * time/tst-getdate.c (tests): Add tests with leading and
57501 trailing spaces.
57502
57503 2013-04-08 Roland McGrath <roland@hack.frob.com>
57504
57505 [BZ #14280]
57506 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57507 when computing value.
57508
57509 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57510
57511 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57512 Use testrun.sh to run libm tests.
57513
57514 [BZ #15309]
57515 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57516
57517 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57518
57519 [BZ #15264]
57520 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57521
57522 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57523
57524 * Makefile.in (regen-ulps): New target.
57525 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57526 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57527 [ifneq (no,$(PERL)] (regen-ulps): New target.
57528 [ifeq (no,$(PERL)] (regen-ulps): New target.
57529 * math/libm-test.inc (ulps_file_name): Define.
57530 (output_dir): New variable.
57531 (options): Add "output-dir" option.
57532 (parse_opt): Handle 'o' case.
57533 (main): If output_dir is non-NULL use it as a prefix
57534 otherwise use "".
57535 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57536
57537 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57538
57539 [BZ #10060, #10062]
57540 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57541 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57542 fail configure if __sync_val_compare_and_swap is not inlined.
57543 * sysdeps/i386/configure: Regenerate.
57544 * configure.in: Build for i686 when configured for i386.
57545 * configure: Regenerate.
57546 * README: Remove i386 reference.
57547
57548 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57549
57550 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57551 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57552
57553 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57554
57555 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57556 (lmsnanval): New variables.
57557 (F): Add conversion tests.
57558 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57559 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57560
57561 * stdio-common/tstdiomisc.c (F): Properly collect individual
57562 tests' results.
57563
57564 [BZ #14686, #15336]
57565 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57566 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57567 Instead, use input NaN values or generate a qNaN by arithmetic
57568 operation. Also fix bugs to comply with the standard.
57569 * math/libm-test.inc (remainder_test): Add more tests.
57570
57571 [BZ #15335, #15342]
57572 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57573 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57574 input NaN values or generate a qNaN by arithmetic operation.
57575
57576 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57577 unreachable code.
57578
57579 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57580 definitions.
57581
57582 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57583
57584 [BZ #14478]
57585 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57586 underflowed result.
57587 * math/s_cexpf.c (__cexpf): Likewise.
57588 * math/s_cexpl.c (__cexpl): Likewise.
57589 * math/libm-test.inc (cexp_test): Add more tests.
57590
57591 2013-04-03 Andreas Schwab <schwab@suse.de>
57592
57593 [BZ #15330]
57594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57595 order arrays from heap if bigger than alloca cutoff.
57596
57597 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57598
57599 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57600 (SNAN_TESTS_double): Refer to GCC PR56831.
57601 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57602 GCC PR56828.
57603
57604 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57605
57606 * Rules (bench): Move bench.out after the run is complete.
57607
57608 * Rules (bench): Echo currently running benchmark.
57609
57610 * benchtests/Makefile (bench): Add atan and slowatan.
57611 * benchtests/atan-inputs: New file.
57612 * benchtests/slowatan-inputs: New file.
57613 * benchtests/slowatan.c: New file.
57614
57615 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57616 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57617 its value.
57618
57619 [BZ #15305]
57620 * sysdeps/unix/sysv/linux/kernel-features.h
57621 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57622 __ASSUME_XFS_RESTRICTED_CHOWN.
57623 * sysdeps/unix/sysv/linux/pathconf.c
57624 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57625 Save and restore errno.
57626
57627 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57628
57629 [BZ #15327]
57630 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57631 arguments using __kernel_casinh.
57632 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57633 arguments using __kernel_casinhf.
57634 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57635 arguments using __kernel_casinhl.
57636 * math/libm-test.inc (cacosh_test): Add more tests.
57637 * sysdeps/i386/fpu/libm-test-ulps: Update.
57638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57639
57640 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57641
57642 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57644
57645 * bench/Makefile (bench): Add sin and slowsin.
57646 * benchtests/sin-inputs: New file.
57647 * benchtests/slowsin-inputs: New file.
57648 * benchtests/slowsin.c: New file.
57649
57650 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57651 (bench): Add slowexp and slowpow.
57652 (exp-ITER): Increase iterations.
57653 (pow-ITER): Likewise.
57654 * benchtests/exp-inputs: Change input.
57655 * benchtests/pow-inputs: Likewise.
57656 * benchtests/slowexp-inputs: New file.
57657 * benchtests/slowexp.c: New file.
57658 * benchtests/slowpow-inputs: New file.
57659 * benchtests/slowpow.c: New file.
57660
57661 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57662
57663 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57664 instructions.
57665 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57666 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57667 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57668 * benchtests/Makefile: Add rint benchtest.
57669 * benchtests/rint-inputs: Input for rint benchtest.
57670
57671 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57672
57673 * Versions.def (libm): Add GLIBC_2.18.
57674 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57675 hidden libm prototypes.
57676 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57677 * math/Makefile (libm-calls): Add s_issignaling.
57678 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57679 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57680 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57681 declaration.
57682 * math/math.h [__USE_GNU] (issignaling): New macro.
57683 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57684 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57685 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57686 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57687 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57688 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57689 * manual/arith.texi (issignaling): New section.
57690 * manual/libm-err-tab.pl (@all_functions): Update comment.
57691 * math/gen-libm-test.pl (parse_args): Apply special handling for
57692 issignaling.
57693 * math/libm-test.inc (print_float, issignaling_test): New
57694 functions.
57695 (check_float_internal): Add issignaling checks.
57696 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57697 default definition.
57698 * sysdeps/powerpc/math-tests.h: New file.
57699 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57700 tests.
57701 * math/test-snan.c (TEST_FUNC): Likewise.
57702
57703 2013-03-30 David S. Miller <davem@davemloft.net>
57704
57705 * po/de.po: Update from translation team.
57706
57707 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57708
57709 [BZ #10357]
57710 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57711 imaginary part less than 1.0 and real part less than 0.5
57712 specially.
57713 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57714 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57715 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57716 (cacos_test): Add more tests.
57717 (casin_test): Likewise.
57718 (casinh_test): Likewise.
57719 * sysdeps/i386/fpu/libm-test-ulps: Update.
57720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57721
57722 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57723
57724 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57725 ONE with its value.
57726
57727 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57728 (__pow_mp): Replace ONE and MONE with their values.
57729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57731 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57732 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57733 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57734 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57735
57736 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57737
57738 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57739 (__pow_mp): Replace ZERO and MZERO with their values.
57740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57741 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57742 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57743 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57744 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57745 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57746 (__sqr): Likewise.
57747
57748 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57749
57750 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57751
57752 2013-03-28 Roland McGrath <roland@hack.frob.com>
57753
57754 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57755 Declare with __attribute__ ((weak)).
57756 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57757 Call __call_tls_dtors only if it's not NULL.
57758
57759 2013-03-28 Roland McGrath <roland@hack.frob.com>
57760
57761 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57762 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57763 magic __ehdr_start linker symbol if it's defined.
57764 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57765 them up here if it was already done.
57766
57767 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57768 (_dl_aux_init): Use const in cast when setting it.
57769 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57770 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57771 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57772
57773 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57774 Declare them here.
57775 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57776 * csu/libc-tls.c: Nor here.
57777 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57778
57779 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57780 (__libc_message): Never call vsyslog.
57781
57782 2013-03-28 Alan Modra <amodra@gmail.com>
57783
57784 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57785 Define as empty.
57786 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57787 Likewise.
57788
57789 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57790
57791 [BZ #15214]
57792 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57793 underflow.
57794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57795
57796 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57797
57798 [BZ #15304]
57799 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57800 Don't add gid passed as argument.
57801
57802 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57803
57804 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57805
57806 [BZ #15307]
57807 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57808 imaginary part between 1.0 and 1.5 and real part less than 0.5
57809 specially.
57810 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57811 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57812 * math/libm-test.inc (cacos_test): Add more tests.
57813 (casin_test): Likewise.
57814 (casinh_test): Likewise.
57815 * sysdeps/i386/fpu/libm-test-ulps: Update.
57816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57817
57818 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57819
57820 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57821 constants.
57822 (norm): Likewise.
57823 (denorm): Likewise.
57824 (__dbl_mp): Likewise.
57825 (add_magnitudes): Likewise.
57826 (sub_magnitudes): Likewise.
57827 (__add): Likewise.
57828 (__sub): Likewise.
57829 (__mul): Likewise.
57830 (__sqr): Likewise.
57831 (__inv): Likewise.
57832 (__dvd): Likewise.
57833
57834 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57835 commented code.
57836 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57837 (__dubcos): Likewise.
57838 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57839 (__ieee754_acos): Likewise.
57840 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57841 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57842 (__exp1): Likewise.
57843 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57845 (log1): Likewise.
57846 (my_log2): Likewise.
57847 (checkint): Likewise.
57848 * sysdeps/ieee754/dbl-64/e_remainder.c
57849 (__ieee754_remainder): Likewise.
57850 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57852 (bsloww): Likewise.
57853 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57854
57855 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57857 MANTISSA_STORE_T to store computations on mantissa. Use
57858 macros for rounding and division.
57859 (denorm): Likewise.
57860 (__dbl_mp): Likewise.
57861 (add_magnitudes): Likewise.
57862 (sub_magnitudes): Likewise.
57863 (__mul): Likewise.
57864 (__sqr): Likewise.
57865 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57866 powers of two in terms of TWOPOW macro.
57867 (mp_no): Make type of mantissa as MANTISSA_T.
57868 [!RADIXI]: Define RADIXI.
57869 [!TWO52]: Define TWO52.
57870 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57871
57872 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57873
57874 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57875 llroundl symbol when building for PPC32.
57876
57877 2013-03-24 Mark H Weaver <mhw@netris.org>
57878
57879 * manual/arith.texi (Normalization Functions): Fix prototypes for
57880 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57881
57882 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57883
57884 [BZ #13889]
57885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57886 high value to check if expl overflow.
57887 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57888 to check for underflow and overflow.
57889 * math/libm-test.inc: Add exp test.
57890
57891 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57892
57893 [BZ #11120]
57894 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57895 with NOT_IN_libc.
57896
57897 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57898
57899 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57900 symbol.
57901
57902 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57903
57904 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57905 wrap blocks consisting of several statements.
57906
57907 * sysdeps/generic/math-tests.h: New file.
57908 * sysdeps/i386/fpu/math-tests.h: Likewise.
57909 * math/test-snan.c: Include it.
57910 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57911
57912 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57913
57914 [BZ #15285]
57915 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57916 (__ieee754_j0l): Do not improve calculations using cos of twice
57917 input for inputs above LDBL_MAX / 2.0L.
57918 (__ieee754_y0l): Likewise.
57919 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57920 (__ieee754_j1l): Do not improve calculations using cos of twice
57921 input for inputs above LDBL_MAX / 2.0L.
57922 (__ieee754_y1l): Likewise.
57923 * math/libm-test.inc (j0_test): Add another test.
57924 (j1_test): Likewise.
57925 (y0_test): Likewise.
57926 (y1_test): Likewise.
57927 * sysdeps/i386/fpu/libm-test-ulps: Update.
57928
57929 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57930
57931 * Rules ($(objpfx)bench-%.c): Include code from a C source
57932 file.
57933
57934 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57935
57936 [BZ #15287]
57937 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57938 imaginary part 1.0 and real part less than 0.5 specially.
57939 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57940 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57941 * math/libm-test.inc (cacos_test): Add more tests.
57942 (casin_test): Likewise.
57943 (casinh_test): Likewise.
57944 * sysdeps/i386/fpu/libm-test-ulps: Update.
57945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57946
57947 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57948
57949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57950 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57951
57952 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57953
57954 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57955 * config.make.in (config-cflags-sse4): Remove variable.
57956 (config-cflags-avx): Likewise.
57957 (config-cflags-sse2avx): Likewise.
57958 (config-cflags-novzeroupper): Likewise.
57959 (config-asflags-i686): Likewise.
57960 (have-mfma4): Likewise.
57961 (have-as-vis3): Likewise.
57962 (MIG): Likewise.
57963 * configure.in (MIG): Do not AC_SUBST.
57964 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57965 (libc_cv_cc_sse4): Do not AC_SUBST.
57966 (libc_cv_cc_avx): Likewise.
57967 (libc_cv_cc_sse2avx): Likewise.
57968 (libc_cv_cc_novzeroupper): Likewise.
57969 (libc_cv_cc_fma4): Likewise.
57970 (libc_cv_as_i686): Likewise.
57971 (libc_cv_sparc_as_vis3): Likewise.
57972 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57973 LIBC_CONFIG_VAR.
57974 (config-asflags-i686): Likewise.
57975 (config-cflags-avx): Likewise.
57976 (config-cflags-sse2avx): Likewise.
57977 (have-mfma4): Likewise.
57978 (config-cflags-novzeroupper): Likewise.
57979 * sysdeps/mach/configure.in (MIG): Likewise.
57980 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57981 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57982 LIBC_CONFIG_VAR.
57983 (config-cflags-avx): Likewise.
57984 (config-cflags-sse2avx): Likewise.
57985 (have-mfma4): Likewise.
57986 (config-cflags-novzeroupper): Likewise.
57987 * configure: Regenerated.
57988 * sysdeps/i386/configure: Likewise.
57989 * sysdeps/mach/configure: Likewise.
57990 * sysdeps/sparc/configure: Likewise.
57991 * sysdeps/x86_64/configure: Likewise.
57992
57993 2013-03-20 Roland McGrath <roland@hack.frob.com>
57994
57995 [BZ #14812]
57996 * locale/programs/localedef.c (options): Put N_ translation marker
57997 on argument names, not just descriptions.
57998
57999 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
58000
58001 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58002
58003 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
58004
58005 [BZ #14176]
58006 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58007
58008 2013-03-19 Roland McGrath <roland@hack.frob.com>
58009
58010 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58011 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58012 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58013 [!BEFORE_ABORT] (before_abort): New function.
58014 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58015 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58016 (writev_for_fatal): New function.
58017 (WRITEV_FOR_FATAL): New macro; call that.
58018 (backtrace_and_maps): New function.
58019 (BEFORE_ABORT): New macro; call that.
58020 (struct str_list): Type removed.
58021 (__libc_message, __libc_fatal): Functions removed.
58022 Include <sysdeps/posix/libc_fatal.c> instead.
58023
58024 2013-03-19 Joseph Myers <joseph@codesourcery.com>
58025
58026 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58027 constants.
58028 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58029 double constants.
58030
58031 2013-03-19 Andreas Schwab <schwab@suse.de>
58032
58033 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58034 * sysdeps/gnu/configure: Regenerate.
58035
58036 * configure.in: Substitute libc_cv_rtlddir.
58037 * configure: Regenerate.
58038 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58039 * Makeconfig (rtlddir, inst_rtlddir): New variables.
58040 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58041 * elf/Makefile (install-others, CFLAGS-interp.c)
58042 (ldso_install, common-ldd-rewrite): Likewise.
58043 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58044 $(inst_slibdir)/$(rtld-installed-name).
58045 * scripts/rellns-sh: Add -p option.
58046 * Makerules (make-shlib-link): Use rellns-sh to get relative name
58047 for source.
58048
58049 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
58050
58051 * manual/nptl.texi: Renamed to ...
58052 * manual/threads.texi: ... this.
58053 * manual/Makefile (chapters): Update.
58054
58055 2013-03-18 Roland McGrath <roland@hack.frob.com>
58056
58057 [BZ #14812]
58058 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58059 on argument names, not just descriptions.
58060 * malloc/memusagestat.c (options): Likewise.
58061 * nss/getent.c (options): Likewise.
58062
58063 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
58064
58065 [BZ #14812]
58066 * iconv/iconv_prog.c (options): Put N_ translation marker
58067 on argument names, not just descriptions.
58068 * iconv/iconvconfig.c (options): Likewise.
58069
58070 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
58071
58072 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58073 implementation which is faster on all x86_64 architectures.
58074 Tested on AMD, Intel Nehalem, SNB, IVB.
58075 * sysdeps/x86_64/strnlen.S: Likewise.
58076
58077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58078 Remove all multiarch strlen and strnlen versions.
58079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58080 Remove strlen and strnlen related parts.
58081
58082 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58083 Inline strlen part.
58084 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58085
58086 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58087 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58088 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58089 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58090 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58091 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58092
58093 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58094
58095 * manual/memory.texi (Malloc Tunable Parameters):
58096 Sort parameters alphabetically. Add comments for missing entries.
58097
58098 2013-03-17 David S. Miller <davem@davemloft.net>
58099
58100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58101
58102 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58103
58104 [BZ #15283]
58105 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58106 for arguments at most half maximum finite value.
58107 * math/libm-test.inc (j0_test): Add more tests.
58108 (j1_test): Likewise.
58109 (y0_test): Likewise.
58110 (y1_test): Likewise.
58111 * sysdeps/i386/fpu/libm-test-ulps: Update.
58112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58113
58114 [BZ #14155]
58115 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58116 1 / x and functions P and Q for arguments above 0x1p256L.
58117 (__ieee754_y0l): Likewise.
58118 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58119 (__ieee754_y1l): Likewise.
58120 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58121 (j1_test): Likewise.
58122 (y0_test): Likewise.
58123 (y1_test): Likewise.
58124
58125 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58126
58127 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58128 variable.
58129
58130 2013-03-15 Roland McGrath <roland@hack.frob.com>
58131
58132 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58133 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58134 zero since it's initialized to EXEC_PAGESIZE.
58135
58136 * sysdeps/unix/sysv/linux/ldsodefs.h
58137 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58138 * sysdeps/generic/ldsodefs.h: ... here.
58139
58140 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58141
58142 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58143
58144 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58145 math/test-snan.c.
58146 * math/test-snan.c: Renamed from
58147 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58148 * math/Makefile (tests): Add test-snan.
58149 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58150 test-powerpc-snan.
58151
58152 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58153 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58154 functions.
58155 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58156 __builtin_nan family of functions.
58157 * math/libm-test.inc (initialize): Initialize qnan_value with
58158 __builtin_nan family of functions.
58159 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58160 Remove variables.
58161 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58162 Remove functions.
58163 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58164 storage class. Initialize qNaN_var and sNaN_var with
58165 __builtin_nan and __builtin_nans families of functions,
58166 respectively.
58167
58168 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58169 (sqrt_test): Remove duplicate test with qNaN input.
58170 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58171 (round_test, signbit_test, significand_test): Note missing +/-Inf
58172 as well as qNaN tests.
58173
58174 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58175 qNaN_var. Fix a few strings, too.
58176 * math/libm-test.inc (nan_value): Rename to qnan_value.
58177 * math/gen-libm-test.pl (%beautify): Adjust to that.
58178 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58179 * math/test-misc.c (main): Likewise.
58180 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58181 to __qnan_bytes, and __qnan_union, respectively.
58182 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58183 Likewise.
58184 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58185 and lqnanval, respectively.
58186 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58187 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58188 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58189 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58190
58191 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58192 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58193 doubles.
58194
58195 * math/test-misc.c (main): Fix copy'n'pastos.
58196 * misc/tst-efgcvt.c (special): Likewise.
58197
58198 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58199 Remove declarations.
58200
58201 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58202
58203 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58204 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58205 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58206 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58207
58208 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58209
58210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58211 macro to return vdso values correctly in IFUNC implementations.
58212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58213 Optimization by using IFUNC.
58214
58215 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58216 Richard Henderson <rth@redhat.com>
58217 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58218
58219 * Makefile.in (bench): New target.
58220 * NEWS: Mention the benchmark framework.
58221 * Rules (bench): Likewise.
58222 (binaries-bench): Generate binaries for functions to
58223 benchmark.
58224 * benchtests/Makefile: New makefile for benchmark tests.
58225 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58226 programs.
58227 * benchtests/exp-inputs: New input file for EXP function.
58228 * benchtests/pow-inputs: New input file for POW function.
58229 * scripts/bench.pl: New script to generate source files for
58230 benchmark programs.
58231
58232 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58233
58234 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58235 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58236 computations on mantissa. Use macros for rounding and
58237 division.
58238 (denorm): Likewise.
58239 (__dbl_mp): Likewise.
58240 (add_magnitudes): Likewise.
58241 (sub_magnitudes): Likewise.
58242 (__mul): Likewise.
58243 (__sqr): Likewise.
58244 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58245 powers of two in terms of TWOPOW macro.
58246 (mp_no): Make type of mantissa as MANTISSA_T.
58247 [!RADIXI]: Define RADIXI.
58248 [!TWO52]: Define TWO52.
58249 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58250
58251 * manual/nptl.texi (cindex): Modify threads to pthreads.
58252
58253 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58254
58255 * sysdeps/x86_64/preconfigure: Regenerated.
58256
58257 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58258
58259 [BZ #14155]
58260 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58261 0x1p28 and above.
58262 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58263 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58264 0x1p28 and above.
58265 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58266 * math/libm-test.inc (j0_test): Do not allow one spurious
58267 underflow exception.
58268 (y1_test): Likewise.
58269
58270 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58271
58272 * manual/Makefile (chapters): Add nptl.
58273 * manual/debug.texi (Debugging Support): Add link to Threads
58274 chapter.
58275 * manual/nptl.texi: New file.
58276
58277 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58278
58279 2013-03-14 Petr Baudis <pasky@ucw.cz>
58280
58281 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58282 for non-NULL pointer before the memory validity test. Pointed
58283 out by Holger Brunck <holger.brunck@keymile.com>.
58284
58285 2013-03-13 Andreas Schwab <schwab@suse.de>
58286
58287 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58288 instead of .os.
58289
58290 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58291
58292 * timezone/zic.c: Update from tzcode 2013b.
58293
58294 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58295
58296 * manual/install.texi (Configuring and compiling):
58297 Mention i686 and i586.
58298 * INSTALL: Regenerate.
58299
58300 2013-03-12 Roland McGrath <roland@hack.frob.com>
58301
58302 * sysdeps/init_array/elf-init.c: New file.
58303 * csu/elf-init.c
58304 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58305 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58306
58307 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58308 __gmon_start__ as global, but as static with a .preinit_array pointer.
58309 * sysdeps/init_array/gmon-start.c: New file. Use that.
58310 * sysdeps/init_array/crti.S: New file, empty except for comments.
58311 * sysdeps/init_array/crtn.S: Likewise.
58312
58313 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58314
58315 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58316 definining bcopy.
58317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58318 Remove Prefer_SSE_for_memop.
58319 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58320 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58321 HAS_PREFER_SSE_FOR_MEMOP.
58322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58323 memset-x86-64.
58324 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58325 Remove bzero, memset ifunc support.
58326 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58327 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58328 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58329 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58330
58331 2013-03-11 Andreas Schwab <schwab@suse.de>
58332
58333 [BZ #15234]
58334 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58335 by SHLIB_COMPAT.
58336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58337 (GLIBC_2.16): Remove pthread_atfork.
58338
58339 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58340
58341 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58342 (ptestcases.h): Likewise.
58343
58344 2013-03-08 Roland McGrath <roland@hack.frob.com>
58345
58346 * Makeconfig ($(common-objpfx)config.status): Depend on
58347 sysdeps/*/preconfigure{,.in} too.
58348
58349 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58350
58351 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58352 (__free_hook): Use void * instead of __malloc_ptr_t.
58353 (__malloc_hook): Likewise.
58354 (__realloc_hook): Likewise.
58355 (__memalign_hook): Likewise.
58356 (__after_morecore_hook): Likewise.
58357 * malloc/arena.c (save_malloc_hook): Likewise.
58358 (save_free_hook): Likewise.
58359 * malloc/hooks.c (malloc_hook_ini): Likewise.
58360 (realloc_hook_ini): Likewise.
58361 (memalign_hook_ini): Likewise.
58362 * malloc/malloc.c (malloc_hook_ini): Likewise.
58363 (realloc_hook_ini): Likewise.
58364 (memalign_hook_ini): Likewise.
58365 (__free_hook): Likewise.
58366 (__malloc_hook): Likewise.
58367 (__realloc_hook): Likewise.
58368 (__memalign_hook): Likewise.
58369 (__libc_malloc): Likewise.
58370 (__libc_free): Likewise.
58371 (__libc_realloc): Likewise.
58372 (__libc_memalign): Likewise.
58373 (__libc_valloc): Likewise.
58374 (__libc_pvalloc): Likewise.
58375 (__libc_calloc): Likewise.
58376 (__posix_memalign): Likewise.
58377 * malloc/morecore.c (__sbrk): Likewise.
58378 (__default_morecore): Likewise.
58379
58380 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58381
58382 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58383 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58384 __malloc_ptrdiff_t.
58385
58386 * malloc/malloc.h (__malloc_size_t): Remove macro.
58387 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58388 __malloc_size_t.
58389 (old_memalign_hook): Likewise.
58390 (old_realloc_hook): Likewise.
58391 (struct hdr): Likewise.
58392 (flood): Likewise.
58393 (mallochook): Likewise.
58394 (memalignhook): Likewise.
58395 (reallochook): Likewise.
58396 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58397 (tr_old_realloc_hook): Likewise.
58398 (tr_old_memalign_hook): Likewise.
58399 (tr_mallochook): Likewise.
58400 (tr_reallochook): Likewise.
58401 (tr_memalignhook): Likewise.
58402
58403 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58404
58405 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58406 default_ldbl_pack and using as default implementation.
58407 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58408 implementation.
58409 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58410 redundant definition.
58411 (ldbl_insert_mantissa): Likewise.
58412 (ldbl_canonicalize): Likewise.
58413 (ldbl_nearbyint): Likewise.
58414 (ldbl_pack): Rename to ldbl_pack_ppc.
58415 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58416 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58417 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58418
58419 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58420
58421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58422 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58423 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58424 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58426 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58427 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58428 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58429
58430 2013-03-07 Andreas Jaeger <aj@suse.de>
58431
58432 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58433 bits/mman-linux.h.
58434
58435 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58436
58437 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58438 Include mpa.h and declare __MPEXP.
58439 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58440 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58441 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58442 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58444 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58446
58447 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58448 (__slowpow): Use long double EXPL and LOGL functions to
58449 compute POW.
58450 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58451 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58452 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58454 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58455 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58456
58457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58458 intermediate variable to calculate exponent.
58459 (__sqr): Likewise.
58460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58461 Likewise.
58462 (__sqr): Likewise.
58463
58464 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58465 [!NO__SQR]: Define __sqr.
58466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58467 and NO__SQR. Remove all code except __mul and __sqr. Include
58468 sysdeps/ieee754/dbl-64/mpa.c.
58469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58470
58471 [BZ #12723]
58472 * posix/Makefile (tests): Add tst-pathconf.
58473 * posix/tst-pathconf.c: New test case.
58474 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58475 _PC_PIPE_BUF.
58476 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58477
58478 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58479
58480 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58481
58482 2013-03-06 Andreas Jaeger <aj@suse.de>
58483
58484 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58485 definition via __MAP_ANONYMOUS.
58486
58487 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58488 it's not part of Linux headers.
58489
58490 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58491 (MAP_HUGE_MASK): Define.
58492
58493 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58494 Define.
58495 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58496 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58497 Define.
58498 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58499 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58500 Define.
58501 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58502 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58503 Define.
58504 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58505
58506 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58507 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58508 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58509 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58510 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58511 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58512
58513 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58514 Handle f2fs.
58515
58516 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58517 Handle f2fs and efivarfs.
58518
58519 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58520 f2fs.
58521
58522 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58523 (EFIVARFS_MAGIC): Add.
58524 (F2FS_LINK_MAX): Add.
58525
58526 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58527
58528 * stdio-common/vfprintf.c: Replace __builtin_expect with
58529 __glibc_unlikely.
58530
58531 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58532
58533 [BZ #13550]
58534 * sysdeps/generic/bp-sym.h: Remove file.
58535 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58536 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58537 <bp-sym.h> and <bp-asm.h>.
58538 (__longjmp): Don't use BP_SYM.
58539 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58540 and <bp-asm.h>.
58541 (memcpy): Don't use BP_SYM.
58542 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58543 <bp-sym.h> and <bp-asm.h>.
58544 (memcpy): Don't use BP_SYM.
58545 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58546 <bp-asm.h>.
58547 (memcpy): Don't use BP_SYM.
58548 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58549 <bp-asm.h>.
58550 (memset): Don't use BP_SYM.
58551 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58552 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58553 (__bzero): Don't use BP_SYM.
58554 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58555 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58556 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58557 <bp-sym.h> and <bp-asm.h>.
58558 (memcmp): Don't use BP_SYM. Remove comment about bounded
58559 pointers.
58560 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58561 <bp-sym.h> and <bp-asm.h>.
58562 (memcpy): Don't use BP_SYM.
58563 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58564 <bp-sym.h> and <bp-asm.h>.
58565 (memset): Don't use BP_SYM.
58566 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58567 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58568 (__bzero): Don't use BP_SYM.
58569 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58570 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58571 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58572 <bp-sym.h> and <bp-asm.h>.
58573 (strncmp): Don't use BP_SYM. Remove comment about bounded
58574 pointers.
58575 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58576 <bp-sym.h> and <bp-asm.h>.
58577 (memcpy): Don't use BP_SYM.
58578 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58579 <bp-sym.h> and <bp-asm.h>.
58580 (memset): Don't use BP_SYM.
58581 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58582 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58583 (__bzero): Don't use BP_SYM.
58584 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58585 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58586 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58587 <bp-sym.h> and <bp-asm.h>.
58588 (__memchr): Don't use BP_SYM.
58589 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58590 <bp-sym.h> and <bp-asm.h>.
58591 (memcmp): Don't use BP_SYM. Remove comment about bounded
58592 pointers.
58593 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58594 <bp-sym.h> and <bp-asm.h>.
58595 (memcpy): Don't use BP_SYM.
58596 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58597 <bp-sym.h> and <bp-asm.h>.
58598 (__mempcpy): Don't use BP_SYM.
58599 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58600 <bp-sym.h> and <bp-asm.h>.
58601 (__memrchr): Don't use BP_SYM.
58602 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58603 <bp-sym.h> and <bp-asm.h>.
58604 (memset): Don't use BP_SYM.
58605 (__bzero): Likewise.
58606 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58607 <bp-sym.h> and <bp-asm.h>.
58608 (__rawmemchr): Don't use BP_SYM.
58609 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58610 <bp-sym.h> and <bp-asm.h>.
58611 (__STRCMP): Don't use BP_SYM.
58612 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58613 <bp-sym.h> and <bp-asm.h>.
58614 (strchr): Don't use BP_SYM.
58615 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58616 <bp-sym.h> and <bp-asm.h>.
58617 (__strchrnul): Don't use BP_SYM.
58618 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58619 <bp-sym.h> and <bp-asm.h>.
58620 (strlen): Don't use BP_SYM.
58621 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58622 <bp-sym.h> and <bp-asm.h>.
58623 (strncmp): Don't use BP_SYM. Remove comment about bounded
58624 pointers.
58625 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58626 <bp-sym.h> and <bp-asm.h>.
58627 (__strnlen): Don't use BP_SYM.
58628 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58629 <bp-sym.h> and <bp-asm.h>.
58630 (__GI__setjmp): Don't use BP_SYM.
58631 (_setjmp): Likewise.
58632 (__sigsetjmp): Likewise.
58633 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58634 (L(start_addresses)): Don't use BP_SYM.
58635 (_start): Likewise.
58636 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58637 <bp-asm.h>.
58638 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58639 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58640 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58641 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58642 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58643 <bp-asm.h>.
58644 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58645 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58646 about bounded pointers.
58647 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58648 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58649 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58650 <bp-asm.h>.
58651 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58652 about bounded pointers. Remove GKM FIXME comments.
58653 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58654 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58655 <bp-asm.h>.
58656 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58657 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58658 Remove GKM FIXME comments.
58659 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58660 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58661 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58662 <bp-asm.h>.
58663 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58664 about bounded pointers. Remove GKM FIXME comment.
58665 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58666 and <bp-asm.h>.
58667 (strncmp): Don't use BP_SYM. Remove comment about bounded
58668 pointers.
58669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58670 <bp-sym.h> and <bp-asm.h>.
58671 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58673 <bp-sym.h> and <bp-asm.h>.
58674 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58675 comment.
58676
58677 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58678
58679 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58680 call free(NULL).
58681
58682 2013-03-05 David S. Miller <davem@davemloft.net>
58683
58684 * po/es.po: Update from translation team.
58685
58686 2013-03-05 Andreas Jaeger <aj@suse.de>
58687
58688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58689 <bits/mman-linux.h>.
58690 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58691 is fine.
58692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58693 <bits/mman-linux.h> to end of file.
58694 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58695 is fine.
58696 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58697 <bits/mman-linux.h> to end of file.
58698 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58699 is fine.
58700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58701 <bits/mman-linux.h> to end of file.
58702
58703 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58704 (MCL_CURRENT, MCL_FUTURE): Define here.
58705
58706 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58707
58708 [BZ #15232]
58709 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58710 attribute_hidden.
58711 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58712
58713 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58714
58715 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58716 fourth parameter needed for rt_sigprocmask syscall.
58717 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58718 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58719 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58720 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58721 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58722 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58723
58724 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58725
58726 [BZ #13550]
58727 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58728 comment about bounded pointers.
58729 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58730 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58731
58732 2013-03-04 Andreas Jaeger <aj@suse.de>
58733
58734 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58735 common definitions.
58736
58737 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58738 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58739 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58740 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58742 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58743
58744 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58745
58746 [BZ #15055]
58747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58748 __ieee754_sqrl instead of __sqrl.
58749
58750 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58751
58752 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58753 * sysdeps/powerpc/fpu_control.h: ... here.
58754 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58755 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58756 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58757 * sysdeps/powerpc/bits/mathinline.h: ... here.
58758
58759 2013-03-01 Roland McGrath <roland@hack.frob.com>
58760
58761 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58762 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58763 to just [NEED_DL_SYSINFO_DSO].
58764 * elf/dl-support.c: Likewise.
58765 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58766 * elf/rtld.c (dl_main): Likewise.
58767 * elf/setup-vdso.h (setup_vdso): Likewise.
58768 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58769 * sysdeps/unix/sysv/linux/dl-sysdep.c
58770 (_dl_discover_osversion): Likewise.
58771
58772 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58773
58774 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58775 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58776
58777 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58778
58779 * NEWS: Mention libm performance improvements and non-x86 PI
58780 futex support.
58781
58782 * csu/libc-start.c (__pthread_initialize_minimal): Change
58783 function arguments.
58784 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58785
58786 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58787
58788 [BZ #13550]
58789 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58790 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58791 <bp-sym.h> and <bp-asm.h>.
58792 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58793 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58794 and <bp-asm.h>.
58795 (memcpy): Don't use BP_SYM.
58796 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58797 <bp-asm.h>.
58798 (__mpn_add_n): Don't use BP_SYM.
58799 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58800 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58801 and <bp-asm.h>.
58802 (__mpn_addmul_1): Don't use BP_SYM.
58803 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58804 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58805 <bp-sym.h>.
58806 (_setjmp): Don't use BP_SYM.
58807 (__novmx_setjmp): Likewise.
58808 (__GI__setjmp): Likewise.
58809 (__vmx_setjmp): Likewise.
58810 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58811 <bp-sym.h>.
58812 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58813 (__bzero): Don't use BP_SYM.
58814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58816 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58817 <bp-sym.h> and <bp-asm.h>.
58818 (memcpy): Don't use BP_SYM.
58819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58820 <bp-sym.h> and <bp-asm.h>.
58821 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58822 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58823 <bp-sym.h> and <bp-asm.h>.
58824 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58825 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58826 <bp-asm.h>.
58827 (__mpn_lshift): Don't use BP_SYM.
58828 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58829 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58830 <bp-asm.h>.
58831 (memset): Don't use BP_SYM.
58832 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58833 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58834 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58835 <bp-asm.h>.
58836 (__mpn_mul_1): Don't use BP_SYM.
58837 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58839 <bp-sym.h> and <bp-asm.h>.
58840 (memcmp): Don't use BP_SYM.
58841 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58842 <bp-sym.h> and <bp-asm.h>.
58843 (memcpy): Don't use BP_SYM.
58844 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58845 <bp-sym.h> and <bp-asm.h>.
58846 (memset): Don't use BP_SYM.
58847 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58848 <bp-sym.h> and <bp-asm.h>.
58849 (strncmp): Don't use BP_SYM.
58850 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58851 <bp-sym.h> and <bp-asm.h>.
58852 (memcpy): Don't use BP_SYM.
58853 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58854 <bp-sym.h> and <bp-asm.h>.
58855 (memset): Don't use BP_SYM.
58856 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58857 <bp-sym.h> and <bp-asm.h>.
58858 (__memchr): Don't use BP_SYM.
58859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58860 <bp-sym.h> and <bp-asm.h>.
58861 (memcmp): Don't use BP_SYM.
58862 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58863 <bp-sym.h> and <bp-asm.h>.
58864 (memcpy): Don't use BP_SYM.
58865 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58866 <bp-sym.h> and <bp-asm.h>.
58867 (__mempcpy): Don't use BP_SYM.
58868 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58869 <bp-sym.h> and <bp-asm.h>.
58870 (__memrchr): Don't use BP_SYM.
58871 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58872 <bp-sym.h> and <bp-asm.h>.
58873 (memset): Don't use BP_SYM.
58874 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58875 <bp-sym.h> and <bp-asm.h>.
58876 (__rawmemchr): Don't use BP_SYM.
58877 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58878 <bp-sym.h> and <bp-asm.h>.
58879 (__STRCMP): Don't use BP_SYM.
58880 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58881 <bp-sym.h> and <bp-asm.h>.
58882 (strchr): Don't use BP_SYM.
58883 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58884 <bp-sym.h> and <bp-asm.h>.
58885 (__strchrnul): Don't use BP_SYM.
58886 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58887 <bp-sym.h> and <bp-asm.h>.
58888 (strlen): Don't use BP_SYM.
58889 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58890 <bp-sym.h> and <bp-asm.h>.
58891 (strncmp): Don't use BP_SYM.
58892 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58893 <bp-sym.h> and <bp-asm.h>.
58894 (__strnlen): Don't use BP_SYM.
58895 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58896 <bp-asm.h>.
58897 (__mpn_rshift): Don't use BP_SYM.
58898 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58899 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58900 <bp-sym.h> and <bp-asm.h>.
58901 (__sigsetjmp): Don't use BP_SYM.
58902 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58903 (L(start_addresses)): Don't use BP_SYM.
58904 (_start): Likewise.
58905 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58906 <bp-asm.h>.
58907 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58908 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58909 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58910 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58911 <bp-asm.h>.
58912 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58913 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58914 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58915 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58916 <bp-asm.h>.
58917 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58918 comments.
58919 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58920 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58921 <bp-asm.h>.
58922 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58923 FIXME comments.
58924 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58925 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58926 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58927 <bp-asm.h>.
58928 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58929 comment.
58930 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58931 and <bp-asm.h>.
58932 (strncmp): Don't use BP_SYM,
58933 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58934 <bp-asm.h>.
58935 (__mpn_sub_n): Don't use BP_SYM.
58936 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58937 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58938 and <bp-asm.h>.
58939 (__mpn_submul_1): Don't use BP_SYM.
58940 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58942 <bp-sym.h> and <bp-asm.h>.
58943 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58945 <bp-sym.h> and <bp-asm.h>.
58946 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58947 comment.
58948
58949 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58950
58951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58952 Use ZK to minimize writes to Z.
58953 (sub_magnitudes): Simplify code a bit.
58954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58955 Use ZK to minimize writes to Z.
58956 (sub_magnitudes): Simplify code a bit.
58957
58958 2013-02-27 Roland McGrath <roland@hack.frob.com>
58959
58960 * csu/gmon-start.c: Add special exception to license text.
58961
58962 2013-02-27 Richard Henderson <rth@redhat.com>
58963
58964 * scripts/config.guess: Update from config.git.
58965 * scripts/config.sub: Likewise.
58966
58967 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58968
58969 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58970
58971 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58972
58973 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58974
58975 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58976
58977 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58978
58979 2013-02-26 Roland McGrath <roland@hack.frob.com>
58980
58981 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58982 [$(build-shared = yes].
58983
58984 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58985
58986 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58987 (__mul): Reduce iterations for calculating mantissa.
58988
58989 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58990 MPTWO.
58991 (__mpranred): Likewise.
58992
58993 [BZ #15160]
58994 * malloc/memusagestat.c (main): Draw graphs for heap and stack
58995 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58996
58997 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
58998
58999 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59000 Define __attribute__.
59001
59002 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59003
59004 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59005 unused.
59006 * posix/regex_internal.h (__attribute): Remove.
59007 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59008 (re_string_context_at): Likewise.
59009 (bitset_not): Use __attribute__ and mark function as possibly
59010 unused.
59011 (bitset_merge): Likewise.
59012 (bitset_mask): Likewise.
59013 (re_string_char_size_at): Likewise.
59014 (re_string_wchar_at): Likewise.
59015 (re_string_elem_size_at): Likewise.
59016
59017 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
59018
59019 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59020 code.
59021 (cc32): Likewise.
59022
59023 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59024 (__acr): Likewise.
59025 (__cpy): Likewise.
59026 (norm): Likewise.
59027 (denorm): Likewise.
59028 (__dbl_mp): Likewise.
59029 (add_magnitudes): Likewise.
59030 (sub_magnitudes): Likewise.
59031 (__mul): Likewise.
59032 (__inv): Likewise.
59033
59034 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59035 style.
59036
59037 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59038 style.
59039
59040 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59041 code.
59042
59043 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59044 up changes with default code.
59045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59046 Likewise.
59047
59048 2013-02-24 Allan McRae <allan@archlinux.org>
59049
59050 * manual/socket.texi (The Internet Namespace): Order menu items
59051 to match that in the file.
59052
59053 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59054 node listing of the info page menu.
59055
59056 2013-02-21 Joseph Myers <joseph@codesourcery.com>
59057
59058 [BZ #13550]
59059 * sysdeps/i386/bp-asm.h: Remove file.
59060 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59061 (PARMS): Do not use macros from bp-asm.h.
59062 (S1): Likewise.
59063 (S2): Likewise.
59064 (SIZE): Likewise.
59065 (__mpn_add_n): Do not use BP_SYM
59066 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59067 "bp-asm.h".
59068 (PARMS): Do not use macros from bp-asm.h.
59069 (S1): Likewise.
59070 (SIZE): Likewise.
59071 (__mpn_addmul_1): Do not use BP_SYM
59072 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59073 "bp-asm.h".
59074 (PARMS): Do not use macros from bp-asm.h.
59075 (SIGMSK): Likewise.
59076 (_setjmp): Likewise. Do not use BP_SYM.
59077 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59078 "bp-asm.h".
59079 (PARMS): Do not use macros from bp-asm.h.
59080 (SIGMSK): Likewise.
59081 (setjmp): Likewise. Do not use BP_SYM.
59082 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59083 "bp-asm.h".
59084 (PARMS): Do not use macros from bp-asm.h.
59085 (__frexp): Do not use BP_SYM.
59086 (frexp): Likewise.
59087 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59088 "bp-asm.h".
59089 (PARMS): Do not use macros from bp-asm.h.
59090 (__frexpf): Do not use BP_SYM.
59091 (frexpf): Likewise.
59092 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59093 "bp-asm.h".
59094 (PARMS): Do not use macros from bp-asm.h.
59095 (__frexpl): Do not use BP_SYM.
59096 (frexpl): Likewise.
59097 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59098 "bp-asm.h".
59099 (PARMS): Do not use macros from bp-asm.h.
59100 (__remquo): Do not use BP_SYM.
59101 (remquo): Likewise.
59102 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59103 "bp-asm.h".
59104 (PARMS): Do not use macros from bp-asm.h.
59105 (__remquof): Do not use BP_SYM.
59106 (remquof): Likewise.
59107 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59108 "bp-asm.h".
59109 (PARMS): Do not use macros from bp-asm.h.
59110 (__remquol): Do not use BP_SYM.
59111 (remquol): Likewise.
59112 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59113 "bp-asm.h".
59114 (PARMS): Do not use macros from bp-asm.h.
59115 (DEST): Likewise.
59116 (SRC): Likewise.
59117 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59118 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59119 "bp-asm.h".
59120 (PARMS): Do not use macros from bp-asm.h.
59121 (strlen): Do not use BP_SYM.
59122 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59123 "bp-asm.h".
59124 (PARMS): Do not use macros from bp-asm.h.
59125 (S1): Likewise.
59126 (S2): Likewise.
59127 (SIZE): Likewise.
59128 (__mpn_add_n): Do not use BP_SYM.
59129 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59130 "bp-asm.h".
59131 (PARMS): Do not use macros from bp-asm.h.
59132 (S1): Likewise.
59133 (SIZE): Likewise.
59134 (__mpn_addmul_1): Do not use BP_SYM.
59135 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59136 weak_alias.
59137 (bzero): Likewise.
59138 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59139 "bp-asm.h".
59140 (PARMS): Do not use macros from bp-asm.h.
59141 (S): Likewise.
59142 (SIZE): Likewise.
59143 (__mpn_lshift): Do not use BP_SYM.
59144 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59145 "bp-asm.h".
59146 (PARMS): Do not use macros from bp-asm.h.
59147 (DEST): Likewise.
59148 (SRC): Likewise.
59149 (LEN): Likewise.
59150 (memcpy): Likewise. Do not use BP_SYM.
59151 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59152 libc_hidden_def and weak_alias.
59153 (mempcpy): Do not use BP_SYM in weak_alias.
59154 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59155 "bp-asm.h".
59156 (PARMS): Do not use macros from bp-asm.h.
59157 (DEST): Likewise.
59158 (LEN): Likewise.
59159 [!BZERO_P] (CHR): Likewise.
59160 (memset): Likewise. Do not use BP_SYM.
59161 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59162 "bp-asm.h".
59163 (PARMS): Do not use macros from bp-asm.h.
59164 (S1): Likewise.
59165 (SIZE): Likewise.
59166 (__mpn_mul_1): Do not use BP_SYM.
59167 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59168 "bp-asm.h".
59169 (PARMS): Do not use macros from bp-asm.h.
59170 (S): Likewise.
59171 (SIZE): Likewise.
59172 (__mpn_rshift): Do not use BP_SYM.
59173 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59174 "bp-asm.h".
59175 (PARMS): Do not use macros from bp-asm.h.
59176 (STR): Likewise.
59177 (CHR): Likewise.
59178 (strchr): Likewise. Do not use BP_SYM.
59179 (index): Do not use BP_SYM in weak_alias.
59180 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59181 "bp-asm.h".
59182 (PARMS): Do not use macros from bp-asm.h.
59183 (DEST): Likewise.
59184 (SRC): Likewise.
59185 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59186 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59187 "bp-asm.h".
59188 (PARMS): Do not use macros from bp-asm.h.
59189 (strlen): Do not use BP_SYM.
59190 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59191 "bp-asm.h".
59192 (PARMS): Do not use macros from bp-asm.h.
59193 (S1): Likewise.
59194 (S2): Likewise.
59195 (SIZE): Likewise.
59196 (__mpn_sub_n): Do not use BP_SYM.
59197 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59198 "bp-asm.h".
59199 (PARMS): Do not use macros from bp-asm.h.
59200 (S1): Likewise.
59201 (SIZE): Likewise.
59202 (__mpn_submul_1): Do not use BP_SYM.
59203 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59204 "bp-asm.h".
59205 (PARMS): Do not use macros from bp-asm.h.
59206 (S1): Likewise.
59207 (S2): Likewise.
59208 (SIZE): Likewise.
59209 (__mpn_add_n): Do not use BP_SYM.
59210 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59211 weak_alias.
59212 (bzero): Likewise.
59213 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59214 "bp-asm.h".
59215 (PARMS): Do not use macros from bp-asm.h.
59216 (BLK2): Likewise.
59217 (LEN): Likewise.
59218 (memcmp): Do not use BP_SYM.
59219 (bcmp): Do not use BP_SYM in weak_alias.
59220 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59221 "bp-asm.h".
59222 (PARMS): Do not use macros from bp-asm.h.
59223 (DEST): Likewise.
59224 (SRC): Likewise.
59225 (LEN): Likewise.
59226 (memcpy): Likewise. Do not use BP_SYM.
59227 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59228 "bp-asm.h".
59229 (PARMS): Do not use macros from bp-asm.h.
59230 (DEST): Likewise.
59231 (SRC): Likewise.
59232 (LEN): Likewise.
59233 (memmove): Likewise. Do not use BP_SYM.
59234 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59235 "bp-asm.h".
59236 (PARMS): Do not use macros from bp-asm.h.
59237 (DEST): Likewise.
59238 (SRC): Likewise.
59239 (LEN): Likewise.
59240 (__mempcpy): Likewise. Do not use BP_SYM.
59241 (mempcpy): Do not use BP_SYM in weak_alias.
59242 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59243 "bp-asm.h".
59244 (PARMS): Do not use macros from bp-asm.h.
59245 (DEST): Likewise.
59246 (LEN): Likewise.
59247 [!BZERO_P] (CHR): Likewise.
59248 (memset): Likewise. Do not use BP_SYM.
59249 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59250 "bp-asm.h".
59251 (PARMS): Do not use macros from bp-asm.h.
59252 (STR2): Likewise.
59253 (strcmp): Do not use BP_SYM.
59254 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59255 "bp-asm.h".
59256 (PARMS): Do not use macros from bp-asm.h.
59257 (STR): Likewise.
59258 (DELIM): Likewise.
59259 [USE_AS_STRTOK_R] (SAVE): Likewise.
59260 (FUNCTION): Likewise. Do not use BP_SYM.
59261 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59262 aliases.
59263 (strtok_r): Likewise.
59264 (__GI___strtok_r): Likewise.
59265 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59266 (PARMS): Do not use macros from bp-asm.h.
59267 (S): Likewise.
59268 (SIZE): Likewise.
59269 (__mpn_lshift): Do not use BP_SYM.
59270 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59271 (PARMS): Do not use macros from bp-asm.h.
59272 (STR): Likewise.
59273 (CHR): Likewise.
59274 (__memchr): Do not use BP_SYM.
59275 (memchr): Do not use BP_SYM in weak_alias.
59276 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59277 (PARMS): Do not use macros from bp-asm.h.
59278 (BLK2): Likewise.
59279 (LEN): Likewise.
59280 (memcmp): Do not use BP_SYM.
59281 (bcmp): Do not use BP_SYM in weak_alias.
59282 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59283 (PARMS): Do not use macros from bp-asm.h.
59284 (S1): Likewise.
59285 (SIZE): Likewise.
59286 (__mpn_mul_1): Do not use BP_SYM.
59287 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59288 "bp-asm.h".
59289 (PARMS): Do not use macros from bp-asm.h.
59290 (STR): Likewise.
59291 (CHR): Likewise.
59292 (__rawmemchr): Do not use BP_SYM.
59293 (rawmemchr): Do not use BP_SYM in weak_alias.
59294 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59295 (PARMS): Do not use macros from bp-asm.h.
59296 (S): Likewise.
59297 (SIZE): Likewise.
59298 (__mpn_rshift): Do not use BP_SYM.
59299 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59300 (PARMS): Do not use macros from bp-asm.h.
59301 (SIGMSK): Likewise.
59302 (__sigsetjmp): Likewise. Do not use BP_SYM.
59303 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59304 (_start): Do not use BP_SYM.
59305 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59306 (PARMS): Do not use macros from bp-asm.h.
59307 (DEST): Likewise.
59308 (SRC): Likewise.
59309 (__stpcpy): Likewise. Do not use BP_SYM.
59310 (stpcpy): Do not use BP_SYM in weak_alias.
59311 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59312 "bp-asm.h".
59313 (PARMS): Do not use macros from bp-asm.h.
59314 (DEST): Likewise.
59315 (SRC): Likewise.
59316 (LEN): Likewise.
59317 (__stpncpy): Likewise. Do not use BP_SYM.
59318 (stpncpy): Do not use BP_SYM in weak_alias.
59319 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59320 (PARMS): Do not use macros from bp-asm.h.
59321 (STR): Likewise.
59322 (CHR): Likewise.
59323 (strchr): Likewise. Do not use BP_SYM.
59324 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59325 "bp-asm.h".
59326 (PARMS): Do not use macros from bp-asm.h.
59327 (STR): Likewise.
59328 (CHR): Likewise.
59329 (__strchrnul): Likewise. Do not use BP_SYM.
59330 (strchrnul): Do not use BP_SYM in weak_alias.
59331 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59332 "bp-asm.h".
59333 (PARMS): Do not use macros from bp-asm.h.
59334 (STOP): Likewise.
59335 (strcspn): Do not use BP_SYM.
59336 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59337 "bp-asm.h".
59338 (PARMS): Do not use macros from bp-asm.h.
59339 (STR): Likewise.
59340 (STOP): Likewise.
59341 (strpbrk): Likewise. Do not use BP_SYM.
59342 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59343 "bp-asm.h".
59344 (PARMS): Do not use macros from bp-asm.h.
59345 (STR): Likewise.
59346 (CHR): Likewise.
59347 (strrchr): Likewise. Do not use BP_SYM.
59348 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59349 (PARMS): Do not use macros from bp-asm.h.
59350 (SKIP): Likewise.
59351 (strspn): Do not use BP_SYM.
59352 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59353 (PARMS): Do not use macros from bp-asm.h.
59354 (STR): Likewise.
59355 (DELIM): Likewise.
59356 (SAVE): Likewise.
59357 (FUNCTION): Likewise. Do not use BP_SYM.
59358 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59359 aliases.
59360 (strtok_r): Likewise.
59361 (__GI___strtok_r): Likewise.
59362 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59363 (PARMS): Do not use macros from bp-asm.h.
59364 (S1): Likewise.
59365 (S2): Likewise.
59366 (SIZE): Likewise.
59367 (__mpn_sub_n): Do not use BP_SYM.
59368 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59369 "bp-asm.h".
59370 (PARMS): Do not use macros from bp-asm.h.
59371 (S1): Likewise.
59372 (SIZE): Likewise.
59373 (__mpn_submul_1): Do not use BP_SYM.
59374 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59375 <bp-sym.h>.
59376 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59377 and <bp-asm.h>.
59378 (PARMS): Do not use macros from bp-asm.h.
59379 (FLAGS): Likewise.
59380 (PTID): Likewise.
59381 (TLS): Likewise.
59382 (CTID): Likewise.
59383 (__clone): Do not use BP_SYM.
59384 (clone): Do not use BP_SYM in weak_alias.
59385 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59386 and <bp-asm.h>.
59387 (PARMS): Do not use macros from bp-asm.h.
59388 (LEN): Likewise.
59389 (__mmap64): Do not use BP_SYM.
59390 (mmap64): Do not use BP_SYM in weak_alias.
59391 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59392 <bp-sym.h> and <bp-asm.h>.
59393 (PARMS): Do not use macros from bp-asm.h.
59394 (__posix_fadvise64_l64): Do not use BP_SYM.
59395 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59396 (PARMS): Do not use macros from bp-asm.h.
59397 (NSOPS): Likewise.
59398 (semtimedop): Do not use BP_SYM.
59399 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59400 and <bp-asm.h>.
59401
59402 2013-02-21 Allan McRae <allan@archlinux.org>
59403
59404 * manual/message.texi (Charset conversion in gettext):
59405 Move @end statement to beginning of line.
59406
59407 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59408
59409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59410 static.
59411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59412 Likewise.
59413
59414 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59415 (denorm): Likewise.
59416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59418
59419 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59420
59421 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59422 tail-call to the resolved function if pltexit isn't needed.
59423
59424 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59425
59426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59427 or Y being zero as being unlikely.
59428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59429 Likewise.
59430
59431 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59432
59433 * manual/nss.texi (System Databases and Name Service Switch):
59434 Remove frobnicate @pxref.
59435
59436 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59437
59438 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59439 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59440
59441 2013-02-20 Petr Machata <pmachata@redhat.com>
59442
59443 * elf/elf.h (R_ARM_TARGET1): New macro.
59444 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59445 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59446 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59447 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59448 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59449 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59450 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59451 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59452 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59453 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59454 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59455 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59456 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59457 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59458 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59459 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59460 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59461 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59462 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59463 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59464 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59465 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59466 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59467 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59468 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59469 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59470 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59471 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59472 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59473 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59474 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59475 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59476 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59477 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59478 (R_ARM_THM_GOT_BREL12): Likewise.
59479 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59480 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59481 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59482 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59483 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59484 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59485 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59486 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59487 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59488
59489 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59490
59491 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59492 __attribute_used__ to __attribute__ ((unused)).
59493
59494 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59495
59496 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59497 powerpc mpa.c.
59498 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59499 comment formatting.
59500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59501
59502 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59503
59504 [BZ #13550]
59505 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59506 Remove macro.
59507 (ENTER): Remove both macro definitions.
59508 (LEAVE): Likewise.
59509 (CHECK_BOUNDS_LOW): Likewise.
59510 (CHECK_BOUNDS_HIGH): Likewise.
59511 (CHECK_BOUNDS_BOTH): Likewise.
59512 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59513 (RETURN_BOUNDED_POINTER): Likewise.
59514 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59515 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59516 (POP_ERRNO_LOCATION_RETURN): Likewise.
59517 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59519 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59520 macros.
59521 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59522 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59523 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59524 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59525 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59526 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59527 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59528 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59529 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59530 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59531 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59532 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59533 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59534 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59535 removed macros.
59536 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59537 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59538 macros.
59539 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59540 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59541 * sysdeps/i386/i586/memset.S (memset): Likewise.
59542 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59543 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59544 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59545 macros.
59546 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59547 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59548 Change uses of L(2) to L(out).
59549 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59550 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59551 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59552 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59553 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59554 removed macros.
59555 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59556 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59557 macros.
59558 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59559 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59560 (RETURN): Do not use macro LEAVE.
59561 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59562 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59563 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59564 * sysdeps/i386/i686/memset.S (memset): Likewise.
59565 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59566 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59567 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59568 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59569 Likewise.
59570 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59571 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59572 L(1_2) and L(1_3) into L(1).
59573 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59574 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59575 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59576 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59577 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59578 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59579 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59580 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59581 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59582 macros.
59583 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59584 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59585 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59586 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59587 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59588 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59589 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59590 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59591 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59592 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59593 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59594 * sysdeps/i386/strspn.S (strspn): Likewise.
59595 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59596 conditional code.
59597 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59598 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59599 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59600 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59601 L(1_3) into L(1_1).
59602 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59603 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59604 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59605 macros.
59606 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59607
59608 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59609
59610 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59611 macro.
59612
59613 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59614
59615 * math/atest-exp.c (exp_mpn): Remove ROUND.
59616 * math/atest-exp2.c (exp_mpn): Likewise.
59617 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59618
59619 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59620 * stdlib/tst-tls-atexit-lib.c: Likewise.
59621 * stdlib/tst-tls-atexit.c: Likewise.
59622
59623 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59624
59625 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59626 and __attribute_alloc_size__.
59627
59628 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59629
59630 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59631 __attribute_alloc_size__.
59632 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59633 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59634
59635 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59636
59637 * include/programs/xmalloc.h: New file.
59638 * catgets/gencat.c: Include it.
59639 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59640 * elf/pldd.c: Likewise.
59641 * iconv/iconv_charmap.c: Likewise.
59642 * iconv/iconvconfig.c: Likewise.
59643 * iconv/strtab.c: Likewise.
59644 * locale/programs/locale.c: Likewise.
59645 * locale/programs/localedef.h: Likewise.
59646 * locale/programs/simple-hash.c: Likewise.
59647 * nscd/nscd.h: Likewise.
59648 * nss/makedb.c: Likewise.
59649 * sysdeps/generic/ldconfig.h: Likewise.
59650
59651 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59652
59653 * Versions.def: Add GLIBC_2.18.
59654 * include/link.h (struct link_map): New member l_tls_dtor_count.
59655 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59656 (__call_tls_dtors): Likewise.
59657 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59658 __cxa_thread_atexit_impl.
59659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59660 Likewise.
59661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59662 Likewise.
59663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59664 Likewise.
59665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59666 Likewise.
59667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59669 Likewise.
59670 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59671 Likewise.
59672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59674 Likewise.
59675 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59676 (tests): Add test case tst-tls-atexit.
59677 (modules-names): Add shared library for tst-tls-atexit.
59678 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59679 (GLIBC_PRIVATE): Add __call_tls_dtors.
59680 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59681 for libstdc++.
59682 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59683 * stdlib/tst-tls-atexit.c: New test case.
59684 * stdlib/tst-tls-atexit-lib.c: New test case.
59685
59686 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59687
59688 * elf/Versions (ld): Add _dl_find_dso_for_object.
59689 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59690 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59691 (dl_open_worker): Use _dl_find_dso_for_object.
59692 * elf/dl-sym.c (do_sym): Likewise.
59693 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59694
59695 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59696
59697 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59698 Syntactic changes only.
59699 (_dl_runtime_profile): Do a tail-call to the resolved function.
59700
59701 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59702
59703 [BZ #13550]
59704 * sysdeps/x86_64/bp-asm.h: Remove file.
59705 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59706 <bp-sym.h> and <bp-asm.h>.
59707 (__clone): Do not use BP_SYM.
59708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59709 <bp-sym.h> and <bp-asm.h>.
59710 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59711 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59712 "bp-asm.h".
59713 (_setjmp): Do not use BP_SYM.
59714 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59715 "bp-asm.h".
59716 (setjmp): Do not use BP_SYM.
59717 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59718 libc_hidden_def.
59719 (mempcpy): Do not use BP_SYM in weak_alias.
59720 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59721 "bp-asm.h".
59722 (strchr): Do not use BP_SYM.
59723 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59724 "bp-asm.h".
59725 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59726 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59727 (_start): Do not use BP_SYM.
59728 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59729 "bp-asm.h".
59730 (strcat): Do not use BP_SYM.
59731 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59732 "bp-asm.h".
59733 (STRCMP): Do not use BP_SYM.
59734 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59735 "bp-asm.h".
59736 (STRCPY): Do not use BP_SYM.
59737 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59738 "bp-asm.h".
59739 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59740 "bp-asm.h".
59741 (FUNCTION): Do not use BP_SYM.
59742 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59743 weak_alias.
59744 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59745
59746 2013-02-17 Andreas Jaeger <aj@suse.de>
59747
59748 * time/Versions: Sort entries.
59749 * string/Versions: Likewise.
59750 * resolv/Versions: Likewise.
59751 * posix/Versions: Likewise.
59752 * iconv/Versions: Likewise.
59753 * elf/Versions: Likewise.
59754 * wcsmbs/Versions: Likewise.
59755
59756 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59757
59758 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59759 loop termination condition.
59760
59761 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59762 variable to calculate EZ.
59763 (__sqr): Likewise.
59764
59765 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59766 the lower precision input.
59767
59768 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59769
59770 [BZ #13550]
59771 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59772 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59773 (run-via-rtld-prefix): Do not handle %-bp tests.
59774 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59775 (all-object-suffixes): Remove .ob.
59776 (bppfx): Remove variable.
59777 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59778 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59779 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59780 [$(build-bounded) = yes] (libtype.ob): Likewise.
59781 * Makerules (elide-routines.ob): Remove variable.
59782 (do-tests-clean): Do not handle *-bp.out.
59783 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59784 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59785 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59786 (tests): Do not include $(tests-bp.out).
59787 (xtests): Do not include $(xtests-bp.out).
59788 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59789 [$(build-bounded) = yes] ($(addprefix
59790 $(objpfx),$(binaries-bounded))): Remove rule.
59791 ($(objpfx)%-bp.out): Remove rule.
59792 * config.make.in (build-bounded): Remove variable.
59793 * crypt/Makefile [$(build-bounded) = yes]
59794 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59795 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59796 append to variable.
59797 [$(build-bounded) = yes] (install-lib): Likewise.
59798 [$(build-bounded) = yes] (generated): Likewise.
59799 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59800 Remove rule.
59801 * intl/Makefile [$(build-bounded) = yes]
59802 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59803 * math/Makefile [$(build-bounded) = yes]
59804 ($(tests:%=$(objpfx)%-bp): Likewise.
59805 * misc/Makefile [$(build-bounded) = yes]
59806 ($(objpfx)tst-tsearch-bp): Likewise.
59807 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59808 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59809 Remove dependency.
59810 * string/Makefile (o-objects.ob): Remove variable.
59811 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59812 (CFLAGS-.ob): Remove variable.
59813 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59814 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59815 both definitions of variable.
59816 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59817 (ASFLAGS-.ob): Remove variable.
59818
59819 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59820
59821 [BZ #13550]
59822 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59823 Remove __BOUNDED_POINTERS__ from condition.
59824 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59825 * string/bits/string2.h [!__NO_STRING_INLINES &&
59826 !__BOUNDED_POINTERS__]: Likewise.
59827 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59828 Likewise.
59829 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59830 Remove conditional code.
59831 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59832 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59833 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59834 condition.
59835
59836 [BZ #13550]
59837 * csu/libc-start.c: Do not include <bp-sym.h>.
59838 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59839 * elf/dl-open.c: Do not include <bp-sym.h>.
59840 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59841 * math/fegetenv.c: Do not include <bp-sym.h>.
59842 (fegetenv): Do not use BP_SYM in versioned symbols.
59843 * nptl/sysdeps/pthread/bits/libc-lockP.h
59844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59845 <bp-sym.h>.
59846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59847 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59849 (__pthread_mutex_destroy): Likewise.
59850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59851 (__pthread_mutex_lock): Likewise.
59852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59853 (__pthread_mutex_trylock): Likewise.
59854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59855 (__pthread_mutex_unlock): Likewise.
59856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59857 (__pthread_mutexattr_init): Likewise.
59858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59859 (__pthread_mutexattr_destroy): Likewise.
59860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59861 (__pthread_mutexattr_settype): Likewise.
59862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59863 (__pthread_rwlock_init): Likewise.
59864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59865 (__pthread_rwlock_destroy): Likewise.
59866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59867 (__pthread_rwlock_rdlock): Likewise.
59868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59869 (__pthread_rwlock_tryrdlock): Likewise.
59870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59871 (__pthread_rwlock_wrlock): Likewise.
59872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59873 (__pthread_rwlock_trywrlock): Likewise.
59874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59875 (__pthread_rwlock_unlock): Likewise.
59876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59877 (__pthread_key_create): Likewise.
59878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59879 (__pthread_setspecific): Likewise.
59880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59881 (__pthread_getspecific): Likewise.
59882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59883 Likewise.
59884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59885 (_pthread_cleanup_push_defer): Likewise.
59886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59887 (_pthread_cleanup_pop_restore): Likewise.
59888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59889 (pthread_setcancelstate): Likewise.
59890 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59891 <bp-sym.h>.
59892 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59893 (memchr): Do not use BP_SYM in weak_alias.
59894 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59895 (fegetenv): Do not use BP_SYM in versioned symbols.
59896 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59897 (fesetenv): Do not use BP_SYM in versioned symbols.
59898 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59899 (feupdateenv): Do not use BP_SYM in versioned symbols.
59900 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59901 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59902 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59903 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59904 (open64): Do not use BP_SYM in weak_alias.
59905 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59906 (fegetenv): Do not use BP_SYM in versioned symbols.
59907 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59908 (fesetenv): Do not use BP_SYM in versioned symbols.
59909 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59910 (feupdateenv): Do not use BP_SYM in versioned symbols.
59911 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59912 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59913 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59914 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59915 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59916 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59917 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59918 <bp-sym.h>.
59919 (__libc_start_main): Do not use BP_SYM.
59920
59921 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59922
59923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59924 redundant return line.
59925 (norm): Likewise.
59926 (denorm): Likewise.
59927 (dbl_mp): Likewise.
59928 (sub_magnitudes): Likewise.
59929 (__add): Likewise.
59930 (__sub): Likewise.
59931 (__mul): Likewise.
59932 (__inv): Likewise.
59933 (__dvd): Likewise.
59934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59935 (norm): Likewise.
59936 (denorm): Likewise.
59937 (dbl_mp): Likewise.
59938 (sub_magnitudes): Likewise.
59939 (__add): Likewise.
59940 (__sub): Likewise.
59941 (__mul): Likewise.
59942 (__inv): Likewise.
59943 (__dvd): Likewise.
59944
59945 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59946 instead of __mul.
59947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59948 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59949 (cc32): Likewise.
59950
59951 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59952 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59953 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59954 of __mul for squares.
59955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59956 function
59957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59958 Likewise.
59959 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59961
59962 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59963
59964 [BZ #13550]
59965 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59966 code.
59967 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59968 prototype or function definition. Rename ubp_* variables and
59969 parameters. Remove argv definitions conditional on
59970 [__BOUNDED_POINTERS__].
59971 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59972 * elf/dl-runtime.c (_dl_fixup): Likewise.
59973 * include/set-hooks.h (RUN_HOOK): Likewise.
59974 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59975 definition.
59976 * string/strcpy.c (strcpy): Do not use __unbounded.
59977 * sysdeps/generic/frame.h (struct layout): Likewise.
59978 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59979 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59980 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59981 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59982 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59983 (__backtrace): Likewise.
59984 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59985 use __ptrvalue.
59986 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59987 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59988 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59989 Likewise.
59990 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59991 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59992 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59993 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59994 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59995 Do not use __unbounded.
59996 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59997 Rename __unboundedrlimits parameter to rlimits in prototype.
59998 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59999 Do not use __unbounded.
60000 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60001 not use __ptrvalue.
60002 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60003 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60004 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60005 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60006 __ptrvalue or __unbounded.
60007 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60008 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60009 use __unbounded.
60010 (__new_msgctl): Do not use __ptrvalue.
60011 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60012 __unbounded.
60013 (__libc_msgrcv): Do not use __ptrvalue.
60014 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60015 startup_info): Do not use __unbounded.
60016 (__libc_start_main): Likewise. Rename ubp_* variables and
60017 parameters. Remove argv definitions conditional on
60018 [__BOUNDED_POINTERS__].
60019 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60020 __ptrvalue.
60021 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60022 use __unbounded.
60023 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60024 or __ptrvalue.
60025 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60026 use __unbounded.
60027 (__new_shmctl): Do not use __ptrvalue.
60028 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60029 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60030 Likewise.
60031 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60032 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60033 (__libc_sigaction): Likewise.
60034 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60035 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60036 Likewise.
60037 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60038
60039 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
60040
60041 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60042
60043 * string/mempcpy.c: Implement by calling memcpy.
60044
60045 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
60046
60047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60048
60049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60050 evaluation.
60051
60052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60053 values in the mantissa.
60054
60055 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60056 minimize writes to Z.
60057 (sub_magnitudes): Simplify code a bit.
60058
60059 2013-02-12 Roland McGrath <roland@hack.frob.com>
60060
60061 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60062 from the message. The linker prefixes all warnings with that already.
60063
60064 2013-02-12 Andreas Schwab <schwab@suse.de>
60065
60066 [BZ #15078]
60067 * posix/regexec.c (extend_buffers): Add parameter min_len.
60068 (check_matching): Pass minimum needed length.
60069 (clean_state_log_if_needed): Likewise.
60070 (get_subexp): Likewise.
60071 * posix/Makefile (tests): Add bug-regex34.
60072 (bug-regex34-ENV): Define.
60073 * posix/bug-regex34.c: New file.
60074
60075 [BZ #11561]
60076 * posix/regcomp.c (parse_bracket_exp): When looking up collating
60077 elements compare against the byte sequence of it, not its name.
60078 * posix/Makefile (tests): Add bug-regex35.
60079 (bug-regex35-ENV): Define.
60080 * posix/bug-regex35.c: New file.
60081
60082 2013-02-11 Tom de Vries <tom@codesourcery.com>
60083
60084 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
60085 comment.
60086 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60087 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60088 (CHECK_EOL): Add undef.
60089
60090 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60091
60092 * bits/stdlib-bsearch.h: New file.
60093 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60094 * stdlib/stdlib.h: Likewise.
60095
60096 2013-02-11 Roland McGrath <roland@hack.frob.com>
60097
60098 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60099 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60100 declaration.
60101 * manual/search.texi (Array Search Function): Add missing const in
60102 lfind prototype.
60103 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60104 declaration to use rlim_t.
60105 (Basic Scheduling Functions): Remove erroneous const from
60106 sched_getparam prototype. Remove erroneous * from
60107 sched_get_priority_max and sched_get_priority_min prototypes.
60108 (Resource Usage): Fix summary @comment on vtimes to refer to
60109 sys/vtimes.h rather than vtimes.h.
60110 Add missing *s in vtimes prototype.
60111 (Limits on Resources): Fix ulimit prototype to return long int.
60112 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60113 prototypes to use long int rather than double.
60114 (BSD Random): Fix initstate and setstate to use char *, not void *.
60115 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60116 prototype to make second argument 'struct aiocb64 *const[]'.
60117 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60118 (Status of AIO Operations): Remove erroneous const in aio_return and
60119 aio_return64 prototypes.
60120 (Synchronizing I/O): Fix sync prototype to return void.
60121 * manual/startup.texi (Suboptions): Remove an erroneous const in
60122 getsubopt prototype.
60123 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60124 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60125 use size_t rather than int.
60126 (Scanning All Users): Likewise for getpwent_r.
60127 (Setting Groups): Add missing const to setgroups prototype.
60128 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60129 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60130 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60131 'const void *' rather than 'const char *'.
60132 (Host Address Functions): Likewise for inet_ntop.
60133 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60134 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60135 ssize_t for return value.
60136 (Sending Data): Likewise for send, sendto, sendmsg.
60137 (Socket Option Functions): Add a missing const in setsockopt prototype.
60138 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60139 use wchar_t for the argument.
60140 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60141 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60142 take no arguments.
60143 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60144 double/float/long double for second argument.
60145 Fix return types of significand, significandf, significandl.
60146 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60147 argument in fchmod prototype.
60148 (File Owner): Use uid_t and gid_t in fchown prototype.
60149 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60150 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60151 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60152 use 'const struct dirent **' as argument types to CMP function pointer
60153 argument.
60154 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60155 (File Times): Fix summary magic @comment for struct utimbuf and utime
60156 to refer to utime.h, not time.h.
60157 * manual/string.texi (Argz Functions): Add missing const in
60158 argz_extract and argz_next prototypes.
60159 (Finding Tokens in a String): Likewise for basename.
60160 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60161 (Copying and Concatenation): Fix typo in wmemmove prototype.
60162 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60163 (Signal Stack): Remove erroneous const in sigstack prototype.
60164 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60165 prototype.
60166 (Simple Calendar Time): Likewise for stime.
60167 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60168 prototype.
60169 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60170 say sys/sysctl.h instead.
60171 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60172 and vsyslog prototypes.
60173
60174 2013-02-11 Tom de Vries <tom@codesourcery.com>
60175
60176 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60177 Remove.
60178
60179 2013-02-11 Roland McGrath <roland@hack.frob.com>
60180
60181 * misc/sys/mman.h: Fix typo in mremap comment.
60182
60183 2013-02-08 Roland McGrath <roland@hack.frob.com>
60184
60185 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60186 the '\0' terminator.
60187
60188 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60189
60190 [BZ #13550]
60191 * debug/segfault.c: Don't include <bp-checks.h>.
60192 * sysdeps/generic/bp-checks.h: Remove file.
60193 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60194 (__GETDENTS): Don't use CHECK_N.
60195 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60196 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60197 (__getgroups): Don't use CHECK_N.
60198 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60199 (setgroups): Don't use CHECK_N.
60200 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60201 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60202 (__libc_msgrcv): Don't use CHECK_N.
60203 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60204 (__libc_msgsnd): Don't use CHECK_N.
60205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60206 <bp-checks.h>.
60207 (__libc_pread): Don't use CHECK_N.
60208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60209 include <bp-checks.h>.
60210 (__libc_pread64): Don't use CHECK_N.
60211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60212 include <bp-checks.h>.
60213 (__libc_pwrite): Don't use CHECK_N.
60214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60215 include <bp-checks.h>.
60216 (__libc_pwrite64): Don't use CHECK_N.
60217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60218 <bp-checks.h>.
60219 (__libc_pread): Don't use CHECK_N.
60220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60221 include <bp-checks.h>.
60222 (__libc_pread64): Don't use CHECK_N.
60223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60224 include <bp-checks.h>.
60225 (__libc_pwrite): Don't use CHECK_N.
60226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60227 include <bp-checks.h>.
60228 (__libc_pwrite64): Don't use CHECK_N.
60229 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60230 (do_pread): Don't use CHECK_N.
60231 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60232 (do_pread64): Don't use CHECK_N.
60233 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60234 (do_pwrite): Don't use CHECK_N.
60235 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60236 (do_pwrite64): Don't use CHECK_N.
60237 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60238 (__libc_readv): Don't use CHECK_N.
60239 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60240 (semop): Don't use CHECK_N.
60241 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60242 <bp-checks.h>.
60243 (semtimedop): Don't use CHECK_N.
60244 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60245 (__libc_pread): Don't use CHECK_N.
60246 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60247 <bp-checks.h>.
60248 (__libc_pread64): Don't use CHECK_N.
60249 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60250 <bp-checks.h>.
60251 (__libc_pwrite): Don't use CHECK_N.
60252 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60253 <bp-checks.h>.
60254 (__libc_pwrite64): Don't use CHECK_N.
60255 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60256 <bp-checks.h>.
60257 (__libc_msgrcv): Don't use CHECK_N.
60258 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60259 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60260 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60261 (__libc_writev): Don't use CHECK_N.
60262
60263 2013-02-08 Roland McGrath <roland@hack.frob.com>
60264
60265 * string/strcpy.c: Removed unused variable.
60266
60267 * Makeconfig (+sysdep-includes): Define with := rather than =.
60268 Use an existing include/ subdir of each sysdeps dir before it.
60269
60270 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60271
60272 * nscd/connection.c (register_traced_file): Comment function.
60273 [HAVE_INOTIFY] (union __inev): Define.
60274 [HAVE_INOTIFY] (inotify_check_files): New function.
60275 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60276 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60277 clear_db_cache.
60278 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60279
60280 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60281
60282 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60283 loaded if not already and that a failure is permanent.
60284
60285 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60286
60287 [BZ #15006]
60288 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60289 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60290
60291 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60292
60293 [BZ #13550]
60294 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60295 (CHECK_1_NULL_OK): Likewise.
60296 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60297 (__fxstat): Do not use CHECK_1.
60298 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60299 <bp-checks.h>.
60300 (___fxstat64): Do not use CHECK_1.
60301 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60302 <bp-checks.h>.
60303 (__fxstatat): Do not use CHECK_1.
60304 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60305 <bp-checks.h>.
60306 (__fxstatat64): Do not use CHECK_1.
60307 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60308 <bp-checks.h>.
60309 (__fxstat): Do not use CHECK_1.
60310 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60311 <bp-checks.h>.
60312 (__fxstatat): Do not use CHECK_1.
60313 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60314 <bp-checks.h>.
60315 (__getresgid): Do not use CHECK_1.
60316 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60317 <bp-checks.h>.
60318 (__getresuid): Do not use CHECK_1.
60319 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60320 <bp-checks.h>.
60321 (__lxstat): Do not use CHECK_1.
60322 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60323 <bp-checks.h>.
60324 (__old_msgctl): Do not use CHECK_1.
60325 (__new_msgctl): Likewise.
60326 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60327 <bp-checks.h>.
60328 (__new_setrlimit): Do not use CHECK_1.
60329 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60330 <bp-checks.h>.
60331 (__old_shmctl): Do not use CHECK_1.
60332 (__new_shmctl): Likewise.
60333 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60334 <bp-checks.h>.
60335 (__xstat): Do not use CHECK_1.
60336 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60337 (__lxstat): Do not use CHECK_1.
60338 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60339 <bp-checks.h>.
60340 (___lxstat64): Do not use CHECK_1.
60341 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60342 (__old_msgctl): Do not use CHECK_1.
60343 (__new_msgctl): Likewise.
60344 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60345 <bp-checks.h>.
60346 (__gettimeofday): Do not use CHECK_1.
60347 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60348 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60349 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60350 <bp-checks.h>.
60351 (__gettimeofday): Do not use CHECK_1.
60352 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60353 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60354 (__new_shmctl): Do not use CHECK_1.
60355 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60356 <bp-checks.h>.
60357 (do_sigtimedwait): Do not use CHECK_1.
60358 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60359 <bp-checks.h>.
60360 (do_sigwaitinfo): Do not use CHECK_1.
60361 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60362 <bp-checks.h>.
60363 (msgctl): Do not use CHECK_1.
60364 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60365 <bp-checks.h>.
60366 (shmctl): Do not use CHECK_1.
60367 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60368 (ustat): Do not use CHECK_1.
60369 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60370 <bp-checks.h>.
60371 (__fxstat): Do not use CHECK_1.
60372 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60373 <bp-checks.h>.
60374 (__fxstatat): Do not use CHECK_1.
60375 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60376 <bp-checks.h>.
60377 (__lxstat): Do not use CHECK_1.
60378 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60379 <bp-checks.h>.
60380 (__xstat): Do not use CHECK_1.
60381 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60382 (__xstat): Do not use CHECK_1.
60383 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60384 (___xstat64): Do not use CHECK_1.
60385
60386 [BZ #13550]
60387 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60388 definitions.
60389 (CHECK_BOUNDS_HIGH): Likewise.
60390 * string/strcpy.c: Do not include <bp-checks.h>.
60391 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60392
60393 2013-02-07 Roland McGrath <roland@hack.frob.com>
60394
60395 * nscd/nscd-client.h (__nscd_drop_map_ref):
60396 Add __attribute__ ((unused)).
60397 * nis/nss-nisplus.h (niserr2nss): Likewise.
60398
60399 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60400 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60401
60402 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60403 Remove inline keyword.
60404 * include/rounding-mode.h (round_away): Likewise.
60405 * libio/wfileops.c (adjust_wide_data): Likewise.
60406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60407 (__m128i_strloadu_tolower): Likewise.
60408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60409 (__m128i_strloadu_tolower): Likewise.
60410 * time/mktime.c (ydhms_diff): Likewise.
60411 * locale/elem-hash.h (elem_hash): Likewise.
60412 * locale/setlocale.c (setdata): Likewise.
60413 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60414 (re_string_wchar_at): Likewise.
60415 (bitset_not, bitset_merge, bitset_mask): Likewise.
60416 [!(__GNUC__ > 3)] (inline): Remove macro.
60417 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60418 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60419 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60420 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60421 * string/memcmp.c (memcmp_bytes): Likewise.
60422 * locale/programs/locarchive.c (compute_hashval): Likewise.
60423 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60424 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60425 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60426 * nss/getent.c (print_rpc, print_protocols): Likewise.
60427 (print_passwd, print_group, print_aliases): Likewise.
60428 * nis/nss-nisplus.h (niserr2nss): Likewise.
60429 * nscd/connections.c (restart_p): Likewise.
60430 Change return type to bool.
60431
60432 2013-02-05 Roland McGrath <roland@hack.frob.com>
60433
60434 * Makeconfig (all-Depend-files): Add existing
60435 $(sorted-subdirs:=/Depend) files.
60436 (all-subdirs): Remove nss.
60437 * sysdeps/unix/inet/Subdirs: Add it here instead.
60438 * hesiod/Depend: New file.
60439
60440 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60441 instead of calling alloca.
60442
60443 * io/lseek.c (__lseek): Rename to __libc_lseek.
60444 Define __lseek as an alias.
60445
60446 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60447
60448 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60449
60450 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60451 else clause and remove check for non-standard endianness.
60452
60453 2013-02-04 David S. Miller <davem@davemloft.net>
60454
60455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60456
60457 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60458
60459 [BZ #13550]
60460 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60461 (__ubp_memchr): Remove prototype.
60462 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60463 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60464 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60465 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60466 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60467 Remove alias.
60468 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60469 (__ubp_memchr): Likewise.
60470 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60471 (__ubp_memchr): Likewise.
60472 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60473 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60474 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60475 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60476 CHECK_STRING.
60477 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60478 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60479 (__getcwd): Do not use CHECK_STRING.
60480 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60481 <bp-checks.h>.
60482 (__real_chown): Do not use CHECK_STRING.
60483 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60484 <bp-checks.h>.
60485 (fchownat): Do not use CHECK_STRING.
60486 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60487 CHECK_STRING.
60488 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60489 <bp-checks.h>.
60490 (__lchown): Do not use CHECK_STRING.
60491 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60492 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60493 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60494 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60496 include <bp-checks.h>.
60497 (truncate64): Do not use CHECK_STRING.
60498 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60499 <bp-checks.h>.
60500 (__real_chown): Do not use CHECK_STRING.
60501 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60502 <bp-checks.h>.
60503 (__lchown): Do not use CHECK_STRING.
60504 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60505 <bp-checks.h>.
60506 (__chown): Do not use CHECK_STRING.
60507 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60508 <bp-checks.h>.
60509 (truncate64): Do not use CHECK_STRING.
60510 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60511 Likewise.
60512 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60513 (__xmknod): Do not use CHECK_STRING.
60514 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60515 <bp-checks.h>.
60516 (__xmknodat): Do not use CHECK_STRING.
60517 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60518 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60519
60520 2013-02-04 Andreas Schwab <schwab@suse.de>
60521
60522 [BZ #14142]
60523 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60524 * include/netdb.h: Likewise for h_errno.
60525 * elf/tst-stackguard1.c: Include <tls.h>.
60526
60527 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60528
60529 * elf/link.h (struct link_map): Extend the l_addr comment.
60530 * include/link.h (struct link_map): Likewise.
60531
60532 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60533
60534 [BZ #13550]
60535 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60536 (BOUNDED_1): Remove macro.
60537 * debug/backtrace.c: Don't include <bp-checks.h>.
60538 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60539 (__backtrace): Likewise.
60540 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60541 <bp-checks.h>.
60542 (__backtrace): Don't use BOUNDED_1.
60543 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60544 <bp-checks.h>.
60545 (__backtrace): Don't use BOUNDED_1.
60546 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60547 (__backtrace): Don't use BOUNDED_1.
60548 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60549 (shmat): Don't use BOUNDED_N.
60550
60551 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60552
60553 [BZ #13550]
60554 * sysdeps/generic/bp-start.h: Remove file.
60555 * csu/libc-start.c: Don't include <bp-start.h>.
60556 (LIBC_START_MAIN): Set up __environ directly instead of using
60557 INIT_ARGV_and_ENVIRON.
60558 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60559 <bp-start.h>.
60560
60561 [BZ #13550]
60562 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60563 definitions.
60564 (CHECK_FCNTL): Likewise.
60565 (CHECK_N_PAGES): Likewise.
60566
60567 [BZ #13550]
60568 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60569 definitions.
60570 (CHECK_SIGSET_NULL_OK): Likewise.
60571 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60572 <bp-checks.h>.
60573 (sigpending): Don't use CHECK_SIGSET.
60574 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60575 <bp-checks.h>.
60576 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60577 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60578 <bp-checks.h>.
60579 (do_sigsuspend): Don't use CHECK_SIGSET.
60580 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60581 use CHECK_SIGSET.
60582 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60583 (do_sigwait): Don't use CHECK_SIGSET.
60584 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60585 use CHECK_SIGSET.
60586 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60587 include <bp-checks.h>.
60588 (sigpending): Don't use CHECK_SIGSET.
60589 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60590 include <bp-checks.h>.
60591 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60592 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60593 <bp-checks.h>.
60594 (sigpending): Don't use CHECK_SIGSET.
60595 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60596 <bp-checks.h>.
60597 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60598
60599 [BZ #13550]
60600 * sysdeps/generic/bp-semctl.h: Remove file.
60601 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60602 <bp-checks.h> and <bp-semctl.h>.
60603 (__old_semctl): Don't use CHECK_SEMCTL.
60604 (__new_semctl): Likewise.
60605 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60606 and <bp-semctl.h>.
60607 (__old_semctl): Don't use CHECK_SEMCTL.
60608 (__new_semctl): Likewise.
60609 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60610 <bp-checks.h> and <bp-semctl.h>.
60611 (__old_semctl): Don't use CHECK_SEMCTL.
60612 (__new_semctl): Likewise.
60613 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60614 <bp-checks.h> and <bp-semctl.h>.
60615 (semctl): Don't use CHECK_SEMCTL.
60616
60617 [BZ #13550]
60618 * Makerules (elide-bp-thunks): Remove variable.
60619 (elide-routines.oS): Don't use $(elide-bp-thunks).
60620 (elide-routines.os): Likewise.
60621 (elide-routines.o): Likewise.
60622 (elide-routines.op): Likewise.
60623 (elide-routines.og): Likewise.
60624 (objects): Don't use $(bp-thunks).
60625 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60626 include.
60627 (common-generated): Do not add s-proto-bp.d.
60628 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60629 (int): Likewise.
60630 (typ): Likewise.
60631 Do not generate makefile rules for bounded-pointer thunks.
60632 * sysdeps/generic/bp-thunks.h: Remove file.
60633 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60634 * sysdeps/unix/s-proto-bp.S: Likewise.
60635
60636 [BZ #15062]
60637 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60638 parts of result separately when argument is not close to line from
60639 -i to i and one part of argument is small.
60640 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60641 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60642 * math/libm-test.inc (cacos_test): Add more tests.
60643 (casin_test): Likewise.
60644 (casinh_test): Likewise.
60645 * sysdeps/i386/fpu/libm-test-ulps: Update.
60646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60647
60648 2013-01-31 David S. Miller <davem@davemloft.net>
60649
60650 * po/de.po: Update from translation team.
60651
60652 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60653
60654 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60655
60656 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60657
60658 * configure.in (_AC_PROG_CC_C89): New definition.
60659 * configure: Regenerate.
60660
60661 * configure.in (AC_PROG_CPP): New definition.
60662 * configure: Regenerate.
60663
60664 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60665
60666 * debug/tst-backtrace.h: New file.
60667 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60668 (ret): Remove variable.
60669 (x): Likewise.
60670 (FAIL): Remove macro.
60671 (NO_INLINE): Likewise.
60672 (fn1): Use match function instead of strstr.
60673 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60674 (ret): Remove variable.
60675 (x): Likewise.
60676 (FAIL): Remove macro.
60677 (NO_INLINE): Likewise.
60678 (fn): Use match function instead of strstr.
60679 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60680 (ret): Remove variable.
60681 (x): Likewise.
60682 (FAIL): Remove macro.
60683 (NO_INLINE): Likewise.
60684 (handle_signal): Use match function instead of strstr.
60685 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60686 (ret): Remove variable.
60687 (x): Likewise.
60688 (FAIL): Remove macro.
60689 (NO_INLINE): Likewise.
60690 (handle_signal): Use match function instead of strstr.
60691
60692 2013-01-23 Roland McGrath <roland@hack.frob.com>
60693
60694 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60695
60696 2013-01-23 David S. Miller <davem@davemloft.net>
60697
60698 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60699 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60700 argument of CAS if possible.
60701 * sysdeps/sparc/sparc64/bits/atomic.h
60702 (__arch_compare_and_exchange_val_32_acq): Likewise.
60703 (__arch_compare_and_exchange_val_64_acq): Likewise.
60704
60705 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60706
60707 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60708 * sysdeps/posix/ulimit.c: ... this.
60709 Include <limits.h>.
60710 * sysdeps/unix/bsd/ulimit.c: Remove file.
60711
60712 2013-01-23 Adam Conrad <adconrad@0c3.net>
60713
60714 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60715 (LDFLAGS-tst-array5): Likewise.
60716
60717 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60718
60719 [BZ #15036]
60720 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60721 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60722 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60723 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60724
60725 2013-01-21 David S. Miller <davem@davemloft.net>
60726
60727 * sysdeps/sparc/backtrace.c: New file.
60728 * sysdeps/sparc/sparc32/backtrace.h: New file.
60729 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60730 * sysdeps/sparc/sparc64/backtrace.h: New file.
60731 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60732 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60733 -funwind-tables.
60734
60735 2013-01-21 Andreas Schwab <schwab@suse.de>
60736
60737 [BZ #15020]
60738 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60739 closed its stdout.
60740
60741 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60742
60743 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60744 "mpa2.h".
60745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60746
60747 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60748 Mark Mitchell <mark@codesourcery.com>
60749 Tom de Vries <tom@codesourcery.com>
60750 Paul Pluzhnikov <ppluzhnikov@google.com>
60751
60752 * debug/tst-backtrace2.c: New file.
60753 * debug/tst-backtrace3.c: Likewise.
60754 * debug/tst-backtrace4.c: Likewise.
60755 * debug/tst-backtrace5.c: Likewise.
60756 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60757 (CFLAGS-tst-backtrace3.c): Likewise.
60758 (CFLAGS-tst-backtrace4.c): Likewise.
60759 (CFLAGS-tst-backtrace5.c): Likewise.
60760 (LDFLAGS-tst-backtrace2): Likewise.
60761 (LDFLAGS-tst-backtrace3): Likewise.
60762 (LDFLAGS-tst-backtrace4): Likewise.
60763 (LDFLAGS-tst-backtrace5): Likewise.
60764 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60765 tst-backtrace4 and tst-backtrace5.
60766
60767 2013-01-18 Anton Blanchard <anton@samba.org>
60768 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60769
60770 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60771 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60772 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60773 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60775 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60776 "+r" and remove output regs list as redundant. Add explicit inline
60777 asm to specify register of return val to work around compiler codegen
60778 bug. Remove (int) cast on return value. Add return type parameter to
60779 use in macro so that this macro does not truncate return value for
60780 64-bit values.
60781 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60782 pass to INTERNAL_VSYSCALL_NCS.
60783 (INLINE_VSYSCALL): Add 'long int' as return type to
60784 INTERNAL_VSYSCALL_NCS macro invocation.
60785 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60786 INTERNAL_VSYSCALL_NCS macro invocation.
60787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60788
60789 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60790
60791 [BZ #14496]
60792 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60793 Fix application of SIMD FP exception mask.
60794
60795 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60796 mp_no from a power of two.
60797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60798 __mpexp_twomm1. Use __pow_mp.
60799
60800 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60801 multiplication.
60802
60803 2013-01-17 David S. Miller <davem@davemloft.net>
60804
60805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60806
60807 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60808
60809 [BZ #15023]
60810 * include/complex.h: Condition contents on [!_COMPLEX_H].
60811 (__kernel_casinhf): New prototype.
60812 (__kernel_casinh): Likewise.
60813 (__kernel_casinhl): Likewise.
60814 * math/Makefile (libm_calls): Add k_casinh.
60815 * math/k_casinh.c: New file.
60816 * math/k_casinhf.c: Likewise.
60817 * math/k_casinhl.c: Likewise.
60818 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60819 finite nonzero arguments.
60820 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60821 finite nonzero arguments.
60822 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60823 finite nonzero arguments.
60824 * math/s_casinh.c: Do not include <float.h>.
60825 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60826 * math/s_casinhf.c: Do not include <float.h>.
60827 (__casinhf): Move code for finite nonzero arguments to
60828 k_casinhf.c.
60829 * math/s_casinhl.c: Do not include <float.h>.
60830 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60831 redefine.
60832 (__casinhl): Move code for finite nonzero arguments to
60833 k_casinhl.c.
60834 * math/libm-test.inc (cacos_test): Add more tests.
60835 * sysdeps/i386/fpu/libm-test-ulps: Update.
60836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60837
60838 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60839
60840 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60841 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60842 [!HAVE_MREMAP]: Remove [defined linux] case.
60843 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60844
60845 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60846
60847 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60848
60849 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60850
60851 * elf/elf.h (R_386_SIZE32): New relocation.
60852 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60853 R_386_SIZE32.
60854 (elf_machine_rela): Likewise.
60855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60856 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60857
60858 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60859
60860 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60861 (FP_FAST_FMA): Do not define.
60862 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60863 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60864 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60865 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60866 !_SOFT_FLOAT]: Likewise.
60867 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60868 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60869 value.
60870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60871 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60873 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60874 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60875 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60876 file.
60877
60878 2013-01-16 Andreas Schwab <schwab@suse.de>
60879
60880 [BZ #14327]
60881 * include/stdlib.h (__mktemp): Add declaration.
60882 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60883 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60884
60885 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60886
60887 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60888 definitions.
60889 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60890 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60891 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60892 definitions here.
60893 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60894 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60895 definitions.
60896 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60897 and ONE.
60898 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60899 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60900 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60901 definitions.
60902 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60903 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60904 definitions.
60905 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60906
60907 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60908
60909 2013-01-15 David S. Miller <davem@davemloft.net>
60910
60911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60912 trunc{,f} to libm-sysdep_routes.
60913 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60915 file.
60916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60918 file.
60919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60920 file.
60921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60923 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60924 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60926 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60927 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60928 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60929
60930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60931 nearbyint{,f} to libm-sysdep_routes.
60932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60934 New file.
60935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60936 file.
60937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60938 New file.
60939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60940 file.
60941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60944 file.
60945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60947 file.
60948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60949 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60950 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60951
60952 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60953 libc_feholdexcept and libc_fesetenv.
60954
60955 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60956
60957 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60958
60959 2013-01-14 David S. Miller <davem@davemloft.net>
60960
60961 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60962 (SPARC_ASM_VIS2_IFUNC): Likewise.
60963 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60965 use of 'siam' instruction.
60966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60967 Likewise.
60968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60969 Likewise.
60970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60971 Likewise.
60972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60977 file.
60978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60979 file.
60980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60981 file.
60982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60983 file.
60984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60985 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60987 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60989 new VIS2 routines.
60990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60993 Likewise.
60994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60995 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60999 routines to libm-sysdep_routines.
61000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61001
61002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61003 fdim/fdimf to libm-sysdep_routines.
61004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61005 file.
61006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61008 file.
61009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61012 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61013 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61014 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61015 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61016
61017 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
61018
61019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61020 to optimize copies.
61021
61022 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61025
61026 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61027 local variable MPTWO.
61028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61029 Likewise.
61030
61031 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61032
61033 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61034 GLOB_NOESCAPE.
61035
61036 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61037
61038 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61039
61040 2013-01-13 Mike Frysinger <vapier@gentoo.org>
61041
61042 * manual/pattern.texi (glob_t): Document gl_flags.
61043 (glob64_t): Likewise.
61044
61045 2013-01-11 David S. Miller <davem@davemloft.net>
61046
61047 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61048 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61049 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
61050 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61051 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61052 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61053 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61054 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61055 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61056 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61057 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61058 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61059 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61060
61061 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61062 sparc V9 rather than using V8 code.
61063 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61064 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61065
61066 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61067 Move to...
61068 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61069 Here.
61070
61071 2013-01-11 Roland McGrath <roland@hack.frob.com>
61072
61073 [BZ #14941]
61074 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61075 not in the main loop.
61076 * configure: Regenerated.
61077
61078 2013-01-11 Joseph Myers <joseph@codesourcery.com>
61079
61080 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61081 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61082 to just #else.
61083 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
61084 [!__GLIBC_HAVE_LONG_LONG] case.
61085 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61086 condition to just #else.
61087 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61088 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61089 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61090 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61091 unconditional.
61092 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61093 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61094 #elif condition to just #else.
61095 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61096 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61097 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61098 #elif condition to just #else.
61099
61100 2013-01-11 Steve Ellcey <sellcey@mips.com>
61101
61102 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61103 (EF_MIPS_ARCH_64): Fix value.
61104 (EF_MIPS_ARCH_32R2): New.
61105 (EF_MIPS_ARCH_64R2): New.
61106
61107 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61108
61109 * Makeconfig (+link-pie-before-libc): New.
61110 (+link-pie-after-libc): Likewise.
61111 (+link-pie-tests): Likewise.
61112 (+link-pie): Rewritten.
61113 (link-before-libc): Remove $(config-LDFLAGS).
61114 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61115 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61116 (config-LDFLAGS): Renamed to ...
61117 (rtld-LDFLAGS): This.
61118 (rtld-tests-LDFLAGS): New macro.
61119 (link-libc-rpath-link): Likewise.
61120 (link-libc-tests-rpath-link): Likewise.
61121 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61122 (link-libc): Prepand $(link-libc-rpath-link).
61123 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61124 (test-program-prefix): New macro.
61125 (test-via-rtld-prefix): Likewise.
61126 (test-program-cmd): Likewise.
61127 (host-test-program-cmd): Likewise.
61128 * Makefile ($(common-objpfx)testrun.sh): Replace
61129 $(run-program-prefix) with $(test-program-prefix).
61130 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61131 $(rtld-LDFLAGS).
61132 ($(common-objpfx)shlib.lds): Likewise.
61133 (build-module-helper): Likewise.
61134 ($(common-objpfx)format.lds): Likewise.
61135 * Rules (binaries-pie-tests): New.
61136 (binaries-pie-notests): Likewise.
61137 (binaries-pie): Rewritten.
61138 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61139 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61140 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61141 (make-test-out): Replace $(host-built-program-cmd) with
61142 $(host-test-program-cmd).
61143 * config.make.in (build-hardcoded-path-in-tests): New variable.
61144 * configure.in (--enable-hardcoded-path-in-tests): New configure
61145 option.
61146 (hardcoded_path_in_tests): New AC_SUBST.
61147 * configure: Regenerated.
61148 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61149 $(built-program-cmd) with $(test-program-cmd).
61150 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61151 (test_program_cmd): This.
61152 * elf/Makefile ($(objpfx)order.out): Run test with
61153 $(test-program-prefix).
61154 ($(objpfx)order2.out): Likewise.
61155 ($(objpfx)tst-initorder.out): Likewise.
61156 ($(objpfx)tst-initorder2.out): Likewise.
61157 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61158 $(test-program-cmd).
61159 ($(objpfx)tst-array1-static.out): Likewise.
61160 ($(objpfx)tst-array2.out): Likewise.
61161 ($(objpfx)tst-array3.out): Likewise.
61162 ($(objpfx)tst-array4.out): Likewise.
61163 ($(objpfx)tst-array5.out): Likewise.
61164 ($(objpfx)tst-array5-static.out): Likewise.
61165 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61166 $(test-program-cmd).
61167 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61168 $(run-program-prefix) with $(test-program-prefix).
61169 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61170 (test_program_prefix): This.
61171 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61172 $(run-program-prefix) with $(test-program-prefix).
61173 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61174 (test_program_prefix): This.
61175 * iconvdata/tst-tables.sh: Likewise.
61176 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61177 $(run-program-prefix) with $(test-program-prefix).
61178 ($(objpfx)tst-translit.out): Likewise.
61179 ($(objpfx)tst-gettext2.out): Likewise.
61180 ($(objpfx)tst-gettext4.out): Likewise.
61181 ($(objpfx)tst-gettext6.out): Likewise.
61182 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61183 (test_program_prefix): This.
61184 * intl/tst-gettext2.sh: Likewise.
61185 * intl/tst-gettext4.sh Likewise.
61186 * intl/tst-gettext6.sh: Likewise.
61187 * intl/tst-translit.sh: Likewise.
61188 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61189 with $(test-program-cmd).
61190 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61191 $(run-program-prefix) with $(test-program-prefix).
61192 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61193 (test_program_prefix): This.
61194 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61195 $(run-program-prefix) with $(test-program-prefix).
61196 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61197 (test_program_prefix): This.
61198 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61199 * posix/Makefile ($(objpfx)globtest.out): Replace
61200 $(run-via-rtld-prefix) and $(test-wrapper) with
61201 $(test-program-prefix) and $(test-via-rtld-prefix).
61202 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61203 $(test-program-prefix).
61204 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61205 $(host-test-program-cmd).
61206 (tst-spawn-ARGS): Likewise.
61207 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61208 $(test-program-prefix).
61209 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61210 (test_via_rtld_prefix): This.
61211 (test_wrapper): Renamed to ...
61212 (test_program_prefix): This.
61213 (run_program_prefix): Replaced by test_program_prefix.
61214 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61215 (test_program_prefix): This.
61216 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61217 with $(host-test-program-cmd).
61218 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61219 $(run-program-prefix) with $(test-program-prefix).
61220 ($(objpfx)tst-printf.out): Likewise.
61221 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61222 $(test-program-cmd).
61223 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61224 (test_program_prefix): This.
61225 * stdio-common/tst-unbputc.sh: Likewise.
61226 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61227 $(run-program-prefix) with $(test-program-prefix).
61228 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61229 (test_program_prefix): This.
61230 * string/Makefile ($(objpfx)tst-svc.out): Replace
61231 $(built-program-cmd) with $(test-program-cmd).
61232
61233 2013-01-11 Andreas Jaeger <aj@suse.de>
61234
61235 [BZ #15003]
61236 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61237 value. Sync with Linux 3.7.
61238
61239 2013-01-10 David S. Miller <davem@davemloft.net>
61240
61241 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61244
61245 2013-01-10 Roland McGrath <roland@hack.frob.com>
61246
61247 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61248 never set.
61249 * configure: Regenerated.
61250
61251 2013-01-10 David S. Miller <davem@davemloft.net>
61252
61253 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61254 sparc V9 rather than using V8 code.
61255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61257
61258 2013-01-10 Roland McGrath <roland@hack.frob.com>
61259
61260 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61261 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61262 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61263 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61264 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61265 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61266 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61267 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61268 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61269 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61270 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61271 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61272 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61273 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61274 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61275 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61276 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61277 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61278 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61279 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61280 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61281 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61282 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61283 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61284 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61285 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61286 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61287
61288 2013-01-10 David S. Miller <davem@davemloft.net>
61289
61290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61291
61292 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61293
61294 * posix/Makefile (tests-static): New variable.
61295 (tests): Add $(tests-static).
61296 (tst-exec-static-ARGS): New variable.
61297 (tst-spawn-static-ARGS): Likewise.
61298 * posix/tst-exec-static.c: New file.
61299 * posix/tst-spawn-static.c: Likewise.
61300 * posix/tst-exec.c: Support run directly.
61301 * posix/tst-spawn.c: Likewise.
61302
61303 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61304
61305 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61306 long.
61307 * math/bits/mathcalls.h (llrint): Likewise.
61308 (llround): Likewise.
61309 * stdlib/stdlib.h (struct drand48_data): Likewise.
61310 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61311 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61312 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61313 Likewise.
61314 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61315 Likewise.
61316 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61317 (elf_greg_t): Likewise.
61318 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61319 (__jmp_buf): Likewise.
61320 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61321 definitions.
61322 (llrint): Likewise, for all definitions.
61323 (llrintl): Likewise.
61324
61325 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61326 Remove [__GNUC__] condition.
61327 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61328 condition to just [__USE_ISOC99].
61329 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61330
61331 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61332
61333 [BZ #14200]
61334 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61335 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61336 defined.
61337 (_POSIX_V6_ILP32_OFF32): Likewise.
61338 (_XBS5_ILP32_OFF32): Likewise.
61339 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61340 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61341
61342 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61343
61344 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61345
61346 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61347 doubles __mpexp_twomm1. Adjust usage.
61348 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61349 Remove.
61350
61351 2013-01-10 Andreas Schwab <schwab@suse.de>
61352
61353 [BZ #14964]
61354 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61355 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61356
61357 2013-01-09 David S. Miller <davem@davemloft.net>
61358
61359 [BZ #15003]
61360 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61361 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61362 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61363 (TCP_FASTOPEN): Define.
61364 (tcp_repair_opt): New structure.
61365 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61366 enum values.
61367 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61368 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61369 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61370 (tcp_cookie_transactions): New structure.
61371
61372 2013-01-09 Anton Blanchard <anton@samba.org>
61373
61374 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61375 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61376 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61377 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61378
61379 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61380
61381 * include/features.h (__USE_ANSI): Remove.
61382
61383 2013-01-09 Roland McGrath <roland@hack.frob.com>
61384
61385 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61386
61387 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61388
61389 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61390
61391 * sysdeps/s390/fpu/libm-test-ulps: Update.
61392
61393 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61394
61395 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61396 (__acr): Likewise.
61397 (__cpy): Likewise.
61398 (norm): Likewise.
61399 (denorm): Likewise.
61400 (__mp_dbl): Likewise.
61401 (__dbl_mp): Likewise.
61402 (add_magnitudes): Likewise.
61403 (sub_magnitudes): Likewise.
61404 (__add): Likewise.
61405 (__sub): Likewise.
61406 (__mul): Likewise.
61407 (__inv): Likewise.
61408 (__dvd): Likewise.
61409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61410 (__acr): Likewise.
61411 (__cpy): Likewise.
61412 (norm): Likewise.
61413 (denorm): Likewise.
61414 (__mp_dbl): Likewise.
61415 (__dbl_mp): Likewise.
61416 (add_magnitudes): Likewise.
61417 (sub_magnitudes): Likewise.
61418 (__add): Likewise.
61419 (__sub): Likewise.
61420 (__mul): Likewise.
61421 (__inv): Likewise.
61422 (__dvd): Likewise.
61423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61424 (__acr): Likewise.
61425 (__cpy): Likewise.
61426 (norm): Likewise.
61427 (denorm): Likewise.
61428 (__mp_dbl): Likewise.
61429 (__dbl_mp): Likewise.
61430 (add_magnitudes): Likewise.
61431 (sub_magnitudes): Likewise.
61432 (__add): Likewise.
61433 (__sub): Likewise.
61434 (__mul): Likewise.
61435 (__inv): Likewise.
61436 (__dvd): Likewise.
61437
61438 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61439
61440 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61441 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61442 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61443 2 && __USE_EXTERN_INLINES]: Likewise.
61444
61445 2013-01-08 Andreas Jaeger <aj@suse.de>
61446
61447 [BZ# 14985]
61448 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61449 Remove.
61450 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61451 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61452
61453 2013-01-07 Anton Blanchard <anton@samba.org>
61454
61455 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61456 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61457 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61458 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61459 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61460 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61461 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61462 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61464 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61467 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61470 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61471 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61472 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61473 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61474 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61475 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61476 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61477 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61478 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61479 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61480 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61481 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61483 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61484 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61485 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61490 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61492 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61493 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61494 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61495 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61496 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61498
61499 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61500
61501 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61502 (__MALLOC_PMT): Likewise.
61503 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61504 [__GNUC__], only on [_LIBC].
61505 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61506 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61507 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61508 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61509 forward declaration.
61510 (realloc_hook_ini): Likewise.
61511 (memalign_hook_ini): Likewise.
61512 (__libc_memalign): Do not use __MALLOC_PMT in variable
61513 declaration.
61514 (__libc_valloc): Likewise.
61515 (__libc_pvalloc): Likewise.
61516 (__libc_calloc): Likewise.
61517 (__posix_memalign): Likewise.
61518
61519 [BZ #14996]
61520 * math/s_casinh.c: Include <float.h>.
61521 (__casinh): Do not do computation with squaring and square root
61522 for large arguments.
61523 * math/s_casinhf.c: Include <float.h>.
61524 (__casinhf): Do not do computation with squaring and square root
61525 for large arguments.
61526 * math/s_casinhl.c: Include <float.h>.
61527 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61528 (__casinhl): Do not do computation with squaring and square root
61529 for large arguments.
61530 * math/libm-test.inc (casin_test): Add more tests.
61531 (casinh_test): Likewise.
61532 * sysdeps/i386/fpu/libm-test-ulps: Update.
61533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61534
61535 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61536
61537 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61538 (__x86_64_raw_data_cache_size): Likewise.
61539 (__x86_64_data_cache_size_half): Likewise.
61540 (__x86_64_raw_data_cache_size_half): Likewise.
61541 (__x86_64_shared_cache_size): Likewise.
61542 (__x86_64_raw_shared_cache_size): Likewise.
61543 (__x86_64_shared_cache_size_half): Likewise.
61544 (__x86_64_raw_shared_cache_size_half): Likewise.
61545 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61546 to ...
61547 (__x86_data_cache_size): This.
61548 (__x86_64_raw_data_cache_size): Renamed to ...
61549 (__x86_raw_data_cache_size): This.
61550 (__x86_64_data_cache_size_half): Renamed to ...
61551 (__x86_data_cache_size_half): This.
61552 (__x86_64_raw_data_cache_size_half): Renamed to ...
61553 (__x86_raw_data_cache_size_half): This.
61554 (__x86_64_shared_cache_size): Renamed to ...
61555 (__x86_shared_cache_size): This.
61556 (__x86_64_raw_shared_cache_size): Renamed to ...
61557 (__x86_raw_shared_cache_size): This.
61558 (__x86_64_shared_cache_size_half): Renamed to ...
61559 (__x86_shared_cache_size_half): This.
61560 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61561 (__x86_raw_shared_cache_size_half): This.
61562 * sysdeps/x86_64/memcpy.S: Updated.
61563 * sysdeps/x86_64/memset.S: Likewise.
61564 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61566 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61567
61568 2013-01-04 David S. Miller <davem@davemloft.net>
61569
61570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61571
61572 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61573
61574 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61575 1 to avoid redefinition warning.
61576 (__USE_GNU): Don't define.
61577 (init_signaling_nan): Protoize.
61578
61579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61580
61581 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61582
61583 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61585 (__cpymn): Likewise.
61586 (norm): Remove commented code.
61587 (denorm): Likewise.
61588 (__mp_dbl): Likewise.
61589 (__inv): Likewise.
61590 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61591 (__cpymn): Likewise.
61592 (norm): Remove commented code.
61593 (denorm): Likewise.
61594 (__mp_dbl): Likewise.
61595 (__inv): Likewise.
61596
61597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61598 mp_no value for 1.0 and 2.0.
61599 (norm): Use RADIXI instead of radixi.d.
61600 (denorm): Likewise.
61601 (__mul): Use 0.0 instead of zero.d.
61602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61603 mp_no value for 1.0 and 2.0.
61604 (norm): Use RADIXI instead of radixi.d.
61605 (denorm): Likewise.
61606 (__mul): Use 0.0 instead of zero.d.
61607
61608 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61609
61610 [BZ #14994]
61611 * math/s_casinh.c (__casinh): Reduce finite argument to first
61612 quadrant then set signs of results at the end.
61613 * math/s_casinhf.c (__casinhf): Likewise.
61614 * math/s_casinhl.c (__casinhl): Likewise.
61615 * math/libm-test.inc (casin_test): Add more tests.
61616 (casinh_test): Likewise.
61617 * sysdeps/i386/fpu/libm-test-ulps: Update.
61618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61619
61620 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61621
61622 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61623
61624 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61625
61626 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61627 declarations.
61628 (denorm): Likewise.
61629 (__mp_dbl): Likewise.
61630 (__inv): Likewise.
61631
61632 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61633 and adjust the header comment.
61634
61635 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61636 variable name from declaration.
61637
61638 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61639
61640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61641 Initialize COMMON_CPUID_INDEX_7 element.
61642 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61643 (CPUID_RTM): Likewise.
61644 (HAS_RTM): Likewise.
61645 (COMMON_CPUID_INDEX_7): New enum.
61646
61647 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61648
61649 [BZ #14981]
61650 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61651 size is zero, record memory as freed.
61652
61653 2013-01-03 Andreas Jaeger <aj@suse.de>
61654
61655 * po/ia.po: Add new Interlingua translation.
61656
61657 2012-01-03 Allan McRae <allan@archlinux.org>
61658
61659 * locale/programs/localedef.c: Fix description of '--posix' flag.
61660
61661 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61662
61663 * NEWS: Update dates in second copyright notice.
61664 * README: Update copyright dates in example.
61665 * manual/libc.texinfo: Update copyright dates.
61666 * scripts/test-installation.pl: Update copyright date in --version
61667 output.
61668
61669 * hurd/ctty-input.c: Fix copyright notice formatting.
61670 * hurd/ctty-output.c: Likewise.
61671 * hurd/dtable.c: Likewise.
61672 * hurd/hurd-raise.c: Likewise.
61673 * hurd/hurdprio.c: Likewise.
61674 * hurd/msgportdemux.c: Likewise.
61675 * misc/sys/file.h: Likewise.
61676 * misc/sys/ioctl.h: Likewise.
61677 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61678 * sysdeps/mach/hurd/chdir.c: Likewise.
61679 * sysdeps/mach/hurd/fchdir.c: Likewise.
61680 * sysdeps/mach/hurd/rename.c: Likewise.
61681 * sysdeps/mach/hurd/rmdir.c: Likewise.
61682 * sysdeps/mach/hurd/seekdir.c: Likewise.
61683 * sysdeps/mach/hurd/setsid.c: Likewise.
61684 * sysdeps/posix/wait3.c: Likewise.
61685
61686 * All files with FSF copyright notices: Update copyright dates
61687 using scripts/update-copyrights.
61688 * intl/plural.c: Regenerated.
61689 * locale/programs/charmap-kw.h: Likewise.
61690 * locale/programs/locfile-kw.h: Likewise.
61691
61692 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61693
61694 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61695 four values.
61696
61697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61698 calculation loop and add branch prediction.
61699
61700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61701 check access beyond bounds of m1np.
61702
61703 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61704 MPTWO.
61705 (__inv): Remove local variable MPTWO to use the global
61706 constant.
61707 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61709 variable MPTWO.
61710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61711 MP3HALFS static const.
61712
61713 2013-01-01 David S. Miller <davem@davemloft.net>
61714
61715 * po/ca.po: Update from translation team.
61716
61717 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61718
61719 * scripts/update-copyrights: New file.
61720 * Makeconfig: Reformat copyright notice.
61721 * ctype/ctype.h: Likewise.
61722 * debug/swprintf_chk.c: Likewise.
61723 * elf/dl-cache.c: Likewise.
61724 * elf/dl-debug.c: Likewise.
61725 * elf/dl-object.c: Likewise.
61726 * grp/initgroups.c: Likewise.
61727 * hurd/Makefile: Likewise.
61728 * hurd/hurd/signal.h: Likewise.
61729 * hurd/hurdfault.c: Likewise.
61730 * hurd/hurdioctl.c: Likewise.
61731 * hurd/hurdlookup.c: Likewise.
61732 * hurd/intr-msg.c: Likewise.
61733 * iconv/gconv_open.c: Likewise.
61734 * libio/swprintf.c: Likewise.
61735 * locale/lc-ctype.c: Likewise.
61736 * locale/nl_langinfo.c: Likewise.
61737 * mach/Machrules: Likewise.
61738 * mach/Makefile: Likewise.
61739 * malloc/obstack.h: Likewise.
61740 * manual/Makefile: Likewise.
61741 * manual/tsort.awk: Likewise.
61742 * misc/bits/stab.def: Likewise.
61743 * nis/nis_print_group_entry.c: Likewise.
61744 * nis/nis_table.c: Likewise.
61745 * nis/nss_compat/compat-pwd.c: Likewise.
61746 * nis/nss_compat/compat-spwd.c: Likewise.
61747 * po/Makefile: Likewise.
61748 * posix/fnmatch.c: Likewise.
61749 * posix/regex.h: Likewise.
61750 * resolv/Makefile: Likewise.
61751 * resolv/nss_dns/dns-network.c: Likewise.
61752 * resolv/res_hconf.c: Likewise.
61753 * scripts/gen-sorted.awk: Likewise.
61754 * soft-fp/soft-fp.h: Likewise.
61755 * stdio-common/printf.h: Likewise.
61756 * stdlib/monetary.h: Likewise.
61757 * stdlib/random.c: Likewise.
61758 * stdlib/random_r.c: Likewise.
61759 * sysdeps/generic/Makefile: Likewise.
61760 * sysdeps/gnu/Makefile: Likewise.
61761 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61762 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61763 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61764 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61769 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61771 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61772 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61773 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61774 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61775 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61776 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61777 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61778 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61779 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61781 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61782 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61783 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61784 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61785 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61786 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61787 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61789 * sysdeps/mach/hurd/errnos.awk: Likewise.
61790 * sysdeps/mach/hurd/fork.c: Likewise.
61791 * sysdeps/mach/hurd/getcwd.c: Likewise.
61792 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61793 * sysdeps/mach/hurd/mmap.c: Likewise.
61794 * sysdeps/mach/hurd/utimes.c: Likewise.
61795 * sysdeps/mach/hurd/xmknod.c: Likewise.
61796 * sysdeps/posix/profil.c: Likewise.
61797 * sysdeps/posix/readdir_r.c: Likewise.
61798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61799 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61800 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61801 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61807 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61808 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61809 * sysdeps/pthread/lio_listio.c: Likewise.
61810 * sysdeps/sparc/dl-procinfo.h: Likewise.
61811 * sysdeps/unix/i386/sysdep.S: Likewise.
61812 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61813 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61814 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61815 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61817 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61818 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61819 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61820 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61821 * sysdeps/wordsize-32/divdi3.c: Likewise.
61822 * time/sys/time.h: Likewise.
61823 * wcsmbs/Makefile: Likewise.
61824
61825 2013-01-01 David S. Miller <davem@davemloft.net>
61826
61827 * po/fr.po: Update from translation team.
61828
61829 * catgets/gencat.c: Update copyright year.
61830 * csu/version.c: Likewise.
61831 * debug/catchsegv.sh: Likewise.
61832 * debug/pcprofiledump.c: Likewise.
61833 * debug/xtrace.sh: Likewise.
61834 * elf/ldconfig.c: Likewise.
61835 * elf/ldd.bash.in: Likewise.
61836 * elf/pldd.c: Likewise.
61837 * elf/sotruss.ksh: Likewise.
61838 * elf/sprof.c: Likewise.
61839 * iconv/iconv_prog.c: Likewise.
61840 * iconv/iconvconfig.c: Likewise.
61841 * locale/programs/locale.c: Likewise.
61842 * locale/programs/localedef.c: Likewise.
61843 * login/programs/pt_chown.c: Likewise.
61844 * malloc/memusage.sh: Likewise.
61845 * malloc/memusagestat.c: Likewise.
61846 * malloc/mtrace.pl: Likewise.
61847 * nscd/nscd.c: Likewise.
61848 * nss/getent.c: Likewise.
61849 * nss/makedb.c: Likewise.
61850 * posix/getconf.c: Likewise.
61851
61852 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61853
61854 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61855 numbers.
61856
61857 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61858
61859 * math/bits/mathcalls.h (modf): Use __nonnull.
61860
61861 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61862
61863 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61864 (split): Use macro CN instead of the bare value.
61865 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61866 could be used.
61867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61868 instead of the bare value.
61869 (power1): Likewise.
61870
61871 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61872
61873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61874 __ATAN_TWOM.
61875 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61876
61877 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61878 their values.
61879 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61880 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61881 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61882 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61883
61884 2012-12-28 Andreas Jaeger <aj@suse.de>
61885
61886 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61887 values are from Linux 3.7.
61888
61889 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61890 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61891
61892 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61893
61894 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61895 TRUE case.
61896
61897 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61898 (norm): Likewise.
61899 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61900 variables with preprocessor constants.
61901 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61903 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61904
61905 2012-12-27 Bruno Haible <bruno@clisp.org>
61906
61907 [BZ #14317]
61908 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61909 only if needed.
61910
61911 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61912
61913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61914 and use variable directly.
61915 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61916
61917 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61918 MPONE.
61919 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61921 variable MPONE.
61922 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61924 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61925 include directive. Remove local variable MPONE.
61926 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61927 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61928 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61929
61930 2012-12-25 David S. Miller <davem@davemloft.net>
61931
61932 * version.h (RELEASE): Set to "development".
61933 (VERSION): Set to "2.17.90".
61934 * NEWS: Add 2.18 section.
61935
61936 2012-12-21 David S. Miller <davem@davemloft.net>
61937
61938 * po/hr.po: Update from translation team.
61939
61940 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61941
61942 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61943
61944 2012-12-19 Steve Ellcey <sellcey@mips.com>
61945
61946 * NEWS: Mention new memcpy for MIPS.
61947
61948 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61949
61950 * manual/contrib.texi (Contributors): Spelling correction.
61951
61952 2012-12-15 David S. Miller <davem@davemloft.net>
61953
61954 * po/ru.po: Update from translation team.
61955
61956 2012-12-13 David S. Miller <davem@davemloft.net>
61957
61958 * NEWS: Mention IFUNC testsuite enhancements.
61959
61960 * po/pl.po: Update from translation team.
61961 * po/bg.po: Likewise.
61962
61963 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61964 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61965
61966 2012-12-11 David S. Miller <davem@davemloft.net>
61967
61968 * po/sv.po: Update from translation team.
61969
61970 * po/vi.po: Update from translation team.
61971
61972 * po/cs.po: Update from translation team.
61973
61974 * po/de.po: Update from translation team.
61975 * po/eo.po: Likewise.
61976 * po/nl.po: Likewise.
61977
61978 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61979
61980 [BZ #14246]
61981 * manual/argp.texi (Argp Helper Functions): Move node to follow
61982 Argp Parsing State.
61983
61984 [BZ #14872]
61985 * manual/conf.texi (Limits on File System Capacity): Mention if
61986 terminating null is included in the max size.
61987
61988 2012-12-10 Andreas Jaeger <aj@suse.de>
61989
61990 * po/cs.po: Update from translation team.
61991
61992 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61993
61994 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61995 void pointer and cast to uintptr_t.
61996 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61997 path.
61998 * sysdeps/s390/s390-64/memcpy.S: Likewise.
61999 * sysdeps/s390/s390-64/memset.S: Likewise.
62000
62001 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
62002
62003 [BZ #14833]
62004 * menual/message.texi (Message Translation): Fix typos.
62005 (Helper programs for gettext): Likewise.
62006
62007 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
62008
62009 [BZ #14898]
62010 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62011 Change to -1.
62012
62013 2012-12-07 David S. Miller <davem@davemloft.net>
62014
62015 * po/libc.pot: Update.
62016
62017 2012-12-07 Richard Henderson <rth@redhat.com>
62018
62019 [BZ #10114]
62020 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62021 normal/normal case to before the switch.
62022 (_FP_DIV): Likewise.
62023
62024 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
62025 Mike Frysinger <vapier@gentoo.org>
62026
62027 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62028 check for __NR_fadvise64_64.
62029
62030 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
62031
62032 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62033 0, not just to plain "0" as a statement.
62034 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62035 with cw.
62036
62037 2012-12-06 Joseph Myers <joseph@codesourcery.com>
62038
62039 * NEWS: Use sourceware.org in Bugzilla URL.
62040
62041 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
62042
62043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62044 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62045
62046 * stdio-common/tst-put-error.c (do_test): Add newline to the
62047 padded test to ensure flush.
62048
62049 2012-12-05 Jeff Law <law@redhat.com>
62050
62051 * sunrpc/etc.rpc (fedfs_admin): Add entry.
62052
62053 2012-12-05 Joseph Myers <joseph@codesourcery.com>
62054
62055 * README: Don't refer to ports add-on as distributed separately.
62056 Mention AArch64 in list of systems supported in the ports add-on.
62057
62058 * LICENSES: Add more non-FSF copyright and license notices.
62059
62060 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62061 ((unused)).
62062
62063 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62064
62065 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62066 10000 as width of padded output.
62067
62068 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62069
62070 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62071
62072 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62073 variable LX with __attribute__ ((unused)).
62074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62075 Likewise.
62076 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62078 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62079 with __attribute__ ((unused)).
62080
62081 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
62082
62083 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62084
62085 2012-12-04 Joseph Myers <joseph@codesourcery.com>
62086
62087 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62088 (CFLAGS-nldbl-acos.c): New variable.
62089 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62090 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62091 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62092 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62093 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62094 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62095 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62096 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62097 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62098 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62099 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62100 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62101 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62102 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62103 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62104 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62105 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62106 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62107 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62108 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62109 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62110 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62111 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62112 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62113 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62114 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62115 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62116 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62117 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62118 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62119 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62120 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62121 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62122 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62123 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62124 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62125 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62126 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62127 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62128 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62129 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62130 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62131 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62132 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62133 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62134 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62135 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62136 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62137 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62138 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62139 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62140 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62141 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62142 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62143 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62144 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62145 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62146 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62147 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62148 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62149 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62150 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62151 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62152 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62153 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62154 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62155 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62156 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62157 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62158 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62159 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62160 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62161 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62162 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62163 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62164 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62165 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62166 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62167 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62168 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62169 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62170 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62171 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62172 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62173 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62174 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62175 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62176 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62177 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62178 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62179 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62180 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62181 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62182 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62183 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62184 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62185 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62186
62187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62188 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62189
62190 [BZ #14914]
62191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62192 whole low double instead of just low 47 bits when splitting values
62193 into two parts.
62194
62195 2012-12-03 Allan McRae <allan@archlinux.org>
62196
62197 * manual/stdio.texi (Predefined Printf Handlers): Remove
62198 @hsep and @vsep usage.
62199
62200 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62201
62202 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62203 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62204
62205 2012-12-03 Jeff Law <law@redhat.com>
62206
62207 * time/sys/time.h (settimeofday): Do not mark TV argument
62208 as __nonnull.
62209
62210 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62211
62212 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62213 when currently writing and seek to current position when not.
62214 * libio/Makefile (tests): Remove bug-fclose1.
62215 * libio/bug-fclose1.c: Delete.
62216
62217 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62218
62219 * manual/arith.texi (feenableexcept): Fix typo.
62220 (fedisableexcept): Likewise.
62221
62222 2012-11-30 Roland McGrath <roland@hack.frob.com>
62223
62224 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62225 second, differently-typed declaration, rather than a cast.
62226
62227 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62228
62229 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62230 * include/rpc/svc.h: ... here.
62231
62232 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62233
62234 [BZ #13013]
62235 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62236 depending n and resplen2 to catch cases where answer
62237 equals answerp2.
62238
62239 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62240
62241 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62242 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62243
62244 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62245
62246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62247
62248 2012-11-29 Roland McGrath <roland@hack.frob.com>
62249
62250 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62251
62252 2012-11-28 Jeff Law <law@redhat.com>
62253
62254 [BZ #13761]
62255 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62256 dataset_temporary. Track alloca usage into alloca_used.
62257 If dataset is large allocate and release it via malloc/free.
62258
62259 2012-06-04 Florian Weimer <fweimer@redhat.com>
62260
62261 [BZ #14197]
62262 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62263
62264 2012-11-28 David S. Miller <davem@davemloft.net>
62265
62266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62267
62268 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62269
62270 [BZ #14803]
62271 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62272 of pi/2 rounded to nearest to 64 bits.
62273 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62274 nearest to 64 bits.
62275 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62276 bits.
62277
62278 2012-11-28 Jeff Law <law@redhat.com>
62279 Martin Osvald <mosvald@redhat.com>
62280
62281 [BZ #14889]
62282 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62283 * sunrpc/svc.c: Include time.h.
62284 (__svc_accept_failed): New function.
62285 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62286 any reason other than EINTR, call __svc_accept_failed.
62287 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62288 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62289
62290 2012-11-28 Andreas Schwab <schwab@suse.de>
62291
62292 * scripts/abilist.awk: Also handle indirect functions in .opd
62293 section.
62294
62295 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62296
62297 [BZ #13881]
62298 * sysdeps/x86/fpu/powl_helper.c: New file.
62299 * sysdeps/x86/fpu/Makefile: Likewise.
62300 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62301 (p3): New object.
62302 (__ieee754_powl): Use __powl_helper for finite arguments except
62303 integer exponents below 8.
62304 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62305 (p3): New object.
62306 (__ieee754_powl): Use __powl_helper for finite arguments except
62307 integer exponents below 8.
62308 * math/libm-test.inc (pow_test): Add more tests and enable some
62309 previously disabled tests.
62310 * sysdeps/i386/fpu/libm-test-ulps: Update.
62311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62312
62313 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62314 Carlos O'Donell <carlos_odonell@mentor.com>
62315
62316 * nss/makedb.c (is_prime): Assert that input is odd and greater
62317 than 4. Note that fact in a comment too.
62318 (next_prime): Add 4 to input.
62319
62320 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62321
62322 [BZ #11741]
62323 * libio/Makefile (tests): Add test case tst-fwrite-error.
62324 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62325 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62326 * libio/tst-fwrite-error.c: New test case.
62327
62328 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62329
62330 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62331 before casting to void *.
62332 * include/libc-internal.h (__pointer_type): New macro.
62333 (__integer_if_pointer_type_sub): Likewise.
62334 (__integer_if_pointer_type): Likewise.
62335 (cast_to_integer): Likewise.
62336 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62337 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62338 before casting to atomic64_t.
62339 (atomic_exchange_acq): Likewise.
62340 (__arch_exchange_and_add_body): Likewise.
62341 (__arch_add_body): Likewise.
62342 (atomic_add_negative): Likewise.
62343 (atomic_add_zero): Likewise.
62344
62345 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62346
62347 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62348 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62349 (add_fdes): Likewise.
62350 (linear_search_fdes): Likewise.
62351 (binary_search_unencoded_fdes): Likewise.
62352
62353 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62354
62355 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62356
62357 2012-11-24 Adam Conrad <adconrad@0c3.net>
62358
62359 * configure.in: Autodetect C++ header directories.
62360 * configure: Regenerated.
62361
62362 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62363
62364 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62365
62366 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62367
62368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62369
62370 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62371
62372 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62373 LDBL_MANT_DIG == 106]: Disable some tests.
62374 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62375 Likewise.
62376 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62377 Likewise.
62378
62379 [BZ #14871]
62380 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62381 input for small inputs. Return +/- pi/2 for large inputs.
62382 * math/libm-test.inc (atan_test): Add more tests.
62383
62384 * sysdeps/generic/unwind-dw2-fde-glibc.c
62385 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62386 __attribute__ ((unused)).
62387
62388 [BZ #14645]
62389 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62390 x * y if x and y are nonzero and z is zero.
62391
62392 [BZ #14811]
62393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62394 nonzero exponents with absolute value below 0x1p-117 to +/-
62395 0x1p-117.
62396
62397 [BZ #14869]
62398 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62399 up arguments below 2**-450, not just those below 2**-500.
62400 * math/libm-test.inc (hypot_test): Add another test.
62401
62402 [BZ #14868]
62403 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62404 Return a+b for ratio over 2**120, not 2**60.
62405 * math/libm-test.inc (hypot_test): Add another test.
62406
62407 * math/libm-test.inc (clog_test): Use
62408 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62409 (clog10_test): Likewise.
62410
62411 [BZ #6778]
62412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62413
62414 2012-11-22 Andreas Schwab <schwab@suse.de>
62415
62416 * sysdeps/i386/fpu/libm-test-ulps: Update.
62417
62418 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62419
62420 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62421 printf output with newline.
62422
62423 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62424
62425 [BZ #14865]
62426 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62427 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62428 -z nodlopen, -z initfirst and -z execstack support.
62429 * configure: Regenerated.
62430
62431 * elf/elf.h (DF_1_NODIRECT): New macro.
62432 (DF_1_IGNMULDEF): Likewise.
62433 (DF_1_NOKSYMS): Likewise.
62434 (DF_1_NOHDR): Likewise.
62435 (DF_1_EDITED): Likewise.
62436 (DF_1_NORELOC): Likewise.
62437 (DF_1_SYMINTPOSE): Likewise.
62438 (DF_1_GLOBAUDIT): Likewise.
62439 (DF_1_SINGLETON): Likewise.
62440 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62441 DT_1_SUPPORTED_MASK bits.
62442 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62443
62444 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62445
62446 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62447
62448 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62449
62450 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62451 macro.
62452
62453 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62454 (sendmmsg): Move declarations...
62455 * socket/sys/socket.h: ... here.
62456 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62457 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62458 include it from...
62459 * socket/recvmmsg.c: ... this new file.
62460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62461 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62462 definition of __sendmmsg hidden.
62463 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62464 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62465 Move ENOSYS stub into and include it from...
62466 * socket/sendmmsg.c: ... this new file.
62467 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62468 (sysdep_routines): Move recvmmsg and sendmmsg...
62469 * socket/Makefile (routines): ... here.
62470 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62471 (GLIBC_PRIVATE): Add __sendmmsg.
62472 * include/sys/socket.h (__sendmmsg): Add declarations.
62473 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62474 sendmmsg.
62475
62476 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62477
62478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62479 variable I1 with __attribute__ ((unused)).
62480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62481
62482 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62483
62484 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62485 DUMMY variables with __attribute__ ((unused)).
62486
62487 * bits/byteswap.h: Include <bits/types.h>.
62488 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62489
62490 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62491
62492 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62493 string_t. Do not manually set errno.
62494 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62495 length with __strnlen. Make sure to both set errno and return it on
62496 failure.
62497
62498 2012-11-19 David S. Miller <davem@davemloft.net>
62499
62500 With help from Joseph Myers.
62501 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62502 very large arguments properly.
62503 * math/libm-test.inc (atan_test): New tests.
62504 (atan2_test): New tests.
62505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62507
62508 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62509
62510 [BZ #14856]
62511 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62512 Define to 3.
62513
62514 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62515 [POSIX] (EADDRNOTAVAIL): Likewise.
62516 [POSIX] (EAFNOSUPPORT): Likewise.
62517 [POSIX] (EALREADY): Likewise.
62518 [POSIX] (ECONNABORTED): Likewise.
62519 [POSIX] (ECONNREFUSED): Likewise.
62520 [POSIX] (ECONNRESET): Likewise.
62521 [POSIX] (EDESTADDRREQ): Likewise.
62522 [POSIX] (EDQUOT): Likewise.
62523 [POSIX] (EHOSTUNREACH): Likewise.
62524 [POSIX] (EIDRM): Likewise.
62525 [POSIX] (EISCONN): Likewise.
62526 [POSIX] (ELOOP): Likewise.
62527 [POSIX] (EMULTIHOP): Likewise.
62528 [POSIX] (ENETDOWN): Likewise.
62529 [POSIX] (ENETUNREACH): Likewise.
62530 [POSIX] (ENOBUFS): Likewise.
62531 [POSIX] (ENODATA): Likewise.
62532 [POSIX] (ENOLINK): Likewise.
62533 [POSIX] (ENOMSG): Likewise.
62534 [POSIX] (ENOPROTOOPT): Likewise.
62535 [POSIX] (ENOSR): Likewise.
62536 [POSIX] (ENOSTR): Likewise.
62537 [POSIX] (ENOTCONN): Likewise.
62538 [POSIX] (ENOTSOCK): Likewise.
62539 [POSIX] (EOPNOTSUPP): Likewise.
62540 [POSIX] (EOVERFLOW): Likewise.
62541 [POSIX] (EPROTO): Likewise.
62542 [POSIX] (EPROTONOSUPPORT): Likewise.
62543 [POSIX] (EPROTOTYPE): Likewise.
62544 [POSIX] (ESTALE): Likewise.
62545 [POSIX] (ETIME): Likewise.
62546 [POSIX] (ETXTBSY): Likewise.
62547 [POSIX] (EWOULDBLOCK): Likewise.
62548 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62549 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62550 [POSIX] (SEEK_CUR): Likewise.
62551 [POSIX] (SEEK_END): Likewise.
62552 [POSIX || UNIX98] (mode_t): Do not require.
62553 [POSIX] (off_t): Likewise.
62554 [POSIX] (pid_t): Likewise.
62555 [POSIX] (sys/stat.h): Do not allow header.
62556 [POSIX] (unistd.h): Likewise.
62557 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62558 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62559 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62560 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62561 require.
62562 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62563 sigevent): Specify elements.
62564 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62565 entry.
62566 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62567 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62568
62569 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62570 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62571 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62572 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62573 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62574 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62575 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62576 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62577 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62579 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62580 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62581 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62583 Likewise.
62584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62585 Likewise.
62586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62587 Likewise.
62588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62589 Likewise.
62590 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62594 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62595 Specify lower bound on value.
62596 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62597 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62598 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62599 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62600 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62601 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62602 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62603 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62604 value.
62605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62606 as optional.
62607 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62608 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62609 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62610 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62611 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62612 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62613 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62614 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62615 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62616 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62617 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62618 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62619 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62620 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62621 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62622 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62623 entry.
62624 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62625 optional.
62626 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62627 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62628 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62629 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62630 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62632 Likewise.
62633 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62635 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62636 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62637 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62638 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62640 as optional.
62641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62644 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62645 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62646 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62647 specify as optional.
62648 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62649 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62650 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62651 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62652 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62653 [XPG3] (NL_LANGMAX): Likewise.
62654 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62655 [POSIX || XPG3] (NL_NMAX): Likewise.
62656 [POSIX || XPG3] (NL_SETMAX): Likewise.
62657 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62658 [XPG3] (NZERO): Likewise.
62659 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62660 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62661 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62662 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62663 (REG_ERANGE): Expect.
62664 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62665 optional-constant.
62666 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62667 Use (void) in prototype.
62668 [POSIX] (*_t): Allow.
62669 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62670 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62671 (WRDE_BADVAL): Expect.
62672
62673 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62674 expect.
62675 [XPG3 || XPG4] (O_RSYNC): Likewise.
62676 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62677 Likewise.
62678 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62679 [XPG3 || XPG4] (sigqueue): Likewise.
62680 [XPG3 || XPG4] (sigtimedwait): Likewise.
62681 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62682 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62683 [XPG3 || XPG4] (vsnprintf): Likewise.
62684 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62685 Likewise.
62686 [XPG3 || XPG4] (blksize_t): Likewise.
62687 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62688 Likewise.
62689 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62690 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62691 [XPG3 || XPG4] (struct itimerspec): Likewise.
62692 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62693 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62694 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62695 [XPG3 || XPG4] (clockid_t): Likewise.
62696 [XPG3 || XPG4] (timer_t): Likewise.
62697 [XPG3 || XPG4] (clock_getres): Likewise.
62698 [XPG3 || XPG4] (clock_gettime): Likewise.
62699 [XPG3 || XPG4] (clock_settime): Likewise.
62700 [XPG3 || XPG4] (nanosleep): Likewise.
62701 [XPG3 || XPG4] (timer_create): Likewise.
62702 [XPG3 || XPG4] (timer_delete): Likewise.
62703 [XPG3 || XPG4] (timer_gettime): Likewise.
62704 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62705 [XPG3 || XPG4] (timer_settime): Likewise.
62706 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62707 [XPG3 || XPG4] (getlogin_r): Likewise.
62708 [XPG3 || XPG4] (pread): Likewise.
62709 [XPG3 || XPG4] (pthread_atfork): Likewise.
62710 [XPG3 || XPG4] (pwrite): Likewise.
62711
62712 [BZ #14835]
62713 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62714 <bits/siginfo.h>.
62715
62716 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62717
62718 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62719 finalizing MALLSTREAM.
62720
62721 * sysdeps/mach/hurd/syncfs.c: New file.
62722
62723 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62724
62725 [BZ #14719]
62726 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62727 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62728 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62729 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62730 (_nss_dns_gethostbyname4_r): Likewise.
62731 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62732 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62733
62734 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62735
62736 [BZ #13763]
62737 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62738
62739 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62740
62741 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62742 * elf/cache.c (print_entry): Print ",AArch64" for
62743 FLAG_AARCH64_LIB64
62744
62745 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62746 * elf/cache.c (print_entry): Print ",hard-float" for
62747 FLAG_ARM_LIBHF.
62748
62749 2012-11-18 David S. Miller <davem@davemloft.net>
62750
62751 With help from Joseph Myers.
62752 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62753 cutoff to 2**-13.
62754 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62755 cutoff to 2**-25.
62756 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62757 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62758 small.
62759 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62760 * math/libm-test.inc (y0_test): New tests.
62761 (y1_test): New tests.
62762 * sysdeps/i386/fpu/libm-test-ulps: Update.
62763 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62765
62766 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62767
62768 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62769 64-bit targets.
62770 * configure: Regenerated.
62771
62772 2012-11-17 David S. Miller <davem@davemloft.net>
62773
62774 [BZ #14811]
62775 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62776 nonzero exponents with absolute value below 0x1p-128 to +/-
62777 0x1p-128.
62778
62779 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62780
62781 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62782
62783 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62784
62785 * posix/getconf-speclist.c: New file.
62786 * posix/posix-envs.def: Likewise.
62787 * posix/confstr.c (START_ENV_GROUP): New macro.
62788 (END_ENV_GROUP): Likewise.
62789 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62790 (KNOWN_PRESENT_ENV_STRING): Likewise.
62791 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62792 (UNKNOWN_ENVIRONMENT): Likewise.
62793 (confstr): Include posix-envs.def instead of handling
62794 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62795 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62796 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62797 (END_ENV_GROUP): Likewise.
62798 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62799 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62800 (UNKNOWN_ENVIRONMENT): Likewise.
62801 (__sysconf): Include posix-envs.def instead of handling associated
62802 cases directly here.
62803 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62804 preprocessing getconf-speclist.c rather than running getconf or
62805 generating empty file.
62806
62807 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62808
62809 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62810
62811 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62812
62813 [BZ #14672]
62814 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62815
62816 2012-11-16 David S. Miller <davem@davemloft.net>
62817
62818 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62819 smaller than LDBL_EPSILON/2.0L, just return xm1.
62820
62821 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62822
62823 * elf/tst-array1.c (init): Set constructor priority to 1000.
62824 (fini): Set destructor priority to 1000.
62825 * elf/tst-array2dep.c: Likewise.
62826
62827 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62828
62829 [BZ #11741]
62830 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62831 (_IO_new_file_xsputn): Also return EOF if none of the input
62832 data was written when overflow failed.
62833 * libio/iopadn.c (_IO_padn): Likewise.
62834 * libio/iowpadn.c (_IO_wpadn): Likewise.
62835 * stdio-common/tst-put-error.c: Add copyright notice.
62836 (do_test): Add case for printing padded string.
62837 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62838 _IO_padn returned error.
62839 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62840 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62841 return EOF.
62842
62843 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62844
62845 * libio/libioP.h: Add comment note that the references to C++
62846 bits are now obsolete.
62847
62848 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62849
62850 * math/libm-test.inc (check_complex): Use asprintf.
62851
62852 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62853
62854 * debug/pcprofiledump.c (print_version): Update copyright year.
62855 * malloc/memusagestat.c (print_version): Likewise.
62856
62857 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62858
62859 [BZ #14831]
62860 * elf/Makefile (tests): Add tst-audit8.
62861 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62862 ($(objpfx)tst-audit8.out): New target.
62863 (tst-audit8-ENV): New variable.
62864 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62865 audit if l_reloc_result is NULL.
62866 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62867 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62868 * elf/tst-audit8.c: New file.
62869
62870 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62871
62872 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62873 * misc/Makefile (CFLAGS-select.c): Define.
62874 * posix/Makefile (CFLAGS-pause.c): Define.
62875
62876 2012-11-13 David S. Miller <davem@davemloft.net>
62877
62878 * crypt/Makefile: Move test targets after toplevel Rules
62879 inclusion. Grab any necessary sysdep routines when linking.
62880 * crypt/md5.c (md5_process_block): Remove define, we will always
62881 name it __md5_process_block.
62882 (md5_finish_ctx): Update md5_process_block call.
62883 (md5_stream): Likewise.
62884 (md5_process_bytes): Likewise.
62885 (md5_process_block): Rename to __md5_process_block and move to ...
62886 * crypt/md5-block.c: ... here.
62887 * crypt/sha256.c (sha256_process_block): Move to ...
62888 * crypt/sha256-block.c: ... here.
62889 * crypt/sha512.c (sha512_process_block): Move to ...
62890 * crypt/sha512-block.c: ... here.
62891 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62892 path.
62893 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62894 * sysdeps/sparc/sparc64/multiarch/Makefile
62895 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62896 crypt subdir.
62897 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62899 multiarch changes.
62900 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62901 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62902 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62903 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62904 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62905 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62906 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62907 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62909 file.
62910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62912 file.
62913 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62914
62915 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62916
62917 * timezone/tzselect.ksh: Update from tzcode git revision
62918 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62919 * timezone/zdump.c: Likewise.
62920 * timezone/zic.c: Likewise.
62921 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62922 in TZVERSION setting, not $(PKGVERSION).
62923 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62924 REPORT_BUGS_TO settings.
62925
62926 [BZ #14838]
62927 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62928 macro.
62929
62930 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62931
62932 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62933 detection to immediately after _FP_ROUND().
62934 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62935 bits are 0.
62936
62937 2012-11-11 David S. Miller <davem@davemloft.net>
62938
62939 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62940 inttypes.h
62941 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62942 __close rather than their public counterparts.
62943
62944 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62945
62946 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62947 file.
62948 [UNIX98] (sem_timedwait): Do not expect.
62949 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62950 [XPG4 || UNIX98] (sockatmark): Do not expect.
62951 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62952 (clock_getcpuclockid): Do not expect.
62953 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62954 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62955 Do not expect.
62956 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62957 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62958 [UNIX98] (vwscanf): Likewise.
62959 [UNIX98] (vswscanf): Likewise.
62960
62961 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62962
62963 * timezone/version.h: Remove file.
62964 * timezone/README: Do not refer to version.h.
62965 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62966 $(objpfx)version.h.
62967 ($(objpfx)zdump.o): Likewise.
62968 ($(objpfx)version.h): New target.
62969
62970 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62971 2012i.
62972 * timezone/README: Don't mention modification to tzselect.ksh.
62973 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62974 work on unmodified tzselect.ksh. Substitute version numbers in
62975 tzselect.ksh.
62976
62977 * Makefile (format-me): Remove.
62978 (INSTALL): Adjust indentation. Use commands directly instead of
62979 using $(format-me).
62980
62981 * aclocal.m4 (ACX_PKGVERSION): New macro.
62982 (ACX_BUGURL): Likewise.
62983 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62984 (PKGVERSION): New AC_DEFINE_UNQUOTED.
62985 (REPORT_BUGS_TO): Likewise.
62986 * configure: Regenerated.
62987 * config.h.in (PKGVERSION): New macro.
62988 (REPORT_BUGS_TO): Likewise.
62989 * config.make.in (PKGVERSION): New variable.
62990 (PKGVERSION_TEXI): Likewise.
62991 (REPORT_BUGS_TO): Likewise.
62992 (REPORT_BUGS_TEXI): Likewise.
62993 * Makefile (format-me): Use -I$(common-objpfx)manual.
62994 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62995 ($(common-objpfx)manual/%): New target.
62996 (manual/%): Remove target.
62997 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62998 (print_version): Use PKGVERSION.
62999 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63000 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63001 and REPORT_BUGS_TO.
63002 ($(objpfx)xtrace): Likewise.
63003 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63004 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63005 (print_version): Use PKGVERSION.
63006 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63007 (do_version): Use PKGVERSION.
63008 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63009 REPORT_BUGS_TO.
63010 (common-ldd-rewrite): Likewise.
63011 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63012 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63013 (print_version): Use PKGVERSION.
63014 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63015 * elf/pldd.c (argp_program_bug_address): Remove variable.
63016 (more_help): New function.
63017 (argp): Use more_help.
63018 (print_version): Use PKGVERSION.
63019 * elf/sln.c (main): Use PKGVERSION.
63020 (usage): Use REPORT_BUGS_TO.
63021 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63022 (top level): Use PKGVERSION.
63023 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63024 (print_version): Use PKGVERSION.
63025 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63026 (print_version): Use PKGVERSION.
63027 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63028 (print_version): Use PKGVERSION.
63029 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63030 (print_version): Use PKGVERSION.
63031 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63032 (print_version): Use PKGVERSION.
63033 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63034 (print_version): Use PKGVERSION.
63035 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63036 and BUGURL.
63037 ($(objpfx)memusage): Likewise.
63038 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63039 (do_version): Use PKGVERSION.
63040 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63041 (print_version): Use PKGVERSION.
63042 * malloc/mtrace.pl ($PACKAGE): Remove variable.
63043 ($PKGVERSION): New variable.
63044 ($REPORT_BUGS_TO): Likewise.
63045 (usage): Use $REPORT_BUGS_TO.
63046 (top level): Use $PKGVERSION.
63047 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63048 ($(objpfx)pkgvers.texi): New rule.
63049 ($(objpfx)stamp-pkgvers): Likewise.
63050 * manual/install.texi: Include pkgvers.texi.
63051 (--with-pkgversion): Document new configure option.
63052 (--with-bugurl): Likewise.
63053 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63054 than necessarily for this particular distribution. Use
63055 REPORT_BUGS_TO for where to report bugs.
63056 * INSTALL: Regenerated.
63057 * manual/libc.texinfo: Include pkgvers.texi.
63058 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63059 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63060 (print_version): Use PKGVERSION.
63061 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63062 (print_version): Use PKGVERSION.
63063 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63064 (print_version): Use PKGVERSION.
63065 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63066 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63067 macro.
63068 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63069 (print_version): Use PKGVERSION.
63070 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63071 (print_version): Use PKGVERSION.
63072 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63073 and PKGVERSION.
63074
63075 * timezone/checktab.awk: Update from tzcode 2012i.
63076 * timezone/ialloc.c: Likewise.
63077 * timezone/private.h: Likewise.
63078 * timezone/scheck.c: Likewise.
63079 * timezone/tzfile.h: Likewise.
63080 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63081 (TZVERSION): Hardcode tzcode version number.
63082 * timezone/zdump.c: Update from tzcode 2012i.
63083 * timezone/zic.c: Likewise.
63084 * timezone/version.h: New file.
63085 * timezone/README: Describe version.h. Update upstream location.
63086
63087 [BZ #14824]
63088 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63089 (mktemp): Enable declaration.
63090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63094 Likewise.
63095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63096 Likewise.
63097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63098 Likewise.
63099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63100 Likewise.
63101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63102 Likewise.
63103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63104 Likewise.
63105
63106 [BZ #14821]
63107 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63108 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63109 for copies of such integer values.
63110 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63111 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63112
63113 2012-11-09 Andreas Jaeger <aj@suse.de>
63114
63115 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63116 definitions and declarations that are provided by
63117 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63118
63119 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63120
63121 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63122 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63123 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63124 definition.
63125
63126 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63127
63128 * elf/elf.h: Update comment before AArch64 relocations.
63129
63130 2012-11-07 David S. Miller <davem@davemloft.net>
63131
63132 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63133 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63134 (__start_context): Declare.
63135 (__makecontext_ret): Delete.
63136 (__makecontext): Hook up __start_context instead of
63137 __makecontext_ret.
63138 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63139 (sysdep_routines): Add __start_context when in stdlib.
63140
63141 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63142
63143 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63144 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63145 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63146 hardcoded "nm".
63147 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63148 (READELF): New variable. Use it instead of hardcoded "readelf".
63149
63150 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63151
63152 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63153 * sysdeps/x86/Makefile: Here.
63154 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63155 * sysdeps/x86/tst-xmmymm.sh: This.
63156
63157 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63158
63159 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63160 expectations.
63161 [UNIX98] (pthread_barrier_t): Do not expect.
63162 [UNIX98] (pthread_barrierattr_t): Likewise.
63163 [UNIX98] (pthread_spinlock_t): Likewise.
63164 [UNIX98] (pthread_barrier_destroy): Likewise.
63165 [UNIX98] (pthread_barrier_init): Likewise.
63166 [UNIX98] (pthread_barrier_wait): Likewise.
63167 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63168 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63169 [UNIX98] (pthread_barrierattr_init): Likewise.
63170 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63171 [UNIX98] (pthread_getcpuclockid): Likewise.
63172 [UNIX98] (pthread_mutex_timedlock): Likewise.
63173 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63174 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63175 [UNIX98] (pthread_sigmask): Likewise.
63176 [UNIX98] (pthread_spin_destroy): Likewise.
63177 [UNIX98] (pthread_spin_init): Likewise.
63178 [UNIX98] (pthread_spin_lock): Likewise.
63179 [UNIX98] (pthread_spin_trylock): Likewise.
63180 [UNIX98] (pthread_spin_unlock): Likewise.
63181 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63182 Do not expect.
63183 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63184 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63185 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63186 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63187 [XPG3 || XPG4] (pthread_key_t): Likewise.
63188 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63189 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63190 [XPG3 || XPG4] (pthread_once_t): Likewise.
63191 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63192 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63193 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63194 [XPG3 || XPG4] (pthread_t): Likewise.
63195
63196 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63197 not expect.
63198 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63199
63200 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63201 Change function return type to int.
63202
63203 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63204 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63205 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63206 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63207 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63208 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63209 [!POSIX] (posix_madvise): Likewise.
63210 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63211 && !UNIX98].
63212 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63213 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63214 (mode_t): Likewise.
63215 (posix_mem_offset): Likewise.
63216 (posix_typed_mem_get_info): Likewise.
63217 (posix_typed_mem_open): Likewise.
63218
63219 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63220 Change condition to [XOPEN2K8].
63221
63222 * conform/conformtest.pl: Preprocess allow-header data with -x c
63223 instead of from stdin.
63224 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63225 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63226 [C99-based standards] (cerfc): Likewise.
63227 [C99-based standards] (cexp2): Likewise.
63228 [C99-based standards] (cexpm1): Likewise.
63229 [C99-based standards] (clog10): Likewise.
63230 [C99-based standards] (clog1p): Likewise.
63231 [C99-based standards] (clog2): Likewise.
63232 [C99-based standards] (clgamma): Likewise.
63233 [C99-based standards] (ctgamma): Likewise.
63234 [C99-based standards] (cerff): Likewise.
63235 [C99-based standards] (cerfcf): Likewise.
63236 [C99-based standards] (cexp2f): Likewise.
63237 [C99-based standards] (cexpm1f): Likewise.
63238 [C99-based standards] (clog10f): Likewise.
63239 [C99-based standards] (clog1pf): Likewise.
63240 [C99-based standards] (clog2f): Likewise.
63241 [C99-based standards] (clgammaf): Likewise.
63242 [C99-based standards] (ctgammaf): Likewise.
63243 [C99-based standards] (cerfl): Likewise.
63244 [C99-based standards] (cerfcl): Likewise.
63245 [C99-based standards] (cexp2l): Likewise.
63246 [C99-based standards] (cexpm1l): Likewise.
63247 [C99-based standards] (clog10l): Likewise.
63248 [C99-based standards] (clog1pl): Likewise.
63249 [C99-based standards] (clog2l): Likewise.
63250 [C99-based standards] (clgammal): Likewise.
63251 [C99-based standards] (ctgammal): Likewise.
63252 * conform/data/inttypes.h-data [C99-based standards]: Include
63253 stdint.h-data. Remove all expectations for stdint.h contents.
63254 [C99-based standards] (PRI*): Do not allow.
63255 [C99-based standards] (SCN*): Likewise.
63256 [C99-based standards] (*_t): Likewise.
63257 [C99-based-standards] (PRId8): Expect macro.
63258 [C99-based-standards] (PRIi8): Likewise.
63259 [C99-based-standards] (PRIo8): Likewise.
63260 [C99-based-standards] (PRIu8): Likewise.
63261 [C99-based-standards] (PRIx8): Likewise.
63262 [C99-based-standards] (PRIX8): Likewise.
63263 [C99-based-standards] (SCNd8): Likewise.
63264 [C99-based-standards] (SCNi8): Likewise.
63265 [C99-based-standards] (SCNo8): Likewise.
63266 [C99-based-standards] (SCNu8): Likewise.
63267 [C99-based-standards] (SCNx8): Likewise.
63268 [C99-based-standards] (PRIdLEAST8): Likewise.
63269 [C99-based-standards] (PRIiLEAST8): Likewise.
63270 [C99-based-standards] (PRIoLEAST8): Likewise.
63271 [C99-based-standards] (PRIuLEAST8): Likewise.
63272 [C99-based-standards] (PRIxLEAST8): Likewise.
63273 [C99-based-standards] (PRIXLEAST8): Likewise.
63274 [C99-based-standards] (SCNdLEAST8): Likewise.
63275 [C99-based-standards] (SCNiLEAST8): Likewise.
63276 [C99-based-standards] (SCNoLEAST8): Likewise.
63277 [C99-based-standards] (SCNuLEAST8): Likewise.
63278 [C99-based-standards] (SCNxLEAST8): Likewise.
63279 [C99-based-standards] (PRIdFAST8): Likewise.
63280 [C99-based-standards] (PRIiFAST8): Likewise.
63281 [C99-based-standards] (PRIoFAST8): Likewise.
63282 [C99-based-standards] (PRIuFAST8): Likewise.
63283 [C99-based-standards] (PRIxFAST8): Likewise.
63284 [C99-based-standards] (PRIXFAST8): Likewise.
63285 [C99-based-standards] (SCNdFAST8): Likewise.
63286 [C99-based-standards] (SCNiFAST8): Likewise.
63287 [C99-based-standards] (SCNoFAST8): Likewise.
63288 [C99-based-standards] (SCNuFAST8): Likewise.
63289 [C99-based-standards] (SCNxFAST8): Likewise.
63290 [C99-based-standards] (PRId16): Likewise.
63291 [C99-based-standards] (PRIi16): Likewise.
63292 [C99-based-standards] (PRIo16): Likewise.
63293 [C99-based-standards] (PRIu16): Likewise.
63294 [C99-based-standards] (PRIx16): Likewise.
63295 [C99-based-standards] (PRIX16): Likewise.
63296 [C99-based-standards] (SCNd16): Likewise.
63297 [C99-based-standards] (SCNi16): Likewise.
63298 [C99-based-standards] (SCNo16): Likewise.
63299 [C99-based-standards] (SCNu16): Likewise.
63300 [C99-based-standards] (SCNx16): Likewise.
63301 [C99-based-standards] (PRIdLEAST16): Likewise.
63302 [C99-based-standards] (PRIiLEAST16): Likewise.
63303 [C99-based-standards] (PRIoLEAST16): Likewise.
63304 [C99-based-standards] (PRIuLEAST16): Likewise.
63305 [C99-based-standards] (PRIxLEAST16): Likewise.
63306 [C99-based-standards] (PRIXLEAST16): Likewise.
63307 [C99-based-standards] (SCNdLEAST16): Likewise.
63308 [C99-based-standards] (SCNiLEAST16): Likewise.
63309 [C99-based-standards] (SCNoLEAST16): Likewise.
63310 [C99-based-standards] (SCNuLEAST16): Likewise.
63311 [C99-based-standards] (SCNxLEAST16): Likewise.
63312 [C99-based-standards] (PRIdFAST16): Likewise.
63313 [C99-based-standards] (PRIiFAST16): Likewise.
63314 [C99-based-standards] (PRIoFAST16): Likewise.
63315 [C99-based-standards] (PRIuFAST16): Likewise.
63316 [C99-based-standards] (PRIxFAST16): Likewise.
63317 [C99-based-standards] (PRIXFAST16): Likewise.
63318 [C99-based-standards] (SCNdFAST16): Likewise.
63319 [C99-based-standards] (SCNiFAST16): Likewise.
63320 [C99-based-standards] (SCNoFAST16): Likewise.
63321 [C99-based-standards] (SCNuFAST16): Likewise.
63322 [C99-based-standards] (SCNxFAST16): Likewise.
63323 [C99-based-standards] (PRId32): Likewise.
63324 [C99-based-standards] (PRIi32): Likewise.
63325 [C99-based-standards] (PRIo32): Likewise.
63326 [C99-based-standards] (PRIu32): Likewise.
63327 [C99-based-standards] (PRIx32): Likewise.
63328 [C99-based-standards] (PRIX32): Likewise.
63329 [C99-based-standards] (SCNd32): Likewise.
63330 [C99-based-standards] (SCNi32): Likewise.
63331 [C99-based-standards] (SCNo32): Likewise.
63332 [C99-based-standards] (SCNu32): Likewise.
63333 [C99-based-standards] (SCNx32): Likewise.
63334 [C99-based-standards] (PRIdLEAST32): Likewise.
63335 [C99-based-standards] (PRIiLEAST32): Likewise.
63336 [C99-based-standards] (PRIoLEAST32): Likewise.
63337 [C99-based-standards] (PRIuLEAST32): Likewise.
63338 [C99-based-standards] (PRIxLEAST32): Likewise.
63339 [C99-based-standards] (PRIXLEAST32): Likewise.
63340 [C99-based-standards] (SCNdLEAST32): Likewise.
63341 [C99-based-standards] (SCNiLEAST32): Likewise.
63342 [C99-based-standards] (SCNoLEAST32): Likewise.
63343 [C99-based-standards] (SCNuLEAST32): Likewise.
63344 [C99-based-standards] (SCNxLEAST32): Likewise.
63345 [C99-based-standards] (PRIdFAST32): Likewise.
63346 [C99-based-standards] (PRIiFAST32): Likewise.
63347 [C99-based-standards] (PRIoFAST32): Likewise.
63348 [C99-based-standards] (PRIuFAST32): Likewise.
63349 [C99-based-standards] (PRIxFAST32): Likewise.
63350 [C99-based-standards] (PRIXFAST32): Likewise.
63351 [C99-based-standards] (SCNdFAST32): Likewise.
63352 [C99-based-standards] (SCNiFAST32): Likewise.
63353 [C99-based-standards] (SCNoFAST32): Likewise.
63354 [C99-based-standards] (SCNuFAST32): Likewise.
63355 [C99-based-standards] (SCNxFAST32): Likewise.
63356 [C99-based-standards] (PRId64): Likewise.
63357 [C99-based-standards] (PRIi64): Likewise.
63358 [C99-based-standards] (PRIo64): Likewise.
63359 [C99-based-standards] (PRIu64): Likewise.
63360 [C99-based-standards] (PRIx64): Likewise.
63361 [C99-based-standards] (PRIX64): Likewise.
63362 [C99-based-standards] (SCNd64): Likewise.
63363 [C99-based-standards] (SCNi64): Likewise.
63364 [C99-based-standards] (SCNo64): Likewise.
63365 [C99-based-standards] (SCNu64): Likewise.
63366 [C99-based-standards] (SCNx64): Likewise.
63367 [C99-based-standards] (PRIdLEAST64): Likewise.
63368 [C99-based-standards] (PRIiLEAST64): Likewise.
63369 [C99-based-standards] (PRIoLEAST64): Likewise.
63370 [C99-based-standards] (PRIuLEAST64): Likewise.
63371 [C99-based-standards] (PRIxLEAST64): Likewise.
63372 [C99-based-standards] (PRIXLEAST64): Likewise.
63373 [C99-based-standards] (SCNdLEAST64): Likewise.
63374 [C99-based-standards] (SCNiLEAST64): Likewise.
63375 [C99-based-standards] (SCNoLEAST64): Likewise.
63376 [C99-based-standards] (SCNuLEAST64): Likewise.
63377 [C99-based-standards] (SCNxLEAST64): Likewise.
63378 [C99-based-standards] (PRIdFAST64): Likewise.
63379 [C99-based-standards] (PRIiFAST64): Likewise.
63380 [C99-based-standards] (PRIoFAST64): Likewise.
63381 [C99-based-standards] (PRIuFAST64): Likewise.
63382 [C99-based-standards] (PRIxFAST64): Likewise.
63383 [C99-based-standards] (PRIXFAST64): Likewise.
63384 [C99-based-standards] (SCNdFAST64): Likewise.
63385 [C99-based-standards] (SCNiFAST64): Likewise.
63386 [C99-based-standards] (SCNoFAST64): Likewise.
63387 [C99-based-standards] (SCNuFAST64): Likewise.
63388 [C99-based-standards] (SCNxFAST64): Likewise.
63389 [C99-based-standards] (PRIdMAX): Likewise.
63390 [C99-based-standards] (PRIiMAX): Likewise.
63391 [C99-based-standards] (PRIoMAX): Likewise.
63392 [C99-based-standards] (PRIuMAX): Likewise.
63393 [C99-based-standards] (PRIxMAX): Likewise.
63394 [C99-based-standards] (PRIXMAX): Likewise.
63395 [C99-based-standards] (SCNdMAX): Likewise.
63396 [C99-based-standards] (SCNiMAX): Likewise.
63397 [C99-based-standards] (SCNoMAX): Likewise.
63398 [C99-based-standards] (SCNuMAX): Likewise.
63399 [C99-based-standards] (SCNxMAX): Likewise.
63400 [C99-based-standards] (PRIdPTR): Likewise.
63401 [C99-based-standards] (PRIiPTR): Likewise.
63402 [C99-based-standards] (PRIoPTR): Likewise.
63403 [C99-based-standards] (PRIuPTR): Likewise.
63404 [C99-based-standards] (PRIxPTR): Likewise.
63405 [C99-based-standards] (PRIXPTR): Likewise.
63406 [C99-based-standards] (SCNdPTR): Likewise.
63407 [C99-based-standards] (SCNiPTR): Likewise.
63408 [C99-based-standards] (SCNoPTR): Likewise.
63409 [C99-based-standards] (SCNuPTR): Likewise.
63410 [C99-based-standards] (SCNxPTR): Likewise.
63411 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63412 allow.
63413 * conform/data/stdint.h-data: Update comments to clarify
63414 requirements.
63415 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63416 type.
63417 [C99-based standards] (INT8_MAX): Likewise.
63418 [C99-based standards] (INT16_MIN): Likewise.
63419 [C99-based standards] (INT16_MAX): Likewise.
63420 [C99-based standards] (INT32_MIN): Likewise.
63421 [C99-based standards] (INT32_MAX): Likewise.
63422 [C99-based standards] (INT64_MIN): Likewise.
63423 [C99-based standards] (INT64_MAX): Likewise.
63424 [C99-based standards] (UINT8_MAX): Likewise.
63425 [C99-based standards] (UINT16_MAX): Likewise.
63426 [C99-based standards] (UINT32_MAX): Likewise.
63427 [C99-based standards] (UINT64_MAX): Likewise.
63428 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63429 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63430 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63431 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63432 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63433 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63434 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63435 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63436 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63437 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63438 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63439 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63440 [C99-based standards] (INT_FAST8_MIN): Likewise.
63441 [C99-based standards] (INT_FAST8_MAX): Likewise.
63442 [C99-based standards] (INT_FAST16_MIN): Likewise.
63443 [C99-based standards] (INT_FAST16_MAX): Likewise.
63444 [C99-based standards] (INT_FAST32_MIN): Likewise.
63445 [C99-based standards] (INT_FAST32_MAX): Likewise.
63446 [C99-based standards] (INT_FAST64_MIN): Likewise.
63447 [C99-based standards] (INT_FAST64_MAX): Likewise.
63448 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63449 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63450 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63451 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63452 [C99-based standards] (INTPTR_MIN): Likewise.
63453 [C99-based standards] (INTPTR_MAX): Likewise.
63454 [C99-based standards] (UINTPTR_MAX): Likewise.
63455 [C99-based standards] (INTMAX_MIN): Likewise.
63456 [C99-based standards] (INTMAX_MAX): Likewise.
63457 [C99-based standards] (UINTMAX_MAX): Likewise.
63458 [C99-based standards] (PTRDIFF_MIN): Likewise.
63459 [C99-based standards] (PTRDIFF_MAX): Likewise.
63460 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63461 [C99-based standards] (SIZE_MAX): Likewise.
63462 [C99-based standards] (WCHAR_MAX): Likewise.
63463 [C99-based standards] (WINT_MAX): Likewise.
63464 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63465 constraint on value.
63466 [C99-based standards] (WCHAR_MIN): Likewise.
63467 [C99-based standards] (WINT_MIN): Likewise.
63468 [C99-based standards] (*_t): Allow.
63469 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63470 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63471 Include math.h-data and complex.h-data. Remove all expectations
63472 of math.h and complex.h contents.
63473 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63474 at end of line.
63475 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63476 (struct tm): Expect tag.
63477 [C99-based-standards] (wcstof): Expect function.
63478 [C99-based-standards] (wcstold): Likewise.
63479 [C99-based-standards] (wcstoll): Likewise.
63480 [C99-based-standards] (wcstoull): Likewise.
63481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63482 macro-int-constant. Specify type.
63483 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63484 constraint on value.
63485 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63486 Specify type.
63487 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63488 Specify value.
63489 [ISO C standards]: Do not allow headers.
63490 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63491 wcs[abcdefghijklmnopqrstuvwxyz]*.
63492 [ISO C standards] (*_t): Do not allow.
63493 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63494 Expect function.
63495 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63496 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63497 Specify type.
63498 [ISO C standards]: Do not allow headers.
63499 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63500 is[abcdefghijklmnopqrstuvwxyz]*.
63501 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63502 to[abcdefghijklmnopqrstuvwxyz]*.
63503 [ISO C standards] (*_t): Do not allow.
63504 * conform/data/stdalign.h-data: New file.
63505 * conform/data/stdbool.h-data: Likewise.
63506 * conform/data/stdnoreturn.h-data: Likewise.
63507
63508 2012-11-07 Roland McGrath <roland@hack.frob.com>
63509
63510 [BZ #14815]
63511 * manual/filesys.texi (Directory Entries): Typo fix.
63512 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63513
63514 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63515
63516 * elf/elf.h (EM_AARCH64): New macro.
63517 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63518 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63519 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63520 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63521 (R_AARCH64_TLSDESC): Likewise.
63522 (NT_ARM_TLS): Likewise.
63523 (NT_ARM_HW_BREAK): Likewise.
63524 (NT_ARM_HW_WATCH): Likewise.
63525
63526 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63527
63528 [BZ #14811]
63529 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63530 (__ieee754_powl): Saturate nonzero exponents with absolute value
63531 below 0x1p-79 to +/- 0x1p-79.
63532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63533 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63534 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63535 nonzero exponents with absolute value below 0x1p-32 to +/-
63536 0x1p-32.
63537 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63538 (__ieee754_powl): Saturate nonzero exponents with absolute value
63539 below 0x1p-79 to +/- 0x1p-79.
63540 * math/libm-test.inc (pow_test): Add more tests.
63541
63542 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63543
63544 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63545 _dl_s390_cap_flags with kernel. Increase string length.
63546 (_dl_s390_platforms): Add z196 and zEC12.
63547
63548 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63549
63550 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63551 Change XOPEN21K to XOPEN2K.
63552
63553 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63554
63555 * string/memmove.c: Use memcpy when possible.
63556
63557 2012-11-06 Andreas Jaeger <aj@suse.de>
63558
63559 * po/eo.po: Update from translation team.
63560
63561 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63562
63563 [BZ #14793]
63564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63565 exponent and small x and y exponents, scale x or y up. Increase
63566 by 2 the exponent used in scaling up.
63567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63569 * math/libm-test.inc (fma_test): Add more tests.
63570 (fma_test_towardzero): Likewise.
63571 (fma_test_downward): Likewise.
63572 (fma_test_upward): Likewise.
63573
63574 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63575
63576 [BZ #14805]
63577 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63578 fenv_t *.
63579
63580 [BZ #14801]
63581 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63582 namespace for names of struct fields.
63583 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63584 fenv_t fields.
63585 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63586 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63587
63588 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63589
63590 [BZ #3665]
63591 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63592
63593 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63594
63595 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63596 PTR_DEMANGLE.
63597
63598 [BZ #5246]
63599 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63600 PTR_DEMANGLE.
63601
63602 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63603
63604 [BZ #14797]
63605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63606 definitely overflow as x * y not x * y + z.
63607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63608 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63609 * math/libm-test.inc (fma_test): Add more tests.
63610 (fma_test_towardzero): Likewise.
63611 (fma_test_downward): Likewise.
63612 (fma_test_upward): Likewise.
63613
63614 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63615
63616 [BZ #157]
63617
63618 * include/stub-tag.h: Remove file.
63619 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63620 '#include' of it.
63621 * manual/maint.texi (Porting): Don't reference it.
63622 * Makerules ($(objpfx)stubs): Likewise.
63623 * dirent/closedir.c: Don't include <stub-tag.h>.
63624 * dirent/dirfd.c: Likewise.
63625 * dirent/fdopendir.c: Likewise.
63626 * dirent/getdents.c: Likewise.
63627 * dirent/getdents64.c: Likewise.
63628 * dirent/opendir.c: Likewise.
63629 * dirent/readdir.c: Likewise.
63630 * dirent/readdir64.c: Likewise.
63631 * dirent/readdir64_r.c: Likewise.
63632 * dirent/readdir_r.c: Likewise.
63633 * dirent/rewinddir.c: Likewise.
63634 * dirent/seekdir.c: Likewise.
63635 * dirent/telldir.c: Likewise.
63636 * gmon/profil.c: Likewise.
63637 * grp/setgroups.c: Likewise.
63638 * inet/if_index.c: Likewise.
63639 * io/access.c: Likewise.
63640 * io/chdir.c: Likewise.
63641 * io/chmod.c: Likewise.
63642 * io/chown.c: Likewise.
63643 * io/close.c: Likewise.
63644 * io/dup.c: Likewise.
63645 * io/dup2.c: Likewise.
63646 * io/dup3.c: Likewise.
63647 * io/euidaccess.c: Likewise.
63648 * io/faccessat.c: Likewise.
63649 * io/fchdir.c: Likewise.
63650 * io/fchmod.c: Likewise.
63651 * io/fchmodat.c: Likewise.
63652 * io/fchown.c: Likewise.
63653 * io/fchownat.c: Likewise.
63654 * io/fcntl.c: Likewise.
63655 * io/flock.c: Likewise.
63656 * io/fstatfs.c: Likewise.
63657 * io/fstatfs64.c: Likewise.
63658 * io/fstatvfs.c: Likewise.
63659 * io/fstatvfs64.c: Likewise.
63660 * io/futimens.c: Likewise.
63661 * io/fxstat.c: Likewise.
63662 * io/fxstat64.c: Likewise.
63663 * io/fxstatat.c: Likewise.
63664 * io/fxstatat64.c: Likewise.
63665 * io/getcwd.c: Likewise.
63666 * io/isatty.c: Likewise.
63667 * io/lchmod.c: Likewise.
63668 * io/lchown.c: Likewise.
63669 * io/link.c: Likewise.
63670 * io/linkat.c: Likewise.
63671 * io/lseek.c: Likewise.
63672 * io/lseek64.c: Likewise.
63673 * io/lxstat64.c: Likewise.
63674 * io/mkdir.c: Likewise.
63675 * io/mkdirat.c: Likewise.
63676 * io/mkfifo.c: Likewise.
63677 * io/mkfifoat.c: Likewise.
63678 * io/open.c: Likewise.
63679 * io/open64.c: Likewise.
63680 * io/openat.c: Likewise.
63681 * io/openat64.c: Likewise.
63682 * io/pipe.c: Likewise.
63683 * io/pipe2.c: Likewise.
63684 * io/poll.c: Likewise.
63685 * io/posix_fadvise.c: Likewise.
63686 * io/posix_fadvise64.c: Likewise.
63687 * io/posix_fallocate.c: Likewise.
63688 * io/posix_fallocate64.c: Likewise.
63689 * io/read.c: Likewise.
63690 * io/readlink.c: Likewise.
63691 * io/readlinkat.c: Likewise.
63692 * io/rmdir.c: Likewise.
63693 * io/sendfile.c: Likewise.
63694 * io/sendfile64.c: Likewise.
63695 * io/statfs.c: Likewise.
63696 * io/statfs64.c: Likewise.
63697 * io/statvfs.c: Likewise.
63698 * io/statvfs64.c: Likewise.
63699 * io/symlink.c: Likewise.
63700 * io/symlinkat.c: Likewise.
63701 * io/ttyname.c: Likewise.
63702 * io/ttyname_r.c: Likewise.
63703 * io/umask.c: Likewise.
63704 * io/unlink.c: Likewise.
63705 * io/unlinkat.c: Likewise.
63706 * io/utime.c: Likewise.
63707 * io/utimensat.c: Likewise.
63708 * io/write.c: Likewise.
63709 * io/xmknod.c: Likewise.
63710 * io/xmknodat.c: Likewise.
63711 * io/xstat.c: Likewise.
63712 * io/xstat64.c: Likewise.
63713 * login/getpt.c: Likewise.
63714 * login/grantpt.c: Likewise.
63715 * login/unlockpt.c: Likewise.
63716 * math/e_acoshl.c: Likewise.
63717 * math/e_acosl.c: Likewise.
63718 * math/e_asinl.c: Likewise.
63719 * math/e_atan2l.c: Likewise.
63720 * math/e_atanhl.c: Likewise.
63721 * math/e_coshl.c: Likewise.
63722 * math/e_expl.c: Likewise.
63723 * math/e_fmodl.c: Likewise.
63724 * math/e_gammal_r.c: Likewise.
63725 * math/e_hypotl.c: Likewise.
63726 * math/e_j0l.c: Likewise.
63727 * math/e_j1l.c: Likewise.
63728 * math/e_jnl.c: Likewise.
63729 * math/e_lgammal_r.c: Likewise.
63730 * math/e_log10l.c: Likewise.
63731 * math/e_log2l.c: Likewise.
63732 * math/e_logl.c: Likewise.
63733 * math/e_powl.c: Likewise.
63734 * math/e_rem_pio2l.c: Likewise.
63735 * math/e_sinhl.c: Likewise.
63736 * math/e_sqrtl.c: Likewise.
63737 * math/fclrexcpt.c: Likewise.
63738 * math/fedisblxcpt.c: Likewise.
63739 * math/feenablxcpt.c: Likewise.
63740 * math/fegetenv.c: Likewise.
63741 * math/fegetexcept.c: Likewise.
63742 * math/fegetround.c: Likewise.
63743 * math/feholdexcpt.c: Likewise.
63744 * math/fesetenv.c: Likewise.
63745 * math/fesetround.c: Likewise.
63746 * math/feupdateenv.c: Likewise.
63747 * math/fgetexcptflg.c: Likewise.
63748 * math/fraiseexcpt.c: Likewise.
63749 * math/fsetexcptflg.c: Likewise.
63750 * math/ftestexcept.c: Likewise.
63751 * math/k_cosl.c: Likewise.
63752 * math/k_rem_pio2l.c: Likewise.
63753 * math/k_sinl.c: Likewise.
63754 * math/k_tanl.c: Likewise.
63755 * math/s_asinhl.c: Likewise.
63756 * math/s_atanl.c: Likewise.
63757 * math/s_cbrtl.c: Likewise.
63758 * math/s_erfl.c: Likewise.
63759 * math/s_expm1l.c: Likewise.
63760 * math/s_log1pl.c: Likewise.
63761 * math/s_tanhl.c: Likewise.
63762 * misc/acct.c: Likewise.
63763 * misc/brk.c: Likewise.
63764 * misc/chflags.c: Likewise.
63765 * misc/chroot.c: Likewise.
63766 * misc/fchflags.c: Likewise.
63767 * misc/fgetxattr.c: Likewise.
63768 * misc/flistxattr.c: Likewise.
63769 * misc/fremovexattr.c: Likewise.
63770 * misc/fsetxattr.c: Likewise.
63771 * misc/fsync.c: Likewise.
63772 * misc/ftruncate.c: Likewise.
63773 * misc/futimes.c: Likewise.
63774 * misc/futimesat.c: Likewise.
63775 * misc/getdomain.c: Likewise.
63776 * misc/getdtsz.c: Likewise.
63777 * misc/gethostid.c: Likewise.
63778 * misc/gethostname.c: Likewise.
63779 * misc/getloadavg.c: Likewise.
63780 * misc/getpagesize.c: Likewise.
63781 * misc/getsysstats.c: Likewise.
63782 * misc/getxattr.c: Likewise.
63783 * misc/gtty.c: Likewise.
63784 * misc/ioctl.c: Likewise.
63785 * misc/lgetxattr.c: Likewise.
63786 * misc/listxattr.c: Likewise.
63787 * misc/llistxattr.c: Likewise.
63788 * misc/lremovexattr.c: Likewise.
63789 * misc/lsetxattr.c: Likewise.
63790 * misc/lutimes.c: Likewise.
63791 * misc/madvise.c: Likewise.
63792 * misc/mincore.c: Likewise.
63793 * misc/mlock.c: Likewise.
63794 * misc/mlockall.c: Likewise.
63795 * misc/mmap.c: Likewise.
63796 * misc/mprotect.c: Likewise.
63797 * misc/msync.c: Likewise.
63798 * misc/munlock.c: Likewise.
63799 * misc/munlockall.c: Likewise.
63800 * misc/munmap.c: Likewise.
63801 * misc/preadv.c: Likewise.
63802 * misc/preadv64.c: Likewise.
63803 * misc/ptrace.c: Likewise.
63804 * misc/pwritev.c: Likewise.
63805 * misc/pwritev64.c: Likewise.
63806 * misc/readv.c: Likewise.
63807 * misc/reboot.c: Likewise.
63808 * misc/remap_file_pages.c: Likewise.
63809 * misc/removexattr.c: Likewise.
63810 * misc/revoke.c: Likewise.
63811 * misc/select.c: Likewise.
63812 * misc/setdomain.c: Likewise.
63813 * misc/setegid.c: Likewise.
63814 * misc/seteuid.c: Likewise.
63815 * misc/sethostid.c: Likewise.
63816 * misc/sethostname.c: Likewise.
63817 * misc/setregid.c: Likewise.
63818 * misc/setreuid.c: Likewise.
63819 * misc/setxattr.c: Likewise.
63820 * misc/sstk.c: Likewise.
63821 * misc/stty.c: Likewise.
63822 * misc/swapoff.c: Likewise.
63823 * misc/swapon.c: Likewise.
63824 * misc/sync.c: Likewise.
63825 * misc/syncfs.c: Likewise.
63826 * misc/syscall.c: Likewise.
63827 * misc/truncate.c: Likewise.
63828 * misc/ualarm.c: Likewise.
63829 * misc/usleep.c: Likewise.
63830 * misc/ustat.c: Likewise.
63831 * misc/utimes.c: Likewise.
63832 * misc/vhangup.c: Likewise.
63833 * misc/writev.c: Likewise.
63834 * posix/_exit.c: Likewise.
63835 * posix/alarm.c: Likewise.
63836 * posix/execve.c: Likewise.
63837 * posix/fexecve.c: Likewise.
63838 * posix/fork.c: Likewise.
63839 * posix/fpathconf.c: Likewise.
63840 * posix/getaddrinfo.c: Likewise.
63841 * posix/getegid.c: Likewise.
63842 * posix/geteuid.c: Likewise.
63843 * posix/getgid.c: Likewise.
63844 * posix/getgroups.c: Likewise.
63845 * posix/getlogin.c: Likewise.
63846 * posix/getlogin_r.c: Likewise.
63847 * posix/getpgid.c: Likewise.
63848 * posix/getpid.c: Likewise.
63849 * posix/getppid.c: Likewise.
63850 * posix/getresgid.c: Likewise.
63851 * posix/getresuid.c: Likewise.
63852 * posix/getsid.c: Likewise.
63853 * posix/getuid.c: Likewise.
63854 * posix/glob64.c: Likewise.
63855 * posix/nanosleep.c: Likewise.
63856 * posix/pathconf.c: Likewise.
63857 * posix/pause.c: Likewise.
63858 * posix/posix_madvise.c: Likewise.
63859 * posix/pread.c: Likewise.
63860 * posix/pread64.c: Likewise.
63861 * posix/pwrite.c: Likewise.
63862 * posix/pwrite64.c: Likewise.
63863 * posix/sched_getaffinity.c: Likewise.
63864 * posix/sched_getp.c: Likewise.
63865 * posix/sched_gets.c: Likewise.
63866 * posix/sched_primax.c: Likewise.
63867 * posix/sched_primin.c: Likewise.
63868 * posix/sched_rr_gi.c: Likewise.
63869 * posix/sched_setaffinity.c: Likewise.
63870 * posix/sched_setp.c: Likewise.
63871 * posix/sched_sets.c: Likewise.
63872 * posix/sched_yield.c: Likewise.
63873 * posix/setgid.c: Likewise.
63874 * posix/setlogin.c: Likewise.
63875 * posix/setpgid.c: Likewise.
63876 * posix/setresgid.c: Likewise.
63877 * posix/setresuid.c: Likewise.
63878 * posix/setsid.c: Likewise.
63879 * posix/setuid.c: Likewise.
63880 * posix/sleep.c: Likewise.
63881 * posix/spawni.c: Likewise.
63882 * posix/sysconf.c: Likewise.
63883 * posix/times.c: Likewise.
63884 * posix/wait.c: Likewise.
63885 * posix/wait3.c: Likewise.
63886 * posix/wait4.c: Likewise.
63887 * posix/waitpid.c: Likewise.
63888 * resolv/gai_sigqueue.c: Likewise.
63889 * resource/getpriority.c: Likewise.
63890 * resource/getrlimit.c: Likewise.
63891 * resource/getrusage.c: Likewise.
63892 * resource/nice.c: Likewise.
63893 * resource/setpriority.c: Likewise.
63894 * resource/setrlimit.c: Likewise.
63895 * resource/ulimit.c: Likewise.
63896 * rt/aio_cancel.c: Likewise.
63897 * rt/aio_fsync.c: Likewise.
63898 * rt/aio_read.c: Likewise.
63899 * rt/aio_sigqueue.c: Likewise.
63900 * rt/aio_suspend.c: Likewise.
63901 * rt/aio_write.c: Likewise.
63902 * rt/clock_getres.c: Likewise.
63903 * rt/clock_gettime.c: Likewise.
63904 * rt/clock_nanosleep.c: Likewise.
63905 * rt/clock_settime.c: Likewise.
63906 * rt/lio_listio.c: Likewise.
63907 * rt/mq_close.c: Likewise.
63908 * rt/mq_getattr.c: Likewise.
63909 * rt/mq_notify.c: Likewise.
63910 * rt/mq_open.c: Likewise.
63911 * rt/mq_receive.c: Likewise.
63912 * rt/mq_send.c: Likewise.
63913 * rt/mq_setattr.c: Likewise.
63914 * rt/mq_timedreceive.c: Likewise.
63915 * rt/mq_timedsend.c: Likewise.
63916 * rt/mq_unlink.c: Likewise.
63917 * rt/shm_open.c: Likewise.
63918 * rt/shm_unlink.c: Likewise.
63919 * rt/timer_create.c: Likewise.
63920 * rt/timer_delete.c: Likewise.
63921 * rt/timer_getoverr.c: Likewise.
63922 * rt/timer_gettime.c: Likewise.
63923 * rt/timer_settime.c: Likewise.
63924 * setjmp/__longjmp.c: Likewise.
63925 * setjmp/setjmp.c: Likewise.
63926 * signal/kill.c: Likewise.
63927 * signal/killpg.c: Likewise.
63928 * signal/raise.c: Likewise.
63929 * signal/sigaction.c: Likewise.
63930 * signal/sigaltstack.c: Likewise.
63931 * signal/sigblock.c: Likewise.
63932 * signal/sigignore.c: Likewise.
63933 * signal/sigintr.c: Likewise.
63934 * signal/signal.c: Likewise.
63935 * signal/sigpause.c: Likewise.
63936 * signal/sigpending.c: Likewise.
63937 * signal/sigqueue.c: Likewise.
63938 * signal/sigreturn.c: Likewise.
63939 * signal/sigset.c: Likewise.
63940 * signal/sigsetmask.c: Likewise.
63941 * signal/sigstack.c: Likewise.
63942 * signal/sigsuspend.c: Likewise.
63943 * signal/sigtimedwait.c: Likewise.
63944 * signal/sigvec.c: Likewise.
63945 * signal/sigwait.c: Likewise.
63946 * signal/sigwaitinfo.c: Likewise.
63947 * signal/sysv_signal.c: Likewise.
63948 * socket/accept.c: Likewise.
63949 * socket/accept4.c: Likewise.
63950 * socket/bind.c: Likewise.
63951 * socket/connect.c: Likewise.
63952 * socket/getpeername.c: Likewise.
63953 * socket/getsockname.c: Likewise.
63954 * socket/getsockopt.c: Likewise.
63955 * socket/isfdtype.c: Likewise.
63956 * socket/listen.c: Likewise.
63957 * socket/recv.c: Likewise.
63958 * socket/recvfrom.c: Likewise.
63959 * socket/recvmsg.c: Likewise.
63960 * socket/send.c: Likewise.
63961 * socket/sendmsg.c: Likewise.
63962 * socket/sendto.c: Likewise.
63963 * socket/setsockopt.c: Likewise.
63964 * socket/shutdown.c: Likewise.
63965 * socket/sockatmark.c: Likewise.
63966 * socket/socket.c: Likewise.
63967 * socket/socketpair.c: Likewise.
63968 * stdio-common/ctermid.c: Likewise.
63969 * stdio-common/cuserid.c: Likewise.
63970 * stdio-common/remove.c: Likewise.
63971 * stdio-common/rename.c: Likewise.
63972 * stdio-common/renameat.c: Likewise.
63973 * stdio-common/tempname.c: Likewise.
63974 * stdlib/getcontext.c: Likewise.
63975 * stdlib/makecontext.c: Likewise.
63976 * stdlib/setcontext.c: Likewise.
63977 * stdlib/swapcontext.c: Likewise.
63978 * stdlib/system.c: Likewise.
63979 * streams/fattach.c: Likewise.
63980 * streams/fdetach.c: Likewise.
63981 * streams/getmsg.c: Likewise.
63982 * streams/getpmsg.c: Likewise.
63983 * streams/putmsg.c: Likewise.
63984 * streams/putpmsg.c: Likewise.
63985 * sysdeps/unix/bsd/getpt.c: Likewise.
63986 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63987 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63988 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63990 Likewise.
63991 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63992 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63993 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63994 * sysvipc/msgctl.c: Likewise.
63995 * sysvipc/msgget.c: Likewise.
63996 * sysvipc/msgrcv.c: Likewise.
63997 * sysvipc/msgsnd.c: Likewise.
63998 * sysvipc/semctl.c: Likewise.
63999 * sysvipc/semget.c: Likewise.
64000 * sysvipc/semop.c: Likewise.
64001 * sysvipc/semtimedop.c: Likewise.
64002 * sysvipc/shmat.c: Likewise.
64003 * sysvipc/shmctl.c: Likewise.
64004 * sysvipc/shmdt.c: Likewise.
64005 * sysvipc/shmget.c: Likewise.
64006 * termios/tcdrain.c: Likewise.
64007 * termios/tcflow.c: Likewise.
64008 * termios/tcflush.c: Likewise.
64009 * termios/tcgetattr.c: Likewise.
64010 * termios/tcgetpgrp.c: Likewise.
64011 * termios/tcsendbrk.c: Likewise.
64012 * termios/tcsetattr.c: Likewise.
64013 * termios/tcsetpgrp.c: Likewise.
64014 * time/adjtime.c: Likewise.
64015 * time/clock.c: Likewise.
64016 * time/getitimer.c: Likewise.
64017 * time/gettimeofday.c: Likewise.
64018 * time/setitimer.c: Likewise.
64019 * time/settimeofday.c: Likewise.
64020 * time/stime.c: Likewise.
64021 * time/time.c: Likewise.
64022
64023 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
64024
64025 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64026 /usr/old/bin.
64027
64028 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64029 instead of spaces.
64030 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64031
64032 2012-11-03 Joseph Myers <joseph@codesourcery.com>
64033
64034 [BZ #14796]
64035 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64036 FE_TONEAREST before applying Dekker multiplication and Knuth
64037 addition. Clear inexact exceptions and check for exact zero
64038 results afterwards.
64039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64040 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64042 * math/libm-test.inc (fma_test): Add more tests.
64043 (fma_test_towardzero): Likewise.
64044 (fma_test_downward): Likewise.
64045 (fma_test_upward): Likewise.
64046 * sysdeps/generic/math_private.h (default_libc_fesetround): New
64047 function.
64048 (libc_fesetround): New macro.
64049 (libc_fesetroundf): Likewise.
64050 (libc_fesetroundl): Likewise.
64051 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64052 function.
64053 (libc_fesetround_387): Likewise.
64054 (libc_fesetroundf): New macro.
64055 (libc_fesetround): Likewise.
64056 (libc_fesetroundl): Likewise.
64057 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64058 function.
64059 (libc_fesetroundf): New macro.
64060 (libc_fesetround): Likewise.
64061 (libc_fesetroundl): Likewise.
64062 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64063 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64064 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64065 libm_hidden_ver.
64066 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64067 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64068 libm_hidden_def.
64069 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64070 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64071 libm_hidden_ver.
64072 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64073 libm_hidden_def.
64074
64075 [BZ #3439]
64076 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64077 integer constant usable in #if and use that to give value to enum
64078 constant.
64079 (FE_DIVBYZERO): Likewise.
64080 (FE_UNDERFLOW): Likewise.
64081 (FE_OVERFLOW): Likewise.
64082 (FE_INVALID): Likewise.
64083 (FE_INVALID_SNAN): Likewise.
64084 (FE_INVALID_ISI): Likewise.
64085 (FE_INVALID_IDI): Likewise.
64086 (FE_INVALID_ZDZ): Likewise.
64087 (FE_INVALID_IMZ): Likewise.
64088 (FE_INVALID_COMPARE): Likewise.
64089 (FE_INVALID_SOFTWARE): Likewise.
64090 (FE_INVALID_SQRT): Likewise.
64091 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64092 (FE_TONEAREST): Likewise.
64093 (FE_TOWARDZERO): Likewise.
64094 (FE_UPWARD): Likewise.
64095 (FE_DOWNWARD): Likewise.
64096 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64097 (FE_DIVBYZERO): Likewise.
64098 (FE_OVERFLOW): Likewise.
64099 (FE_UNDERFLOW): Likewise.
64100 (FE_INEXACT): Likewise.
64101 (FE_TONEAREST): Likewise.
64102 (FE_DOWNWARD): Likewise.
64103 (FE_UPWARD): Likewise.
64104 (FE_TOWARDZERO): Likewise.
64105 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64106 (FE_UNDERFLOW): Likewise.
64107 (FE_OVERFLOW): Likewise.
64108 (FE_DIVBYZERO): Likewise.
64109 (FE_INVALID): Likewise.
64110 (FE_TONEAREST): Likewise.
64111 (FE_TOWARDZERO): Likewise.
64112 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64113 (FE_OVERFLOW): Likewise.
64114 (FE_UNDERFLOW): Likewise.
64115 (FE_DIVBYZERO): Likewise.
64116 (FE_INEXACT): Likewise.
64117 (FE_TONEAREST): Likewise.
64118 (FE_TOWARDZERO): Likewise.
64119 (FE_UPWARD): Likewise.
64120 (FE_DOWNWARD): Likewise.
64121 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64122 (FE_DIVBYZERO): Likewise.
64123 (FE_OVERFLOW): Likewise.
64124 (FE_UNDERFLOW): Likewise.
64125 (FE_INEXACT): Likewise.
64126 (FE_TONEAREST): Likewise.
64127 (FE_DOWNWARD): Likewise.
64128 (FE_UPWARD): Likewise.
64129 (FE_TOWARDZERO): Likewise.
64130
64131 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64132
64133 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64134
64135 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64136
64137 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64138 commands. Quote $PWD.
64139 (blacklist_exports): Don't use remove_newlines. Replace "declare
64140 -x" by "export".
64141 (remove_newlines): Remove.
64142
64143 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64144
64145 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64146 * stdlib/stdlib.h (atof): Moved to ...
64147 * include/bits/stdlib-float.h: Here. New file.
64148 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64149 * stdlib/bits/stdlib-float.h: New file.
64150 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64151 -mno-sse -mno-mmx.
64152 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64153 <xmmintrin.h>.
64154
64155 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64156
64157 * conform/conformtest.pl (@headers): Add fenv.h.
64158 * conform/data/fenv.h-data: New file.
64159 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64160 include of <math/fenv.h>.
64161
64162 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64163 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64164 && !UNIX98]. Enables tests for XOPEN2K8.
64165 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64166 POSIX2008]: Likewise.
64167
64168 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64169 (struct rusage): Do not expect type or its members.
64170
64171 [BZ #3439]
64172 * math/math.h (FP_NAN): Define macro to integer constant usable in
64173 #if and use that to give value to enum constant.
64174 (FP_INFINITE): Likewise.
64175 (FP_ZERO): Likewise.
64176 (FP_SUBNORMAL): Likewise.
64177 (FP_NORMAL): Likewise.
64178
64179 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64180
64181 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64182 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64183 arguments.
64184
64185 2012-11-02 Roland McGrath <roland@hack.frob.com>
64186
64187 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64188 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64189 autoconf-time if not.
64190 * configure.in: Remove AC_PREREQ.
64191
64192 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64193
64194 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64195 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64196 of the internal implementation.
64197
64198 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64199
64200 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64201 except include of <misc/sys/syslog.h>.
64202
64203 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64204
64205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64206 function returns with a NULL context exit with zero.
64207
64208 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64209
64210 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64211
64212 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64213
64214 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64215 (run_program_cmd): This.
64216 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64217 (tst_langinfo): New variable. Use it.
64218
64219 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64220
64221 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64222 floating point opcodes.
64223
64224 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64225
64226 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64227 variable.
64228
64229 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64230
64231 * sysdeps/mach/hurd/powerpc: Remove directory.
64232 * sysdeps/mach/powerpc: Likewise.
64233
64234 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64235
64236 * scripts/check-local-headers.sh: Ignore c++ headers.
64237
64238 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64239
64240 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64241 __libc_cleanup_region_start argument.
64242
64243 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64244
64245 [BZ #14784]
64246 [BZ #14785]
64247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64248 x * y using scaling, not as x * y + z.
64249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64250 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64251 * math/libm-test.inc (fma_test): Add more tests.
64252 (fma_test_towardzero): Likewise.
64253 (fma_test_downward): Likewise.
64254 (fma_test_upward): Likewise.
64255
64256 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64257
64258 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64259
64260 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64261
64262 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64263 New variable.
64264
64265 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64266
64267 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64268
64269 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64270
64271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64272 Fix sort order.
64273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64274 Likewise.
64275
64276 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64277
64278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64279 Fix the order of the list for glibc 2.17.
64280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64281 Likewise.
64282
64283 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64284
64285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64286
64287 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64288
64289 [BZ #14610]
64290 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64291 for low part of x being zero before using __atanl (y).
64292 * math/libm-test.inc (atan2_test): Add another test.
64293
64294 * manual/install.texi (Configuring and compiling): Document
64295 general use of test-wrapper and test-wrapper-env.
64296 * INSTALL: Regenerated.
64297
64298 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64299 (__fma): Do not extract and scale down low bits on after-rounding
64300 systems when result rounded to normal precision would have normal
64301 exponent.
64302 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64303 (__fmal): Do not extract and scale down low bits on after-rounding
64304 systems when result rounded to normal precision would have normal
64305 exponent.
64306 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64307 (__fmal): Do not extract and scale down low bits on after-rounding
64308 systems when result rounded to normal precision would have normal
64309 exponent.
64310 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64311 macro.
64312 (fma_test): Add more tests.
64313 (fma_test_towardzero): Likewise.
64314 (fma_test_downward): Likewise.
64315 (fma_test_upward): Likewise.
64316
64317 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64318
64319 * sysdeps/i386/tininess.h: Renamed to ...
64320 * sysdeps/x86/tininess.h: This.
64321 * sysdeps/x86_64/tininess.h: Removed.
64322
64323 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64324
64325 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64326 input. Use $(build-program-cmd).
64327 ($(objpfx)tst-array1-static.out): Likewise.
64328 ($(objpfx)tst-array2.out): Likewise.
64329 ($(objpfx)tst-array3.out): Likewise.
64330 ($(objpfx)tst-array4.out): Likewise.
64331 ($(objpfx)tst-array5.out): Likewise.
64332 ($(objpfx)tst-array5-static.out): Likewise.
64333
64334 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64335
64336 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64337 if defined.
64338
64339 * nss/nsswitch.h (nss_interface_function): Provide new
64340 macro for use with NSS functions.
64341 * grp/initgroups.c: Use new macro.
64342 * nss/getXXbyYY.c: Likewise.
64343 * nss/getXXbyYY_r.c: Likewise.
64344 * nss/getXXent.c: Likewise.
64345 * nss/getXXent_r.c: Likewise.
64346 * sysdeps/posix/getaddrinfo.c: Likewise.
64347
64348 2012-10-30 Andreas Jaeger <aj@suse.de>
64349
64350 * po/ru.po: Update Russion translation from translation project.
64351
64352 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64353
64354 [BZ #14152]
64355 [BZ #14783]
64356 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64357 result and shift together with sticky bit instead of replicating
64358 round-to-nearest rounding.
64359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64361 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64362 missing underflow exceptions.
64363 (fma_test_towardzero): Add more tests.
64364 (fma_test_downward): Likewise.
64365 (fma_test_upward): Likewise.
64366
64367 [BZ #14047]
64368 * sysdeps/generic/tininess.h: New file.
64369 * sysdeps/i386/tininess.h: Likewise.
64370 * sysdeps/sh/tininess.h: Likewise.
64371 * sysdeps/x86_64/tininess.h: Likewise.
64372 * stdlib/tst-strtod-underflow.c: Likewise.
64373 * stdlib/tst-tininess.c: Likewise.
64374 * stdlib/strtod_l.c: Include <tininess.h>.
64375 (round_and_return): Do not set errno for exact underflow cases.
64376 Force an underflow exception when setting errno for underflow.
64377 Determine underflow based on rounding to normal precision if
64378 TININESS_AFTER_ROUNDING.
64379 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64380 ERANGE for exact underflow cases.
64381 * stdlib/Makefile (tests): Add tst-tininess and
64382 tst-strtod-underflow.
64383 ($(objpfx)tst-tininess): Use $(link-libm).
64384 ($(objpfx)tst-strtod-underflow): Likewise.
64385
64386 2012-10-30 Andreas Jaeger <aj@suse.de>
64387
64388 [BZ#14767]
64389 * elf/Makefile (tests): Remove conditional for have-initfini-array
64390 since this is now always required and the variable does not exist
64391 anymore.
64392 (tests-static): Likewise.
64393 (modules-names): Likewise.
64394
64395 * po/eo.po: Add Esperanto translation from translation project.
64396
64397 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64398 merged with constructor/destructor.
64399 (init_array): Likewise.
64400 * elf/tst-array2dep.c (fini_array): Likewise.
64401 (init_array): Likewise.
64402
64403 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64404
64405 * manual/message.texi: Delete @cartouche tags.
64406
64407 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64408
64409 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64410 EOPNOTSUPP.
64411 * sysdeps/mach/hurd/fsync.c: Likewise.
64412
64413 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64414 [_POSIX_REALTIME_SIGNALS]: Change condition to
64415 [_POSIX_REALTIME_SIGNALS > 0].
64416
64417 2012-10-27 Andreas Jaeger <aj@suse.de>
64418
64419 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64420 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64422 [__WORDSIZE != 64]: Likewise.
64423
64424 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64425
64426 * iconvdata/tst-table.sh: Remove ${SHELL}.
64427 * iconvdata/tst-tables.sh: Likewise.
64428
64429 2012-10-25 David S. Miller <davem@davemloft.net>
64430
64431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64432 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64433 of strtoull.
64434
64435 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64436 ifunc-impl-list.c
64437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64438 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64439 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64440 file.
64441
64442 2012-10-25 Roland McGrath <roland@hack.frob.com>
64443
64444 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64445 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64446 __getdirentries.
64447
64448 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64449 Jim Blandy <jimb@codesourcery.com>
64450
64451 * scripts/cross-test-ssh.sh: New file.
64452 * manual/install.texi (Configuring and compiling): Document use of
64453 cross-test-ssh.sh.
64454 * INSTALL: Regenerated.
64455
64456 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64457
64458 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64459 EOPNOTSUPP.
64460
64461 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64462
64463 * Makeconfig (run-program-prefix): Fix comment.
64464
64465 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64466 Jim Blandy <jimb@codesourcery.com>
64467
64468 * Makeconfig (test-wrapper): New variable,
64469 (test-wrapper-env): Likewise.
64470 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64471 (run-built-tests): Define to yes.
64472 (run-program-prefix): Use $(test-wrapper).
64473 (built-program-cmd): Likewise.
64474 * Rules (make-test-out): Use $(test-wrapper-env) and
64475 $(host-built-program-cmd).
64476 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64477 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64478 tst-pathopt.sh.
64479 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64480 $(test-wrapper-env) to tst-rtld-load-self.sh.
64481 ($(objpfx)order2.out): Use $(test-wrapper).
64482 ($(objpfx)tst-initorder.out): Likewise.
64483 ($(objpfx)tst-initorder2.out): Likewise.
64484 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64485 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64486 (test_wrapper_env): New variable. Use it to run ld.so.
64487 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64488 Use it to run ld.so.
64489 (test_wrapper_env): Likewise.
64490 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64491 $(test-wrapper) to run-iconv-test.sh.
64492 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64493 (ICONV): Use $test_wrapper.
64494 * posix/Makefile ($(objpfx)globtest.out): Pass
64495 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64496 globtest.sh, not $(run-program-prefix).
64497 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64498 (test_wrapper): Likewise.
64499 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64500 set together with run_via_rtld_prefix.
64501 (run_program_prefix): Define in terms of test_wrapper and
64502 run_via_rtld_prefix.
64503
64504 2012-10-24 Roland McGrath <roland@hack.frob.com>
64505
64506 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64507 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64508 Targets removed.
64509
64510 [BZ #14743]
64511 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64512 Declare __clock_getres, __clock_gettime, __clock_settime,
64513 __clock_nanosleep, and __clock_getcpuclockid.
64514 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64515 Remove librt_hidden_def (clock_gettime).
64516 * sysdeps/unix/clock_gettime.c: Likewise.
64517 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64518 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64519 * rt/clock_getres.c: Define __clock_getres as an alias.
64520 * sysdeps/posix/clock_getres.c: Likewise.
64521 * rt/clock_settime.c: Define __clock_settime as an alias.
64522 * sysdeps/unix/clock_settime.c: Likewise.
64523 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64524 * sysdeps/unix/clock_nanosleep.c: Likewise.
64525 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64526 * rt/clock-compat.c: New file.
64527 * rt/Makefile (librt-routines): Add clock-compat and move
64528 $(clock-routines) to ...
64529 (routines): ... here, new variable.
64530 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64531 Don't add get_clockfreq here.
64532 * rt/Versions (libc: GLIBC_2.17): New version set.
64533 Add clock_* symbols here.
64534 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64535 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64536 (GLIBC_2.17): Add clock_* symbols.
64537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64539 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64541 Likewise.
64542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64543 Likewise.
64544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64548 * NEWS: Mention the move.
64549
64550 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64551 Use __open, __read, __close rather than their public counterparts.
64552 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64553 (__get_clockfreq_via_cpuinfo): Likewise.
64554 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64555 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64556
64557 * config.h.in (HAVE_IFUNC): New #undef.
64558 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64559 was successful.
64560 * configure: Regenerated.
64561
64562 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64563
64564 * configure.in: Move READELF check to start of file.
64565 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64566 libc_cv_asm_gnu_indirect_function in the process.
64567 * configure: Regenerated.
64568
64569 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64570
64571 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64572 send the output to /dev/null.
64573 (libc_cv_cc_with_libunwind): Likewise.
64574 (libc_cv_as_noexecstack): Likewise.
64575 * configure: Regenerate.
64576
64577 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64578
64579 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64580
64581 * posix/globtest.sh (TMPDIR): Do not set.
64582 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64583 (testout): Likewise.
64584
64585 2012-10-24 Andreas Jaeger <aj@suse.de>
64586
64587 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64588 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64589 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64590 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64591 posix_fadvise64, posix_fallocate64.
64592
64593 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64594 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64595 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64596 Likewise.
64597 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64598 Likewise.
64599 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64600
64601 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64602 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64603 <bits/fcntl-linux.h>.
64604 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64605
64606 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64607 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64608 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64609 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64610 [__WORDSIZE != 64]: Likewise.
64611
64612 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64613
64614 * Makeconfig (run-built-tests): New variable.
64615 * Rules [$(cross-compiling) = yes]: Change condition to
64616 [$(run-built-tests) = no].
64617 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64618 to [$(run-built-tests) = yes].
64619 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64620 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64621 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64622 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64623 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64624 * io/Makefile [$(cross-compiling) = no]: Likewise.
64625 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64626 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64627 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64628 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64629 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64630 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64631 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64632 * string/Makefile [$(cross-compiling) = no]: Likewise.
64633
64634 * posix/Makefile ($(objpfx)globtest.out): Pass
64635 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64636 $(rtld-installed-name).
64637 * posix/globtest.sh (elf_objpfx): Remove variable.
64638 (rtld_installed_name): Likewise.
64639 (library_path): Likewise.
64640 (run_program_prefix): New variable. Use for running globtest
64641 binary.
64642
64643 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64644 Joseph Myers <joseph@codesourcery.com>
64645
64646 * Makeconfig (host-built-program-cmd): New variable.
64647 * elf/Makefile (tst-stackguard1-ARGS): Use
64648 $(host-built-program-cmd).
64649 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64650 (tst-spawn-ARGS): Likewise.
64651 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64652
64653 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64654 Jim Blandy <jimb@codesourcery.com>
64655
64656 * Makeconfig (run-via-rtld-prefix): New variable.
64657 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64658 (built-program-cmd): Likewise.
64659
64660 2012-10-22 Andreas Jaeger <aj@suse.de>
64661
64662 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64663 __O_RSYNC if it exists, otherwise to O_SYNC.
64664
64665 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64666 Joseph Myers <joseph@codesourcery.com>
64667
64668 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64669 /dev/null.
64670 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64671 from /dev/null
64672 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64673 /dev/null.
64674
64675 2012-10-22 Andreas Jaeger <aj@suse.de>
64676
64677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64678 Define always.
64679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64680
64681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64682 bits/fcntl-linux.h.
64683
64684 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64685 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64686
64687 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64688 to __O_LARGEFILE.
64689 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64690 to __O_LARGEFILE.
64691
64692 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64693 Joseph Myers <joseph@codesourcery.com>
64694
64695 * config.make.in (NM): New variable.
64696
64697 2012-10-21 Andreas Jaeger <aj@suse.de>
64698
64699 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64700 definitions and declarations that are provided by
64701 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64702
64703 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64704
64705 [BZ #14683]
64706 * elf/Makefile (tests-static): Add tst-leaks1-static.
64707 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64708 ($(objpfx)tst-leaks1-static): New rule.
64709 ($(objpfx)tst-leaks1-static-mem): Likewise.
64710 (tst-leaks1-static-ENV): New macro.
64711 * elf/dl-open.c (dl_open_worker): Check the main application
64712 only if SHARED is defined.
64713 * elf/tst-leaks1-static.c: New file.
64714
64715 2012-10-20 Andreas Jaeger <aj@suse.de>
64716
64717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64718 generic values for Linux.
64719 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64720 and declarations that are provided by <bits/fcntl-linux.h> and
64721 include <bits/fcntl-linux.h>.
64722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64724
64725 2012-10-20 Roland McGrath <roland@hack.frob.com>
64726
64727 * io/fcntl.h: Move include of <bits/types.h> to the top and
64728 include it unconditionally.
64729
64730 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64731
64732 * wcsmbs/Makefile (tests-ifunc): New variable.
64733 (tests): Add $(tests-ifunc).
64734 * wcsmbs/test-wcschr-ifunc.c: New file.
64735 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64736 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64737 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64738 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64739 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64740
64741 * string/Makefile (tests-ifunc): New variable.
64742 (tests): Add $(tests-ifunc).
64743 * string/test-memccpy.c (TEST_NAME): New macro.
64744 * string/test-memchr.c (TEST_NAME): Likewise.
64745 * string/test-memcmp.c (TEST_NAME): Likewise.
64746 * string/test-memcpy.c (TEST_NAME): Likewise.
64747 * string/test-memmem.c (TEST_NAME): Likewise.
64748 * string/test-memmove.c (TEST_NAME): Likewise.
64749 * string/test-memset.c (TEST_NAME): Likewise.
64750 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64751 * string/test-stpcpy.c (TEST_NAME): Likewise.
64752 * string/test-stpncpy.c (TEST_NAME): Likewise.
64753 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64754 * string/test-strcasestr.c (TEST_NAME): Likewise.
64755 * string/test-strcat.c (TEST_NAME): Likewise.
64756 * string/test-strchr.c (TEST_NAME): Likewise.
64757 * string/test-strcmp.c(TEST_NAME): Likewise.
64758 * string/test-strcpy.c (TEST_NAME): Likewise.
64759 * string/test-strcspn.c (TEST_NAME): Likewise.
64760 * string/test-strlen.c (TEST_NAME): Likewise.
64761 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64762 * string/test-strncmp.c (TEST_NAME): Likewise.
64763 * string/test-strncpy.c (TEST_NAME): Likewise.
64764 * string/test-strnlen.c (TEST_NAME): Likewise.
64765 * string/test-strpbrk.c (TEST_NAME): Likewise.
64766 * string/test-strrchr.c (TEST_NAME): Likewise.
64767 * string/test-strspn.c (TEST_NAME): Likewise.
64768 * string/test-strstr.c (TEST_NAME): Likewise.
64769 * string/test-bcopy-ifunc.c: New file.
64770 * string/test-bzero-ifunc.c: Likewise.
64771 * string/test-memccpy-ifunc.c: Likewise.
64772 * string/test-memchr-ifunc.c: Likewise.
64773 * string/test-memcmp-ifunc.c: Likewise.
64774 * string/test-memcpy-ifunc.c: Likewise.
64775 * string/test-memmem-ifunc.c: Likewise.
64776 * string/test-memmove-ifunc.c: Likewise.
64777 * string/test-mempcpy-ifunc.c: Likewise.
64778 * string/test-memset-ifunc.c: Likewise.
64779 * string/test-rawmemchr-ifunc.c: Likewise.
64780 * string/test-stpcpy-ifunc.c: Likewise.
64781 * string/test-stpncpy-ifunc.c: Likewise.
64782 * string/test-strcasecmp-ifunc.c: Likewise.
64783 * string/test-strcasestr-ifunc.c: Likewise.
64784 * string/test-strcat-ifunc.c: Likewise.
64785 * string/test-strchr-ifunc.c: Likewise.
64786 * string/test-strchrnul-ifunc.c: Likewise.
64787 * string/test-strcmp-ifunc.c: Likewise.
64788 * string/test-strcpy-ifunc.c: Likewise.
64789 * string/test-strcspn-ifunc.c: Likewise.
64790 * string/test-strlen-ifunc.c: Likewise.
64791 * string/test-strncasecmp-ifunc.c: Likewise.
64792 * string/test-strncat-ifunc.c: Likewise.
64793 * string/test-strncmp-ifunc.c: Likewise.
64794 * string/test-strncpy-ifunc.c: Likewise.
64795 * string/test-strnlen-ifunc.c: Likewise.
64796 * string/test-strpbrk-ifunc.c: Likewise.
64797 * string/test-strrchr-ifunc.c: Likewise.
64798 * string/test-strspn-ifunc.c: Likewise.
64799 * string/test-strstr-ifunc.c: Likewise.
64800
64801 * debug/Makefile (tests-ifunc): New variable.
64802 (tests): Add $(tests-ifunc).
64803 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64804 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64805 * debug/test-stpcpy_chk-ifunc.c: New file.
64806 * debug/test-strcpy_chk-ifunc.c: Likewise.
64807
64808 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64809
64810 [BZ #13601]
64811 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64812 header is not read in.
64813
64814 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64815
64816 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64817 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64818 directly. Pass built executable to script as
64819 $(built-program-cmd).
64820 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64821 $testprogram without using LD_LIBRARY_PATH and $ldso.
64822
64823 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64824 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64825 $(rtld-installed-name).
64826 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64827 (rtld_installed_name): Likewise.
64828 (library_path): Likewise.
64829 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64830 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64831 $(run-program-prefix) to tst-tables.sh.
64832 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64833 it to run tst-table-from and tst-table-to.
64834 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64835 Pass it to tst-table.sh.
64836 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64837 $(run-program-prefix) to tst-gettext.sh.
64838 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64839 tst-translit.sh.
64840 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64841 tst-gettext2.sh.
64842 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64843 to run tst-gettext.
64844 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64845 to run tst-gettext2.
64846 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64847 to run tst-translit.
64848 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64849 $(run-program-prefix) to tst-mtrace.sh.
64850 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64851 to run tst-mtrace.
64852 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64853 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64854 $(rtld-installed-name).
64855 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64856 (rtld_installed_name): Likewise.
64857 (run_program_prefix): New variable. Use it to run wordexp-test.
64858
64859 * Makeconfig (ARCH): Remove all definitions.
64860 (machine): Likewise.
64861 [ARCH]: Remove conditional code.
64862 [!objdir]: Give error.
64863 [!objdir] (objpfx): Remove.
64864 [!objdir] (common-objpfx): Likewise.
64865 [!objdir] (common-objdir): Likewise.
64866 * configure.in (config_makefile): Remove. Hardcode Makefile in
64867 AC_CONFIG_FILES call.
64868 * configure: Regenerated.
64869
64870 [BZ #13888]
64871 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64872 or TMPDIR.
64873 (testout): Likewise.
64874
64875 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64876 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64877 $(rtld-installed-name).
64878 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64879 (rtld_installed_name): Likewise.
64880 (runit): Remove function.
64881 (run_getconf): New variable, Use it for running getconf binary.
64882
64883 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64884
64885 [BZ #14716]
64886 * string/test-memmem.c (check_result): New function.
64887 (do_one_test): Use it.
64888 (check1): New function.
64889 (test_main): Use it.
64890
64891 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64892
64893 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64894
64895 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64896
64897 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64898 (_G_LSEEK64): Likewise.
64899 (_G_MMAP64): Likewise.
64900 (_G_FSTAT64): Likewise.
64901 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64902 (_G_LSEEK64): Likewise.
64903 (_G_MMAP64): Likewise.
64904 (_G_FSTAT64): Likewise.
64905 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64906 unconditional. Call __mmap64 directly.
64907 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64908 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64909 __lseek64 directly.
64910 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64911 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64912 __mmap64 directly.
64913 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64914 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64915 __lseek64 directly.
64916 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64917 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64918 __lseek64 directly.
64919 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64920 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64921 __lseek64 directly.
64922 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64923 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64924 __fxstat64 directly.
64925 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64926 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64927 unconditional.
64928 (freopen64) [!_G_OPEN64]: Remove conditional code.
64929 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64930 unconditional.
64931 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64932 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64933 unconditional.
64934 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64935 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64936 unconditional.
64937 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64938 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64939 unconditional.
64940 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64941 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64942 unconditional.
64943 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64944 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64945 unconditional.
64946 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64947 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64948 unconditional.
64949 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64950
64951 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64952
64953 [BZ #12140]
64954 * manual/memory.texi (Malloc Tunable Parameters): Add note
64955 about free list pointers overwriting some perturb bytes.
64956 Wording suggested by Roland McGrath.
64957
64958 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64959
64960 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64961 (lgamma_test): Likewise.
64962 (tgamma_test): Likewise.
64963
64964 2012-10-16 Florian Weimer <fweimer@redhat.com>
64965
64966 [BZ #14700]
64967 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64968 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64969
64970 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64971
64972 * NEWS: Mention BZ #14716.
64973 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64974 when removing AVAILABLE1_USES_J macro.
64975
64976 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64977
64978 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64979 (__bswap_64): __uint64_t for unsigned 64-bit int.
64980
64981 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64982
64983 * include/string.h (memmem): Declare libc hidden alias.
64984 * string/memmem.c (memmem): Define libc hidden alias.
64985 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64986 __read, __close instead of open, read, close.
64987
64988 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
64989
64990 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64991 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64992 global and hidden.
64993 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64994 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64995 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64996 Likewise.
64997 (__rawmemchr_sse2): Likewise.
64998 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64999 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65000 (__strchr_sse2): Likewise.
65001 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65002 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65003 (__strcasecmp_sse2): Likewise.
65004 (__strncasecmp_sse2): Likewise.
65005 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65006 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65007 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65008 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65009 (__strrchr_sse2): Likewise.
65010 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65011 ifunc-impl-list.c.
65012 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65013 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65014 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65015 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65016 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65017 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65018 * sysdeps/x86_64/multiarch/memset.S: Likewise.
65019 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65020 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65021 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65022 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65023 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65024 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65025 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65026 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65027 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65028 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65029 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65030 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65031 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65032 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65033 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65034 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65035 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65036 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65037 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65038 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65039 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65040 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65041 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65042
65043 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65044 global and hidden.
65045 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65046 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65047 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65048 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65049 Likewise.
65050 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65051 Likewise.
65052 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65053 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65054 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65055 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65056 ifunc-impl-list.c.
65057 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65058 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65059 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65067 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65068 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65069 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65070 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65071 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65073 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65074 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65075 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65076 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65077 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65078 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65079 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65080 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65081 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65082 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65083 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65084 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65085 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65086 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65087 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65088 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65089 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65090 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65091 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65092 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65093 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65094 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65095 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65096 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65097 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65098
65099 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65100 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65101 * include/ifunc-impl-list.h: New file.
65102 * misc/ifunc-impl-list.c: Likewise.
65103 * misc/Makefile (routines): Add ifunc-impl-list.
65104 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65105 * string/test-string.h: Include <ifunc-impl-list.h>.
65106 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65107 TEST_NAME]: New variables.
65108 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65109 are defined.
65110 (test_init): Call __libc_ifunc_impl_list to initialize
65111 func_list if TEST_IFUNC and TEST_NAME are defined.
65112
65113 * string/Makefile (strop-tests): Add bcopy and bzero.
65114 * string/test-bcopy.c: New file.
65115 * string/test-bzero.c: Likewise.
65116 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65117 defined.
65118 * string/test-memset.c: Support bzero test if TEST_BZERO is
65119 defined.
65120 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65121 __libc_memmove.
65122 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65123 __libc_memset.
65124 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65125 of memset.
65126
65127 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65128
65129 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65130 * configure: Regenerated.
65131
65132 * Makeconfig (+link-static-before-libc): Don't include
65133 $(link-static-libc).
65134
65135 * libio/libio.h (_IO_pos_t): Remove.
65136
65137 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65138
65139 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65140 McGrath.
65141
65142 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65143
65144 * crypt/crypt-entry.c: Include fips-private.h.
65145 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65146 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65147 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65148 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65149
65150 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65151
65152 * crypt/crypt-private.h: Include stdbool.h.
65153 (_ufc_setup_salt_r): Return bool.
65154 * crypt/crypt-entry.c: Include errno.h.
65155 (__crypt_r): Return NULL with EINVAL for bad salt.
65156 * crypt/crypt_util.c (bad_for_salt): New.
65157 (_ufc_setup_salt_r): Check that salt is long enough and within
65158 the specified alphabet.
65159 * crypt/badsalttest.c: New file.
65160 * crypt/Makefile (tests): Add it.
65161 ($(objpfx)badsalttest): New.
65162
65163 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65164
65165 * NEWS: Add entry for BZ #14602.
65166
65167 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65168
65169 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65170 type-generic.
65171 * math/libm-test.inc: Update comment listing what functions and
65172 macros are tested.
65173 (isgreater_test): New function.
65174 (isgreaterequal_test): Likewise.
65175 (isless_test): Likewise.
65176 (islessequal_test): Likewise.
65177 (islessgreater_test): Likewise.
65178 (isunordered_test): Likewise.
65179 (main): Call the new functions.
65180
65181 2012-10-09 Roland McGrath <roland@hack.frob.com>
65182
65183 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65184 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65185 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65186 * sysdeps/i386/configure: Regenerated.
65187 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65188 * sysdeps/mach/configure: Regenerated.
65189 * sysdeps/mach/hurd/configure: Regenerated.
65190 * sysdeps/powerpc/configure: Regenerated.
65191 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65192 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65193 * sysdeps/s390/s390-32/configure: Regenerated.
65194 * sysdeps/s390/s390-64/configure: Regenerated.
65195 * sysdeps/sh/configure: Regenerated.
65196 * sysdeps/sparc/configure: Regenerated.
65197 * sysdeps/unix/sysv/linux/configure: Regenerated.
65198 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65199 * sysdeps/x86_64/configure: Regenerated.
65200
65201 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65202 defined. Don't check if MAP is NULL.
65203
65204 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65205
65206 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65207 (_G_stat64): Likewise.
65208 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65209 (_G_stat64): Likewise.
65210 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65211 instead of struct _G_stat64.
65212 * libio/fileops.c (mmap_remap_check): Likewise.
65213 (decide_maybe_mmap): Likewise.
65214 (_IO_new_file_seekoff): Likewise.
65215 (_IO_file_stat): Likewise.
65216 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65217 _G_off64_t.
65218 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65219 instead of struct _G_stat64.
65220 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65221
65222 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65223
65224 [BZ #14602]
65225 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65226 Replace with ...
65227 (CHECK_EOL): New macro.
65228 (two_way_short_needle): Check beginning of haystack for EOL. Use
65229 CHECK_EOL.
65230 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65231 Replace with CHECK_EOL.
65232 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65233 Replace with CHECK_EOL.
65234
65235 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65236
65237 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65238 type-generic.
65239 * math/libm-test.inc: Update comment listing what functions and
65240 macros are tested.
65241 (finite_test): New function.
65242 (isinf_test): Likewise.
65243 (isnan_test): Likewise.
65244 (fpclassify_test): Test subnormal input.
65245 (isfinite_test): Likewise.
65246 (isnormal_test): Likewise.
65247 (main): Call the new functions.
65248
65249 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65250
65251 [BZ #14660]
65252 * Makerules (%.dynsym): Force C locale when running
65253 $(OBJDUMP) --dynamic-syms.
65254
65255 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65256
65257 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65258 <stdint.h>.
65259
65260 2012-10-06 David S. Miller <davem@davemloft.net>
65261
65262 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65263 upper 32-bits of the length value in %o2 since we use branch-on-register
65264 tests which consider the entire 64-bit register.
65265
65266 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65267
65268 * string/test-strstr.c (check2): Add a test for page boundary.
65269
65270 2012-10-05 David S. Miller <davem@davemloft.net>
65271
65272 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65273 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65274 file.
65275 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65276 sysdep_routines.
65277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65278 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65279 and bzero when HWCAP_SPARC_CRYPTO is present.
65280
65281 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65282
65283 [BZ #14602]
65284 * string/test-strstr.c (check2): New function.
65285 (test_main): Call check2.
65286
65287 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65288 and bug-strchr1.
65289 * string/bug-strcasestr1.c (do_test): Moved to ...
65290 * string/test-strcasestr.c (check1): Here. New function.
65291 (do_one_test): Break out result checking code into ...
65292 (check_result): This. New function.
65293 (do_one_test): Call check_result.
65294 (test_main): Call check1.
65295 * string/bug-strchr1.c (do_test): Moved to ...
65296 * string/test-strchr.c (check1): Here. New function.
65297 (do_one_test): Break out result checking code into ...
65298 (check_result): This. New function.
65299 (do_one_test): Call check_result.
65300 (test_main): Call check1.
65301 * string/bug-strstr1.c (main): Moved to ...
65302 * string/test-strstr.c (check1): Here. New function.
65303 (do_one_test): Break out result checking code into ...
65304 (check_result): This. New function.
65305 (do_one_test): Call check_result.
65306 (test_main): Call check1.
65307 * string/bug-strcasestr1.c: Removed.
65308 * string/bug-strchr1.c: Likewise.
65309 * string/bug-strstr1.c: Likewise.
65310
65311 * elf/Makefile (dl-routines): Add hwcaps.
65312 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65313 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65314 (_dl_important_hwcaps): Moved to ...
65315 * elf/dl-hwcaps.c: Here. New file.
65316 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65317
65318 [BZ #14557]
65319 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65320 if IS_IN_rtld isn't defined.
65321
65322 * elf/dl-support.c (_dl_sysinfo_map): New.
65323 Include "get-dynamic-info.h" and "setup-vdso.h".
65324 (_dl_non_dynamic_init): Call setup_vdso.
65325 * elf/dynamic-link.h: Don't include <assert.h>.
65326 (elf_get_dynamic_info): Moved to ...
65327 * elf/get-dynamic-info.h: Here. New file.
65328 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65329 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65330 * elf/setup-vdso.h: Here. New file.
65331 * elf/rtld.c: Include "setup-vdso.h".
65332 (dl_main): Call setup_vdso.
65333
65334 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65335
65336 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65337 creal in comment listing functions tested. List finite, isinf,
65338 isnan, isless, islessequal, isgreater, isgreaterequal,
65339 islessgreater, isunordered, lgamma_r and pow10 as functions and
65340 macros not tested. Mention which functions not tested are aliases
65341 for other functions. Fix typo. Note that signs of NaNs are not
65342 tested.
65343
65344 * scripts/config.guess: Update from config.git.
65345 * scripts/config.sub: Likewise.
65346
65347 2012-10-04 Roland McGrath <roland@hack.frob.com>
65348
65349 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65350 * misc/madvise.c (madvise): Renamed to __madvise.
65351 Make madvise a weak alias.
65352 * include/sys/mman.h: Declare __madvise.
65353 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65354 * sysdeps/unix/syscalls.list
65355 (madvise): Make __madvise the strong name, and madvise a weak alias.
65356 * sysdeps/unix/sysv/linux/syscalls.list
65357 (madvise, mmap): Remove redundant entries.
65358 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65359 * malloc/malloc.c (mtrim): Likewise.
65360 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65361
65362 2012-10-03 Roland McGrath <roland@hack.frob.com>
65363
65364 * sysdeps/mach/hurd/dl-cache.c: File removed.
65365 * config.h.in (USE_LDCONFIG): New #undef.
65366 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65367 * configure: Regenerated.
65368 * elf/Makefile (dl-routines): Add dl-cache only under
65369 [$(use-ldconfig) = yes].
65370 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65371 cache on [USE_LDCONFIG].
65372 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65373 [USE_LDCONFIG].
65374 * elf/rtld.c (dl_main): Likewise.
65375
65376 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65377
65378 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65379 _SC_LEVEL4_CACHE_LINESIZE.
65380
65381 2012-10-03 Roland McGrath <roland@hack.frob.com>
65382
65383 * sysdeps/unix/bsd/confstr.h: File removed.
65384
65385 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65386
65387 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65388 sys/sdt-config.h.
65389
65390 2012-10-02 Roland McGrath <roland@hack.frob.com>
65391
65392 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65393 Make 'mapoff' field ElfW(Off) rather than off_t.
65394
65395 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65396
65397 * nscd/Makefile: Remove nscd-cflags and all its users.
65398 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65399 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65400
65401 [BZ #10631]
65402 * malloc.c (malloc_printerr): Clarify error message.
65403
65404 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65405
65406 [BZ #14648]
65407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65408 Set bit_FMA_Usable if FMA is supported.
65409 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65410 macro.
65411 (bit_FMA4_Usable): Updated.
65412 (index_FMA_Usable): New macro.
65413 (CPUID_FMA): Likewise.
65414 (HAS_FMA): Defined with bit_FMA_Usable.
65415
65416 2012-10-01 Roland McGrath <roland@hack.frob.com>
65417
65418 * bits/types.h (__swblk_t): Type removed.
65419 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65420 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65422 (__SWBLK_T_TYPE): Likewise.
65423 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65424 (__SWBLK_T_TYPE): Likewise.
65425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65426 (__SWBLK_T_TYPE): Likewise.
65427 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65428 (__SWBLK_T_TYPE): Likewise.
65429
65430 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65431 Honza Horak <hhorak@redhat.com>
65432
65433 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65434 (xdr_mapname): Use YPMAXMAP as maxsize.
65435 (xdr_peername): Use YPMAXPEER as maxsize.
65436 (xdr_keydat): Use YPAXRECORD as maxsize.
65437 (xdr_valdat): Use YPMAXRECORD as maxsize.
65438
65439 2012-10-01 Roland McGrath <roland@hack.frob.com>
65440
65441 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65442
65443 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65444 * csu/init-first.c: ... here.
65445 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65446 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65447 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65448 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65449 * sysdeps/i386/init-first.c: File removed.
65450 * sysdeps/sh/init-first.c: File removed.
65451
65452 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65453
65454 [BZ #14645]
65455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65456 if x * y might underflow to zero and z is zero.
65457 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65458 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65459 * math/libm-test.inc (min_subnorm_value): New variable.
65460 (fma_test): Add more tests.
65461 (fma_test_towardzero): Likewise.
65462 (fma_test_downward): Likewise.
65463 (fma_test_upward): Likewise.
65464 (initialize): Set min_subnorm_value.
65465
65466 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65467
65468 [BZ #14638]
65469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65470 0 + 0.
65471 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65472 mode for addition resulting in exact zero.
65473 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65475 exact 0 + 0.
65476 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65477 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65478 * math/libm-test.inc (fma_test): Add more tests.
65479 (fma_test_towardzero): New function.
65480 (fma_test_downward): Likewise.
65481 (fma_test_upward): Likewise.
65482 (main): Call the new functions.
65483
65484 2012-09-28 David S. Miller <davem@davemloft.net>
65485
65486 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65487
65488 2012-09-28 Roland McGrath <roland@hack.frob.com>
65489
65490 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65491 instead of SIGALRM.
65492
65493 * sysdeps/gnu/_G_config.h: Moved to ...
65494 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65495 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65496 * sysdeps/generic/_G_config.h: ... here.
65497
65498 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65499
65500 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65501
65502 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65503 Conditionalize target on [libnss_test1.so-version].
65504
65505 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65506
65507 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65508 (elfobjdir): Move out of conditionals.
65509
65510 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65511 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65512 (__nss_lookup_function): Conditionalize label remove_from_tree on
65513 [!DO_STATIC_NSS || SHARED], matching its only use.
65514
65515 2012-09-28 David S. Miller <davem@davemloft.net>
65516
65517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65518 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65519 file.
65520 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65521 sysdep_routines.
65522 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65523 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65524 when HWCAP_SPARC_CRYPTO is present.
65525
65526 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65527
65528 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65529
65530 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65531
65532 [BZ #6530]
65533 * stdio-common/vfprintf.c (process_string_arg): Revert
65534 2000-07-22 change.
65535
65536 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65537
65538 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65539 for testcase.
65540 * stdio-common/tst-sprintf.c: Include <locale.h>
65541 (main): Test sprintf's handling of incomplete multibyte
65542 characters.
65543
65544 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65545
65546 * elf/dl-runtime.c (VERSYMIDX): Removed.
65547 * elf/dl-version.c (VERSYMIDX): Likewise.
65548 * elf/do-rel.h (VERSYMIDX): Likewise.
65549 (VALIDX): Likewise.
65550 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65551 * elf/rtld.c (VALIDX): Likewise.
65552 (ADDRIDX): Likewise.
65553 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65554 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65555 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65556 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65557 (VALIDX): Likewise.
65558 (ADDRIDX): Likewise.
65559
65560 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65561
65562 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65563
65564 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65565
65566 [BZ #11438]
65567 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65568 to global scope.
65569 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65570 addresses are in the same scope as 192.0.2/24.
65571 * posix/gai.conf: Document new scope table defaults.
65572
65573 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65574
65575 [BZ #5298]
65576 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65577 for ftell. Compute offsets from write pointers instead.
65578 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65579
65580 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65581
65582 [BZ #14543]
65583 * libio/Makefile (tests): New test case tst-fseek.
65584 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65585 combination works in wide mode.
65586 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65587 state when the external buffer state changes.
65588
65589 2012-09-27 David S. Miller <davem@davemloft.net>
65590
65591 [BZ #14376]
65592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65593 pass reloc->r_addend in as the 'high' argument to
65594 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65595
65596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65597
65598 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65599
65600 * rt/tst-aio2.c: Include <pthread.h>.
65601 * rt/tst-aio3.c: Likewise.
65602
65603 2012-09-27 Steve Ellcey <sellcey@mips.com>
65604
65605 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65606
65607 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65608
65609 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65610 contents on [SHARED].
65611
65612 2012-09-26 Marek Polacek <polacek@redhat.com>
65613
65614 [BZ #14530]
65615 [BZ #13741]
65616 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65617 for C++ and GCC <4.3 as well as for non GCC compilers.
65618
65619 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65620
65621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65622
65623 2012-09-25 Roland McGrath <roland@hack.frob.com>
65624
65625 * Makefile.in (all, install): Declare with .PHONY.
65626 Reported by Michael Hope <michael.hope@linaro.org>.
65627
65628 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65629
65630 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65631 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65632 system header.
65633 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65634 Likewise.
65635 (sydep_routines): Add the new and the internal functions.
65636 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65637 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65639 (GLIBC_2.17): Add the new function.
65640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65641 (GLIBC_2.17): Likewise.
65642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65643 (GLIBC_2.17): Likewise.
65644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65645 (GLIBC_2.17): Likewise.
65646 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65647
65648 2012-09-25 Alan Modra <amodra@gmail.com>
65649
65650 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65651 Add release barrier before setting once_control to say
65652 initialisation is done. Add hints on lwarx. Use macro in
65653 place of isync.
65654 (clear_once_control): Add release barrier.
65655
65656 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65657
65658 [BZ #13629]
65659 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65660 specially.
65661 * math/s_clog10.c (__clog10): Likewise.
65662 * math/s_clog10f.c (__clog10f): Likewise.
65663 * math/s_clog10l.c (__clog10l): Likewise.
65664 * math/s_clogf.c (__clogf): Likewise.
65665 * math/s_clogl.c (__clogl): Likewise.
65666 * math/Makefile (libm-calls): Add x2y2m1.
65667 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65668 (__x2y2m1): Likewise.
65669 (__x2y2m1l): Likewise.
65670 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65671 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65672 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65673 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65674 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65675 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65676 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65677 * sysdeps/i386/fpu/libm-test-ulps: Update.
65678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65679
65680 [BZ #14621]
65681 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65682 int as type of variable DEPTH.
65683 (glob): Use size_t instead of int as type of variables NEWCOUNT
65684 and OLD_PATHC.
65685
65686 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65687
65688 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65689 Add s_sincosf-sse2.
65690 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65691 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65692 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65693 macros for using routine as __sincosf_ia32.
65694 Use macro for function declaration and weak_alias.
65695 * sysdeps/i386/fpu/libm-test-ulps: Update.
65696
65697 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65699
65700 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65701 subnormal argument.
65702 * math/s_cexpf.c (__cexpf): Likewise.
65703 * math/s_csinf.c (__csinf): Likewise.
65704 * math/s_csinhf.c (__csinhf): Likewise.
65705 * math/s_ctanf.c (__ctanf): Likewise.
65706 * math/s_ctanhf.c (__ctanhf): Likewise.
65707 * math/s_ccosh.c (__ccoshf): Likewise.
65708 * math/s_cexp.c (__cexpl): Likewise.
65709 * math/s_csin.c (__csin): Likewise.
65710 * math/s_csinh.c (__csinh): Likewise.
65711 * math/s_ctan.c (__ctan): Likewise.
65712 * math/s_ctanh.c (ctanh): Likewise.
65713 * math/s_ccoshl.c (__ccoshl): Likewise.
65714 * math/s_cexpl.c (__cexpl): Likewise.
65715 * math/s_csinl.c (__csinl): Likewise.
65716 * math/s_csinhl.c (__csinhl): Likewise.
65717 * math/s_ctanl.c (__ctanl): Likewise.
65718 * math/s_ctanhl.c (__ctanhl): Likewise.
65719
65720 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65721
65722 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65723 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65724 (_IO_off_t): Define to __off_t, not _G_off_t.
65725 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65726 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65727 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65728 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65729 type of __dummy and __dummy2 fields.
65730 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65731 (_G_ssize_t): Likewise.
65732 (_G_off_t): Likewise.
65733 (_G_pid_t): Likewise.
65734 (_G_uid_t): Likewise.
65735 (_G_wchar_t): Likewise.
65736 (_G_wint_t): Likewise.
65737 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65738 (_G_ssize_t): Likewise.
65739 (_G_off_t): Likewise.
65740 (_G_pid_t): Likewise.
65741 (_G_uid_t): Likewise.
65742 (_G_wchar_t): Likewise.
65743 (_G_wint_t): Likewise.
65744 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65745 (_G_ssize_t): Likewise.
65746 (_G_off_t): Likewise.
65747 (_G_pid_t): Likewise.
65748 (_G_uid_t): Likewise.
65749 (_G_wchar_t): Likewise.
65750 (_G_wint_t): Likewise.
65751
65752 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65753
65754 * malloc/arena.c: Include malloc-sysdep.h.
65755 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65756 is sufficient to shrink the heap or an unmap is needed.
65757 * sysdeps/generic/malloc-sysdep.h: New file. Define
65758 new function check_may_shrink_heap.
65759 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65760 new function check_may_shrink_heap.
65761
65762 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65763
65764 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65765 comments.
65766
65767 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65768
65769 * catgets/test-gencat.sh: Add "set -e".
65770 * elf/tst-pathopt.sh: Likewise.
65771 * grp/tst_fgetgrent.sh: Likewise.
65772 * iconvdata/run-iconv-test.sh: Likewise.
65773 * intl/tst-gettext.sh: Likewise.
65774 * intl/tst-gettext2.sh: Likewise.
65775 * intl/tst-gettext4.sh: Likewise.
65776 * intl/tst-gettext6.sh: Likewise.
65777 * intl/tst-translit.sh: Likewise.
65778 * io/ftwtest-sh: Likewise.
65779 * libio/test-freopen.sh: Likewise.
65780 * malloc/tst-mtrace.sh: Likewise.
65781 * posix/globtest.sh: Likewise.
65782 * posix/tst-getconf.sh: Likewise.
65783 * posix/wordexp-tst.sh: Likewise.
65784 * stdio-common/tst-printf.sh: Likewise.
65785 * stdio-common/tst-unbputc.sh: Likewise.
65786 * stdlib/tst-fmtmsg.sh: Likewise.
65787 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65788 * catgets/Makefile: Do not specify -e option when running
65789 testsuite shell scripts.
65790 * elf/Makefile: Likewise.
65791 * grp/Makefile: Likewise.
65792 * iconvdata/Makefile: Likewise.
65793 * intl/Makefile: Likewise.
65794 * io/Makefile: Likewise.
65795 * libio/Makefile: Likewise.
65796 * malloc/Makefile: Likewise.
65797 * posix/Makefile: Likewise.
65798 * stdio-common/Makefile: Likewise.
65799 * stdlib/Makefile: Likewise.
65800 * sysdeps/x86_64/Makefile: Likewise.
65801
65802 * io/ftwtest-sh: Add copyright header.
65803 * posix/globtest.sh: Likewise.
65804 * posix/tst-getconf.sh: Likewise.
65805 * posix/wordexp-tst.sh: Likewise.
65806 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65807
65808 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65809
65810 [BZ #13679]
65811 * Makeconfig (+link): Defined as $(+link-static) if
65812 $(build-shared) isn't yes.
65813 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65814 isn't yes.
65815 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65816
65817 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65818
65819 [BZ #14562]
65820 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65821 new chunk size with MALLOC_ALIGN_MASK.
65822
65823 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65824
65825 [BZ #5044]
65826 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65827 <rounding-mode.h>.
65828 (__printf_fphex): Determine rounding using get_rounding_mode and
65829 round_away.
65830 * stdio-common/tst-printf-round.c (struct hex_test): New
65831 structure.
65832 (hex_tests): New variable.
65833 (test_hex_in_one_mode): New function.
65834 (do_test): Also run tests for hex float output.
65835
65836 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65837
65838 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65839 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65840 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65841 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65842 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65843 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65844 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65845 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65846
65847 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65848
65849 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65850 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65851 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65852 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65853
65854 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65855
65856 [BZ #14579]
65857 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65858 mode only.
65859 * elf/tst-rtld-load-self.sh: New test.
65860 * elf/Makefile: Run it.
65861
65862 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65863
65864 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65865 (tst-writev-ENV): Remove.
65866 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65867
65868 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65869
65870 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65871
65872 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65873
65874 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65875 unconditional.
65876 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65877 Likewise.
65878 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65879 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65880 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65881 Likewise.
65882
65883 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65884
65885 [BZ #14587]
65886 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65887 * config.make.in (have-cpp-asm-debuginfo): Removed.
65888 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65889 * configure: Regenerated.
65890
65891 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65892
65893 [BZ #5044]
65894 * stdio-common/printf_fp.c: Include <stdbool.h> and
65895 <rounding-mode.h>.
65896 (___printf_fp): Determine rounding using get_rounding_mode and
65897 round_away.
65898 * stdio-common/tst-printf-round.c: New file.
65899 * stdio-common/Makefile (tests): Add tst-printf-round.
65900 (link-libm): New variable.
65901 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65902
65903 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65904
65905 [BZ #14576]
65906 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65907 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65908 Likewise.
65909 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65910 Likewise.
65911
65912 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65913
65914 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65915 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65916 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65917 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65918
65919 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65920
65921 [BZ #14518]
65922 * include/rounding-mode.h: New file.
65923 * sysdeps/generic/get-rounding-mode.h: Likewise.
65924 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65925 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65926 (MAX_VALUE): New macro.
65927 (MIN_VALUE): Likewise.
65928 (overflow_value): New function.
65929 (underflow_value): Likewise.
65930 (round_and_return): Use overflow_value and underflow_value to
65931 determine return values in overflow and underflow cases. Use
65932 round_away to determine rounding depending on rounding mode.
65933 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65934 determine return values in overflow and underflow cases.
65935 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65936 (struct test_results): New structure.
65937 (struct test): Use struct test_results to store expected results
65938 for all rounding modes.
65939 (TEST): Include expected results for all rounding modes.
65940 (test_in_one_mode): New function.
65941 (do_test): Use test_in_one_mode to compute and check results.
65942 Check results for all rounding modes.
65943 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65944 $(link-libm).
65945
65946 2012-12-09 Allan McRae <allan@archlinux.org>
65947
65948 * sysdeps/i386/fpu/libm-test-ulps: Update
65949
65950 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65951
65952 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65953 (_G_int32_t): Likewise.
65954 (_G_uint16_t): Likewise.
65955 (_G_uint32_t): Likewise.
65956 (_G_HAVE_BOOL): Likewise.
65957 (_G_HAVE_ATEXIT): Likewise.
65958 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65959 (_G_HAVE_IO_FILE_OPEN): Likewise.
65960 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65961 (_G_int32_t): Likewise.
65962 (_G_uint16_t): Likewise.
65963 (_G_uint32_t): Likewise.
65964 (_G_HAVE_BOOL): Likewise.
65965 (_G_HAVE_ATEXIT): Likewise.
65966 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65967 (_G_HAVE_IO_FILE_OPEN): Likewise.
65968 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65969 (_G_int32_t): Likewise.
65970 (_G_uint16_t): Likewise.
65971 (_G_uint32_t): Likewise.
65972 (_G_HAVE_BOOL): Likewise.
65973 (_G_HAVE_ATEXIT): Likewise.
65974 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65975 (_G_HAVE_IO_FILE_OPEN): Likewise.
65976
65977 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65978
65979 * csu/libc-tls.c: Update copyright years.
65980
65981 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65982
65983 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65984 [!_G_USING_THUNKS]: Remove conditional code.
65985 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65986 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65987
65988 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65989 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65990 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65991 (_G_VTABLE_LABEL_PREFIX): Likewise.
65992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65993 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65994 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65995 (_G_VTABLE_LABEL_PREFIX): Likewise.
65996 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65997 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65999 (_G_VTABLE_LABEL_PREFIX): Likewise.
66000 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66001
66002 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
66003
66004 * libio/Makefile: Include ../Makeconfig before tests.
66005 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66006 only if $(build-shared) is yes.
66007
66008 * iconv/gconv_db.c: Update copyright years.
66009
66010 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66011
66012 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66013 unwind info if defined PIC. Fix special cases description.
66014 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66015
66016 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66017 DP_HI_MASK entry.
66018 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66019
66020 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
66021
66022 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66023
66024 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66025 is NULL.
66026
66027 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66028 (LDLIBS-tst-chk4): This.
66029 (LDFLAGS-tst-chk5): Renamed to ...
66030 (LDLIBS-tst-chk5): This.
66031 (LDFLAGS-tst-chk6): Renamed to ...
66032 (LDLIBS-tst-chk6): This.
66033 (LDFLAGS-tst-lfschk4): Renamed to ...
66034 (LDLIBS-tst-lfschk4): This.
66035 (LDFLAGS-tst-lfschk5): Renamed to ...
66036 (LDLIBS-tst-lfschk5): This.
66037 (LDFLAGS-tst-lfschk6): Renamed to ...
66038 (LDLIBS-tst-lfschk6): This.
66039
66040 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66041 on $(common-objpfx)soversions.mk.
66042
66043 2012-09-07 Joseph Myers <joseph@codesourcery.com>
66044
66045 [BZ #10014]
66046 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66047 example host name.
66048
66049 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
66050
66051 * malloc/arena.c (arena_get_retry): New function that gets
66052 another arena for the caller to try its request on.
66053 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66054 current arena cannot fulfill the request.
66055 (__libc_memalign): Likewise.
66056 (__libc_memalign): Likewise.
66057 (__libc_pvalloc): Likewise.
66058 (__libc_calloc): Likewise.
66059
66060 2012-09-05 John Tobey <john.tobey@gmail.com>
66061
66062 [BZ #13542]
66063 * manual/arith.texi (Operations on Complex): Fix description
66064 of carg branch cut.
66065
66066 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66067
66068 [BZ #10014]
66069 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66070 host name.
66071
66072 [BZ #10038]
66073 * manual/memory.texi (Memory): Make order of menu items match
66074 order of sections.
66075
66076 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66077
66078 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66079 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
66080 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66081
66082 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66083
66084 * csu/libc-tls.c (static_dtv): Renamed to ...
66085 (_dl_static_dtv): This. Make it global.
66086 (_dl_initial_dtv): Removed.
66087 (__libc_setup_tls): Updated.
66088 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66089 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66090 DL_INITIAL_DTV.
66091
66092 2012-09-06 Petr Machata <pmachata@redhat.com>
66093
66094 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66095 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66096 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66097 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66098
66099 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66100
66101 [BZ #14545]
66102 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66103 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66104 freeing dtv[-1].
66105
66106 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66107
66108 [BZ #14544]
66109 * Makeconfig (link-static-before-libc): Replace $(+prector)
66110 with $(+prectorT).
66111 (link-static-after-libc): Replace $(+postctor) with
66112 $(+postctorT).
66113 (link-bounded): Replace $(+prector)/$(+postctor) with
66114 $(+prectorT)/$(+postctorT).
66115 (+prectorT): New macro.
66116 (+postctorT): Likewise.
66117
66118 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66119
66120 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66121 (round_str): Handle values above the maximum for IBM long double
66122 as inexact.
66123 * stdlib/tst-strtod-round.c (tests): Regenerated.
66124
66125 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66126
66127 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66128 assembler flag.
66129 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66130 zarch_nohighgprs around the zarch optimized routines.
66131 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66132 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66133 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66134 for zarch.
66135
66136 2012-09-05 David S. Miller <davem@davemloft.net>
66137
66138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66139
66140 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66141 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66142 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66143 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66144 entries.
66145
66146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66147
66148 * malloc/arena.c: Fold copyright years.
66149 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66150
66151 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66152
66153 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66154
66155 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66156
66157 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66158
66159 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66160
66161 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66162 change internal state upon failure.
66163
66164 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66165
66166 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66167 * malloc/memusage.c (mmap): Likewise.
66168 (mmap64, mremap): Likewise. Adjust name in comment.
66169
66170 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66171
66172 * libio/fileops.c: Fix typos in comments.
66173 * libio/oldfileops.c: Likewise.
66174 * libio/wfileops.c: Likewise.
66175
66176 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66177
66178 [BZ #1349]
66179 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66180 (tst-malloc-usable-ENV): Set environment for test case.
66181 * malloc/hooks.c (malloc_check_get_size): New function to get
66182 requested size.
66183 * malloc/malloc.c (musable): Use malloc_check_get_size.
66184 * malloc/tst-malloc-usable.c: New test case.
66185
66186 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66187
66188 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66189
66190 2012-09-05 Allan McRae <allan@archlinux.org>
66191
66192 [BZ #13966]
66193 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66194 determine header location.
66195 * configure: Regenerated.
66196
66197 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66198
66199 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66200 float format.
66201 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66202 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66203 format.
66204 (test): Regenerate.
66205
66206 2012-09-04 David S. Miller <davem@davemloft.net>
66207
66208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66210 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66211
66212 2012-09-04 Florian Weimer <fweimer@redhat.com>
66213
66214 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66215 failures.
66216
66217 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66218
66219 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66220
66221 [BZ #9914]
66222 * libio/iogetdelim.c: Include <limits.h>.
66223 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66224 + len + 1 would overflow.
66225
66226 2012-09-03 Andreas Jaeger <aj@suse.de>
66227
66228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66229 * sysdeps/i386/fpu/libm-test-ulps: Update.
66230
66231 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66232
66233 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66234 Add s_sinf-sse2, s_conf-sse2.
66235
66236 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66237 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66238 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66239 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66240
66241 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66242 for using routine as __sinf_ia32.
66243 Use macro for function declaration and weak_alias.
66244 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66245 for using routine as __cosf_ia32.
66246 Use macro for function declaration and weak_alias.
66247
66248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66249 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66250
66251 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66252 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66254
66255 * math/libm-test.inc (cos_test): Add more test cases.
66256 (sin_test): Likewise.
66257 (sincos_test): Likewise.
66258
66259 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66260
66261 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66262 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66263 hidden.
66264 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66265
66266 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66267
66268 [BZ #14538]
66269 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66270 first element of the GOT.
66271 (elf_machine_load_address): Return the difference between
66272 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66273
66274 2012-09-01 Allan McRae <allan@archlinux.org>
66275
66276 [BZ #13412]
66277 * configure.in (AWK): Require gawk version 3.0 or later.
66278 * configure: Regenerated.
66279
66280 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66281
66282 * sysdeps/unix/sysv/linux/kernel-features.h
66283 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66285 [__NR_clock_getres]: Make code unconditional.
66286 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66287 (clock_getcpuclockid): Remove code left unreachable by removal of
66288 conditionals.
66289 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66290 code unconditional.
66291 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66292 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66293 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66294 Make code unconditional.
66295 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66296 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66297 * sysdeps/unix/sysv/linux/clock_settime.c
66298 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66299 conditional code.
66300 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66301 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66302
66303 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66304
66305 [BZ #14476]
66306 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66307 scripts/test-installation.pl.
66308
66309 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66310 and $ld_so_version if it is set.
66311
66312 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66313
66314 [BZ #14516]
66315 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66316 failure if reading from procfs failed.
66317 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66318
66319 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66320
66321 * sysdeps/unix/sysv/linux/kernel-features.h
66322 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66323 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66324 Remove conditional code.
66325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66326 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66327 Remove conditional code.
66328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66329 * sysdeps/unix/sysv/linux/i386/fxstat.c
66330 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66332 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66335 * sysdeps/unix/sysv/linux/i386/lxstat.c
66336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66338 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66339 Remove conditional code.
66340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66341 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66342 Remove conditional code.
66343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66344 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66345 <kernel-features.h>.
66346 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66347 Remove.
66348 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66349 Remove conditional code.
66350 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66351 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66352 Remove conditional.
66353
66354 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66355
66356 [BZ #5400]
66357 * NEWS: Add fixed bug number.
66358
66359 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66360
66361 [BZ #14519]
66362 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66363 underflowing exponent in case of negative sign.
66364 * stdlib/tst-strtod-round-data: Add more tests.
66365 * stdlib/tst-strtod-round.c (tests): Regenerated.
66366
66367 [BZ #3479]
66368 * stdlib/strtod_l.c (NDIG): Remove.
66369 (HEXNDIG): Likewise.
66370 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66371 smallest representable value.
66372 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66373 lie within an exact representation of 1/2 ulp of the result.
66374 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66375 unconditionally.
66376 (TENS_P9_IDX): Define unconditionally.
66377 (TENS_P9_SIZE): Likewise.
66378 (TENS_P10_IDX): Likewise.
66379 (TENS_P10_SIZE): Likewise.
66380 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66381 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66383 entries for 10^2^13 and 10^2^14.
66384 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66385 (TENS_P13_IDX): Define.
66386 (TENS_P13_SIZE): Likewise.
66387 (TENS_P14_IDX): Likewise.
66388 (TENS_P14_SIZE): Likewise.
66389 (_fpioconst_pow10): Change array size to
66390 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66391 unconditional.
66392 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66393 1024]: Add entries for 10^2^13 and 10^2^14.
66394 [LAST_POW10 > _LAST_POW10]: Remove #error.
66395 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66396 (_fpioconst_pow10): Change array size to
66397 FPIOCONST_POW10_ARRAY_SIZE.
66398 * stdlib/gen-fpioconst.c: New file.
66399 * stdlib/gen-tst-strtod-round.c: Likewise.
66400 * stdlib/tst-strtod-round-data: Likewise.
66401 * stdlib/tst-strtod-round.c: Likewise.
66402 * stdlib/Makefile (tests): Add tst-strtod-round.
66403
66404 [BZ #14459]
66405 * stdlib/strtod_l.c: Include <stdint.h>.
66406 (NDEBUG): Do not define.
66407 (round_and_return): Change EXPONENT parameter to type intmax_t.
66408 Rearrange calculations to avoid internal overflow possibilities.
66409 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66410 Rearrange calculations to avoid internal overflow possibilities.
66411 Assert that number fits inside MPNSIZE limbs.
66412 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66413 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66414 calculations and add assertions to avoid internal overflow
66415 possibilities. Add casts to avoid signed/unsigned operations.
66416 * stdlib/tst-strtod-overflow.c: New file.
66417 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66418
66419 2012-08-25 Marek Polacek <polacek@redhat.com>
66420
66421 * time/time.h: Fix some typos in comments.
66422
66423 2012-08-23 Roland McGrath <roland@hack.frob.com>
66424
66425 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66426 * posix/tst-rfc3484-2.c: Likewise.
66427 * posix/tst-rfc3484-3.c: Likewise.
66428
66429 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66430
66431 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66432 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66433
66434 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66435
66436 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66437 #include of fxstatat64.c.
66438
66439 2012-08-22 Roland McGrath <roland@hack.frob.com>
66440
66441 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66442 * shadow/getspent_r.c: Likewise.
66443 * shadow/getspnam.c: Likewise.
66444 * shadow/getspnam_r.c: Likewise.
66445 * gshadow/getsgent.c: Likewise.
66446 * gshadow/getsgent_r.c: Likewise.
66447 * gshadow/getsgnam.c: Likewise.
66448 * gshadow/getsgnam_r.c: Likewise.
66449 * inet/getnetbyad.c: Likewise.
66450 * inet/getnetbyad_r.c: Likewise.
66451 * inet/getnetbynm.c: Likewise.
66452 * inet/getnetbynm_r.c: Likewise.
66453 * inet/getnetent.c: Likewise.
66454 * inet/getnetent_r.c: Likewise.
66455 * inet/getproto.c: Likewise.
66456 * inet/getproto_r.c: Likewise.
66457 * inet/getprtent.c: Likewise.
66458 * inet/getprtent_r.c: Likewise.
66459 * inet/getprtname.c: Likewise.
66460 * inet/getprtname_r.c: Likewise.
66461 * inet/getrpcbyname.c: Likewise.
66462 * inet/getrpcbyname_r.c: Likewise.
66463 * inet/getrpcbynumber.c: Likewise.
66464 * inet/getrpcbynumber_r.c: Likewise.
66465 * inet/getrpcent.c: Likewise.
66466 * inet/getrpcent_r.c: Likewise.
66467 * inet/getaliasent.c: Likewise.
66468 * inet/getaliasent_r.c: Likewise.
66469 * inet/getaliasname.c: Likewise.
66470 * inet/getaliasname_r.c: Likewise.
66471 * nscd/getgrgid_r.c: Likewise.
66472 * nscd/getgrnam_r.c: Likewise.
66473 * nscd/gethstbyad_r.c: Likewise.
66474 * nscd/gethstbynm3_r.c: Likewise.
66475 * nscd/getpwnam_r.c: Likewise.
66476 * nscd/getpwuid_r.c: Likewise.
66477 * nscd/getsrvbynm_r.c: Likewise.
66478 * nscd/getsrvbypt_r.c: Likewise.
66479 * nscd/gai.c: Likewise.
66480
66481 * configure.in (build_nscd): New substituted variable, set
66482 by --disable-build-nscd and defaults to $use_nscd.
66483 * configure: Regenerated.
66484 * config.make.in (build-nscd): New substituted variable.
66485 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66486 Change conditional to require [$(build-nscd) = yes] as well.
66487 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66488
66489 [BZ# 13696]
66490 * configure.in (use_nscd): New substituted variable, set by
66491 --disable-nscd. If enabled, define USE_NSCD.
66492 * configure: Regenerated.
66493 * config.h.in: Add USE_NSCD.
66494 * config.make.in (use-nscd): New substituted variable.
66495 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66496 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66497 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66498 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66499 (CFLAGS-getgrnam_r.c): Likewise.
66500 (CFLAGS-initgroups.c): Likewise.
66501 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66502 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66503 Variables removed.
66504 * inet/getnetgrent_r.c
66505 (nscd_setnetgrent): New function, broken out of ...
66506 (setnetgrent): ... here. Call it.
66507 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66508 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66509 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66510 * nscd/Makefile (routines, aux): Move definitions after include of
66511 Makeconfig. Conditionalize on [$(use-nscd) != no].
66512 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66513 Conditionalize on [USE_NSCD].
66514 (is_nscd, nscd_init_cb): Likewise.
66515 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66516 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66517 * nss/nss_db/db-init.c: Likewise.
66518 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66519 [USE_NSCD].
66520 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66521 (make_request): Use it.
66522 (cache_valid_p): New function.
66523 (__check_pf): Use it.
66524 * NEWS: Add item for --disable-nscd.
66525
66526 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66527
66528 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66529 to support sed >= 4.2.1-20-ga9bf076.
66530 * configure: Regenerated.
66531
66532 2012-08-22 Roland McGrath <roland@hack.frob.com>
66533
66534 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66535 Conditionalize whole body on [IREL].
66536
66537 2012-08-22 Jeff Law <law@redhat.com>
66538
66539 [BZ #14505]
66540 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66541 if the family is PF_UNSPEC.
66542
66543 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66544
66545 * Makerules (lib-version): Rename from V.
66546 (install-lib-nosubdir): Change V to lib-version.
66547
66548 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66549
66550 [BZ #14252]
66551 * powerpc32/power6/wcschr.c: New file.
66552 * powerpc32/power6/wcscpy.c: New file.
66553 * powerpc32/power6/wcsrchr.c: New file.
66554 * powerpc64/power6/wcschr.c: New file.
66555 * powerpc64/power6/wcscpy.c: New file.
66556 * powerpc64/power6/wcsrchr.c: New file.
66557
66558 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66559
66560 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66561 (two_way_short_needle): Use it.
66562 * string/strstr.c (AVAILABLE1_USES_J): Define.
66563 * string/strcasestr.c: Likewise.
66564
66565 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66566 array references.
66567 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66568
66569 [BZ #11607]
66570 * NEWS: Add an entry.
66571 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66572 define their defaults.
66573 (two_way_short_needle): Detect end-of-string on-the-fly.
66574 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66575 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66576 * string/bug-strcasestr1.c: New test.
66577 * string/Makefile: Run it.
66578
66579 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66580
66581 [BZ #11607]
66582 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66583 the first character.
66584
66585 2012-08-21 Roland McGrath <roland@hack.frob.com>
66586
66587 * csu/elf-init.c (__libc_csu_irel): Function removed.
66588 * csu/libc-start.c (apply_irel): New function.
66589 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66590
66591 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66592
66593 * sysdeps/unix/sysv/linux/kernel-features.h
66594 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66595 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66596 <kernel-features.h>.
66597 [__NR_fadvise64_64]: Make code unconditional.
66598 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66599 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66600 !__NR_fadvise64_64)]: Likewise.
66601 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66602 !__NR_fadvise64_64))]: Likewise.
66603 [__NR_fadvise64]: Make code unconditional.
66604 [!__NR_fadvise64]: Remove conditional code.
66605 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66606 <kernel-features.h>.
66607 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66608 unconditional.
66609 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66610 conditional code.
66611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66612 not include <kernel-features.h>.
66613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66614 unconditional.
66615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66616 conditional code.
66617 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66618 include <kernel-features.h>.
66619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66620 unconditional.
66621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66622 conditional code.
66623
66624 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66625
66626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66627 slight instruction rearrangements per scrollpipe analysis.
66628 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66629
66630 2012-08-20 Roland McGrath <roland@hack.frob.com>
66631
66632 * manual/syslog.texi (syslog; vsyslog, closelog):
66633 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66634 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66635
66636 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66637 DSOCAPS to match condition on defining it.
66638
66639 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66640
66641 * sysdeps/unix/sysv/linux/kernel-features.h
66642 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66644 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66645 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66652
66653 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66654 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66655
66656 * sysdeps/unix/sysv/linux/kernel-features.h
66657 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66658 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66659 unconditional.
66660 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66661 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66662 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66663 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66664 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66665 Make code unconditional.
66666 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66667 (__mmap64) [!__NR_mmap2]: Likewise.
66668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66669 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66670 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66671 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66672 [__NR_mmap2]: Make code unconditional.
66673 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66674 (__mmap64) [!__NR_mmap2]: Likewise.
66675
66676 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66677
66678 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66679
66680 2012-08-18 Andreas Jaeger <aj@suse.de>
66681
66682 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66683
66684 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66685
66686 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66687 * include/unistd.h (__have_sock_cloexec): Likewise.
66688 (__have_pipe2): Likewise.
66689 (__have_dup3): Likewise.
66690
66691 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66692
66693 [BZ #9685]
66694 * include/unistd.h (__have_pipe2): Change define into an extern int.
66695 (__have_dup3): Likewise.
66696 * socket/have_sock_cloexec.c: Include fcntl.h.
66697 (__have_pipe2): New variable.
66698 (__have_dup3): Likewise.
66699
66700 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66701
66702 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66703
66704 2012-08-17 Marek Polacek <polacek@redhat.com>
66705
66706 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66707 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66708
66709 2012-08-17 Roland McGrath <roland@hack.frob.com>
66710
66711 * configure.in: Add AC_SUBST for sysheaders.
66712 * configure: Regenerated.
66713 * config.make.in (sysheaders): New substituted variable.
66714
66715 * sysdeps/unix/mkfifo.c: Moved ...
66716 * sysdeps/posix/mkfifo.c: ... here.
66717 * sysdeps/unix/mkfifoat.c: Moved ...
66718 * sysdeps/posix/mkfifoat.c: ... here.
66719
66720 * sysdeps/unix/utime.c: Moved ...
66721 * sysdeps/posix/utime.c: ... here.
66722
66723 * sysdeps/unix/time.c: Moved ...
66724 * sysdeps/posix/time.c: ... here.
66725 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66726 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66727
66728 * sysdeps/unix/nice.c: Moved ...
66729 * sysdeps/posix/nice.c: ... here.
66730
66731 * sysdeps/unix/alarm.c: Moved ...
66732 * sysdeps/posix/alarm.c: ... here.
66733
66734 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66735
66736 2012-08-17 Jeff Law <law@redhat.com>
66737
66738 * intl/Makefile (codeset_mo): New variable.
66739 ($(codeset_mo)): New target.
66740 (tst-codeset.out): Depend on that. Remove explicit rule.
66741 (tst-gettext3.out, tst-gettext5.out): Likewise.
66742 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66743 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66744 * intl/tst-codeset.sh: Remove.
66745 * intl/tst-gettext3.sh: Likewise.
66746 * intl/tst-gettext5.sh: Likewise.
66747
66748 2012-08-17 Roland McGrath <roland@hack.frob.com>
66749
66750 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66751 * sysdeps/unix/syscalls.list: ... here.
66752
66753 * sysdeps/posix/getaddrinfo.c
66754 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66755 (gaiconf_init, gaiconf_reload): Use them.
66756 [!_STATBUF_ST_NSEC]
66757 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66758 Define using time_t rather than struct timespec.
66759
66760 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66761 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66762 Macros removed.
66763 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66764 [!NO_THREADS].
66765 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66766 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66767 Likewise.
66768
66769 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66770 __libc_cleanup_push argument.
66771
66772 * bits/param.h: New file.
66773 * misc/sys/param.h: New file.
66774 * include/sys/param.h: New file.
66775 * misc/Makefile (headers): Add bits/param.h.
66776 * sysdeps/generic/sys/param.h: File removed.
66777 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66778 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66779 * sysdeps/mach/hurd/bits/param.h: New file.
66780 * sysdeps/mach/hurd/sys/param.h: File removed.
66781
66782 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66783 last change.
66784
66785 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66786 [_IO_MTSAFE_IO].
66787 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66788 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66789 New macros.
66790
66791 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66792 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66793 rather than -D_IO_MTSAFE_IO conditionally.
66794 * stdio-common/Makefile (CPPFLAGS): Likewise.
66795 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66796 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66797 Use $(libio-mtsafe).
66798 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66799 of -D_IO_MTSAFE_IO.
66800 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66801 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66802 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66803 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66804 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66805 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66806 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66807 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66808 (CFLAGS-fread_u_chk.c): Likewise.
66809 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66810 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66811 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66812 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66813 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66814 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66815 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66816 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66817 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66818
66819 * libio/Makefile: Test [$(libc-reentrant) = yes]
66820 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66821
66822 * Makeconfig
66823 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66824 * sysdeps/pthread/configure: File removed.
66825 * sysdeps/pthread/Makeconfig: New file.
66826 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66827 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66828
66829 2012-08-16 Gary Benson <gbenson@redhat.com>
66830
66831 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66832 unmapping the first object in a namespace.
66833
66834 2012-08-16 Roland McGrath <roland@hack.frob.com>
66835
66836 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66837 (__internal_setnetgrent): ... this. Add internal_function to
66838 definition. Add libc_hidden_def.
66839 (setnetgrent): Update caller.
66840 (internal_endnetgrent): Renamed to ...
66841 (__internal_endnetgrent): ... this. Add internal_function to
66842 definition. Add libc_hidden_def.
66843 (endnetgrent): Update caller.
66844 (internal_getnetgrent_r): Renamed to ...
66845 (__internal_getnetgrent_r): ... this. Add internal_function to
66846 definition. Add libc_hidden_def.
66847 (__getnetgrent_r): Update caller.
66848 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66849
66850 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66851
66852 * stdlib/longlong.h: Update from GCC.
66853
66854 2012-08-16 Roland McGrath <roland@hack.frob.com>
66855
66856 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66857 on _QL, which is set by umul_ppmm but never used.
66858 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66859 variables, which are set by GMP macros but never used.
66860 * stdio-common/_itowa.c (_itowa): Likewise.
66861 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66862 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66863
66864 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66865
66866 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66867 struct La_sh_regs is not constant.
66868 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66869 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66870 and struct La_sparc64_regs are not constant.
66871
66872 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66873
66874 * sysdeps/unix/sysv/linux/kernel-features.h
66875 (__ASSUME_POSIX_TIMERS): Remove.
66876 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66878 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66879 Make code unconditional.
66880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66881 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66882 Make code unconditional.
66883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66884 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66885 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66887 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66888 Make code unconditional.
66889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66890 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66891 (__libc_missing_posix_timers): Remove.
66892
66893 2012-08-15 Roland McGrath <roland@hack.frob.com>
66894
66895 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66896 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66897
66898 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66899
66900 * elf/dl-sym.c: Include <stdlib.h>.
66901
66902 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66903 constants, which avoids warnings in 32-bit builds.
66904
66905 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66906 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66907
66908 * misc/lseek.c: File moved to ...
66909 * io/lseek.c: ... here.
66910
66911 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66912
66913 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66914 shifting LEN more than 31 bits at once.
66915
66916 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66917
66918 [BZ #14195]
66919 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66920 segmentation fault for a case of two empty input strings.
66921 * string/test-strncasecmp.c (check1): Renamed to...
66922 (bz12205): ...this.
66923 (bz14195): Add new testcase for two empty input strings and N > 0.
66924 (test_main): Call new testcase, adapt for renamed function.
66925
66926 2012-08-15 Andreas Jaeger <aj@suse.de>
66927
66928 [BZ #14090]
66929 * crypt/md5test2.c: New test, based on test supplied by Serge
66930 Belyshev <belyshev@depni.sinp.msu.ru>.
66931 * crypt/Makefile (xtests): Add md5test-giant..
66932 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66933
66934 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66935
66936 [BZ #14090]
66937 * crypt/md5.c (md5_process_block): Don't assume the buffer
66938 length is less than 2**32.
66939 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66940 length is less than 2**64.
66941
66942 2012-08-15 Roland McGrath <roland@hack.frob.com>
66943
66944 * string/str-two-way.h: Include <sys/param.h>.
66945 (MAX): Macro removed.
66946
66947 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66948 Move #define and #undef of memmove to just before and after
66949 including <string.h>.
66950
66951 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66952 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66953 and after including <string.h>. Move declarations of
66954 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66955 to before #include "string/memmove.c".
66956
66957 * include/dirent.h: Declare __getdirentries.
66958
66959 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66960 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66961
66962 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66963
66964 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66965 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66966 * sysdeps/i386/configure: Regenerated.
66967 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66968 STABS_CURRENT_FILE, and STABS_FUN.
66969 (END): Remove call to STABS_FUN_END.
66970 (STABS_CURRENT_FILE1): Delete.
66971 (STABS_CURRENT_FILE): Likewise.
66972 (STABS_FUN): Likewise.
66973 (STABS_FUN_END): Likewise.
66974 (STABS_FUN2): Likewise.
66975 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66976 * sysdeps/x86_64/configure: Regenerated.
66977
66978 2012-08-14 Roland McGrath <roland@hack.frob.com>
66979
66980 * elf/dl-open.c: Include <atomic.h>.
66981 * elf/dl-lookup.c: Likewise.
66982
66983 2012-08-14 Joseph Myers <joseph@codesourcery.com>
66984
66985 * sysdeps/unix/sysv/linux/kernel-features.h
66986 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66987 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66988 unconditionally.
66989 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66990 unconditionally.
66991 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66992 condition on __ASSUME_CLONE_THREAD_FLAGS.
66993
66994 2012-08-14 Andreas Jaeger <aj@suse.de>
66995
66996 * sysdeps/i386/fpu/libm-test-ulps: Update.
66997
66998 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
66999
67000 * include/atomic.h (atomic_exchange_and_add): Split into ...
67001 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67002 New atomic macros.
67003
67004 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
67005
67006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67007
67008 2012-08-13 Jeff Law <law@redhat.com>
67009
67010 * manual/stdio.texi (snprintf): Clarify handling of the trailing
67011 null byte in the output string.
67012
67013 2012-08-10 Joseph Myers <joseph@codesourcery.com>
67014
67015 * sysdeps/unix/sysv/linux/kernel-features.h
67016 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67017 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67018 (__ASSUME_ARG_MAX_STACK_BASED): Define.
67019 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67020 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67021 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
67022 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67023
67024 2012-08-09 Jeff Law <law@redhat.com>
67025
67026 [BZ #13939]
67027 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67028 When avoid_arena is set, don't retry in the that arena. Pick the
67029 next one, whatever it might be.
67030 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67031 (arena_lock): Pass in new parameter to arena_get2.
67032 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67033 arena_get2.
67034 (__libc_malloc): Unify retrying after main arena failure with
67035 __libc_memalign version.
67036 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67037
67038 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
67039
67040 [BZ #14166]
67041 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67042 to __redirect_strstr.
67043 (__strstr_sse42): Use typeof __redirect_strstr.
67044 (__strstr_ia32): Likewise.
67045 (__libc_strstr): New prototype.
67046 (strstr): Renamed to ...
67047 (__libc_strstr): This.
67048 (strstr): New strong alias of __libc_strstr.
67049 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67050 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67051 __redirect_time.
67052 Include <time.h>.
67053 (__libc_time): New prototype.
67054 (time_ifunc): Replace time with __libc_time.
67055 (time): New strong alias and hidden definition of __libc_time.
67056 (__GI_time): Remove strong alias.
67057 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67058 Include <stddef.h>.
67059 (memmove): Redefined to __redirect_memmove.
67060 (__memmove_sse2): Use typeof __redirect_memmove.
67061 (__memmove_ssse3): Likewise.
67062 (__memmove_ssse3_back): Likewise.
67063 (__libc_memmove): New prototype.
67064 (memmove): Renamed to ...
67065 (__libc_memmove): This.
67066 (memmove): New strong alias of __libc_memmove.
67067
67068 2012-08-08 Mark Salter <msalter@redhat.com>
67069
67070 * elf/elf.h
67071 (R_MN10300_TLS_GD): Define.
67072 (R_MN10300_TLS_LD): Likewise.
67073 (R_MN10300_TLS_LDO): Likewise.
67074 (R_MN10300_TLS_GOTIE): Likewise.
67075 (R_MN10300_TLS_IE): Likewise.
67076 (R_MN10300_TLS_LE): Likewise.
67077 (R_MN10300_TLS_DTPMOD): Likewise.
67078 (R_MN10300_TLS_DTPOFF): Likewise.
67079 (R_MN10300_TLS_TPOFF): Likewise.
67080 (R_MN10300_SYM_DIFF): Likewise.
67081 (R_MN10300_ALIGN): Likewise.
67082 (R_MN10300_NUM): Update.
67083
67084 2012-08-08 Joseph Myers <joseph@codesourcery.com>
67085
67086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67087 Remove.
67088
67089 2012-08-08 Roland McGrath <roland@hack.frob.com>
67090
67091 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67092
67093 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67094 sysdeps/unix -> sysdeps/posix move.
67095 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67096
67097 2012-08-07 Allan McRae <allan@archlinux.org>
67098
67099 [BZ #14303]
67100 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67101 (SUNOS_CPP): Likewise.
67102 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67103 not found.
67104 (open_input): Call CPP using execvp.
67105
67106 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67107
67108 * sysdeps/unix/sysv/linux/kernel-features.h
67109 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67110 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67111 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67112 (__ASSUME_WAITID_SYSCALL): Likewise.
67113 * sysdeps/unix/sysv/linux/dl-execstack.c
67114 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67115 code unconditional.
67116 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67117 conditional code.
67118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67119 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67120 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67121 code.
67122 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67123 unconditional.
67124 [__ASSUME_WAITID_SYSCALL]: Likewise.
67125 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67126
67127 2012-08-07 Roland McGrath <roland@hack.frob.com>
67128
67129 * sysdeps/unix/closedir.c: Renamed to ...
67130 * sysdeps/posix/closedir.c: ... here.
67131 * sysdeps/unix/dirfd.c: Renamed to ...
67132 * sysdeps/posix/dirfd.c: ... here.
67133 * sysdeps/unix/dirstream.h: Renamed to ...
67134 * sysdeps/posix/dirstream.h: ... here.
67135 * sysdeps/unix/fdopendir.c: Renamed to ...
67136 * sysdeps/posix/fdopendir.c: ... here.
67137 * sysdeps/unix/opendir.c: Renamed to ...
67138 * sysdeps/posix/opendir.c: ... here.
67139 * sysdeps/unix/readdir.c: Renamed to ...
67140 * sysdeps/posix/readdir.c: ... here.
67141 * sysdeps/unix/readdir_r.c: Renamed to ...
67142 * sysdeps/posix/readdir_r.c: ... here.
67143 * sysdeps/unix/rewinddir.c: Renamed to ...
67144 * sysdeps/posix/rewinddir.c: ... here.
67145 * sysdeps/unix/seekdir.c: Renamed to ...
67146 * sysdeps/posix/seekdir.c: ... here.
67147 * sysdeps/unix/telldir.c: Renamed to ...
67148 * sysdeps/posix/telldir.c: ... here.
67149 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67150 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67151 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67152 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67153
67154 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67155 * bits/fcntl.h: ... here.
67156
67157 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67158 not 0.
67159 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67160 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67161 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67162 (struct flock): Move l_start, l_len to the beginning.
67163 Use __pid_t for l_pid.
67164 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67165 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67166 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67167 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67168 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67169 [__USE_LARGEFILE64] (struct flock64): New type.
67170 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67171
67172 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67173 * bits/dirent.h: ... here.
67174
67175 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67176 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67177
67178 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67179
67180 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67181 Change from 2.6.0 to 2.6.16.
67182 * sysdeps/unix/sysv/linux/configure: Regenerated.
67183 * sysdeps/unix/sysv/linux/kernel-features.h
67184 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67185 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67186 version.
67187 (__ASSUME_UTIMES): Likewise.
67188 (__ASSUME_CLONE_STOPPED): Remove.
67189 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67190 architectures, not kernel version.
67191 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67192 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67193 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67194 (__ASSUME_WAITID_SYSCALL): Likewise.
67195 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67196 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67197 * README: State 2.6.16 as minimum Linux kernel version. Do not
67198 refer to older versions.
67199
67200 2012-08-06 Roland McGrath <roland@hack.frob.com>
67201
67202 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67203 Define alphasort64 as an alias.
67204 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67205 Define versionsort64 as an alias.
67206 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67207 Define scandir64 as an alias.
67208 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67209 Define scandirat64 as an alias.
67210 * dirent/alphasort64.c (alphasort64):
67211 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67212 * dirent/versionsort64.c: Likewise.
67213 * dirent/scandir64.c: Likewise.
67214 * dirent/scandirat64.c: Likewise.
67215 * sysdeps/wordsize-64/alphasort.c: File removed.
67216 * sysdeps/wordsize-64/alphasort64.c: File removed.
67217 * sysdeps/wordsize-64/scandir.c: File removed.
67218 * sysdeps/wordsize-64/scandir64.c: File removed.
67219 * sysdeps/wordsize-64/scandirat.c: File removed.
67220 * sysdeps/wordsize-64/scandirat64.c: File removed.
67221 * sysdeps/wordsize-64/versionsort.c: File removed.
67222 * sysdeps/wordsize-64/versionsort64.c: File removed.
67223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67225 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67227 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67229 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67231
67232 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67234 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67236 [defined __arch64__ || defined __sparcv9]
67237 (__INO_T_MATCHES_INO64_T): New macro.
67238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67239 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67240 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67241 * sysdeps/unix/sysv/linux/bits/dirent.h
67242 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67243 (_DIRENT_MATCHES_DIRENT64): New macro.
67244
67245 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67246 Define lockf64 as an alias.
67247 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67248 Define fseeko64 as an alias.
67249 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67250 Define ftello64 as an alias.
67251 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67252 Define _IO_fgetpos64 and fgetpos64 as aliases.
67253 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67254 Define _IO_fsetpos64 and fsetpos64 as aliases.
67255 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67256 Conditionalize body on this.
67257 * libio/fseeko64.c: Likewise.
67258 * libio/ftello64.c: Likewise.
67259 * libio/iofgetpos64.c: Likewise.
67260 * libio/iofsetpos64.c: Likewise.
67261 * sysdeps/wordsize-64/lockf.c: File removed.
67262 * sysdeps/wordsize-64/lockf64.c: File removed.
67263 * sysdeps/wordsize-64/fseeko.c: File removed.
67264 * sysdeps/wordsize-64/fseeko64.c: File removed.
67265 * sysdeps/wordsize-64/ftello.c: File removed.
67266 * sysdeps/wordsize-64/ftello64.c: File removed.
67267 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67268 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67269 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67270 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67271 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67273 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67275 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67279 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67281
67282 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67284 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67286 [defined __arch64__ || defined __sparcv9]
67287 (__OFF_T_MATCHES_OFF64_T): New macro.
67288 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67289 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67290 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67291 (__OFF_T_MATCHES_OFF64_T): New macro.
67292
67293 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67294
67295 * stdlib/secure-getenv.c (__secure_getenv): Replace
67296 GLIBC_2_16 with GLIBC_2_17.
67297
67298 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67299
67300 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67302
67303 2012-08-03 David S. Miller <davem@davemloft.net>
67304
67305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67306
67307 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67308
67309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67310 Remove.
67311 (__ASSUME_CORRECT_SI_PID): Likewise.
67312 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67313 (__ASSUME_TMPFS_NAME): Likewise.
67314 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67315 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67316 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67317 (HAVE_AUX_SECURE): Make definition unconditional.
67318 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67319 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67320
67321 2012-08-03 Roland McGrath <roland@hack.frob.com>
67322
67323 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67324 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67325 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67326 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67327 __eloop_threshold instead of SYMLOOP_MAX.
67328
67329 * sysdeps/generic/eloop-threshold.h: New file.
67330 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67331 of MAXSYMLINKS.
67332 * elf/chroot_canon.c (chroot_canon): Likewise.
67333
67334 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67335
67336 [BZ #13717]
67337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67338 Change to 2.6.0 everywhere.
67339 * sysdeps/unix/sysv/linux/configure: Regenerated.
67340 * sysdeps/unix/sysv/linux/kernel-features.h
67341 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67342 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67343 kernel versions.
67344 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67345 (__ASSUME_FUTEX_REQUEUE): Remove.
67346 (__ASSUME_STATFS64): Define unconditionally.
67347 (__ASSUME_AT_SECURE): Likewise.
67348 (__ASSUME_CORRECT_SI_PID): Likewise.
67349 (__ASSUME_TGKILL): Define without depending on kernel version for
67350 i386.
67351 (__ASSUME_UTIMES): Likewise.
67352 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67353 kernel version.
67354 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67355 (__ASSUME_TMPFS_NAME): Likewise.
67356 * README: Update reference to Linux kernel versions.
67357
67358 2012-08-02 Marek Polacek <polacek@redhat.com>
67359
67360 [BZ# 14150]
67361 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67362 libc_cv_asm_type_prefix with %.
67363 * configure: Regenerated.
67364 * include/libc-symbols.h: Remove comment about
67365 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67366 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67367 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67368 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67369 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67370 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67371 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67372 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67373 * elf/tst-unique2mod1.c: Likewise.
67374 * elf/tst-unique1mod2.c: Likewise.
67375 * elf/tst-unique1mod1.c: Likewise.
67376 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67377 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67378 Replace ASM_TYPE_DIRECTIVE with .type.
67379 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67380 * sysdeps/i386/sysdep.h: Likewise.
67381 * sysdeps/x86_64/sysdep.h: Likewise.
67382 * sysdeps/sh/sysdep.h: Likewise.
67383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67384 Do not define ASM_TYPE_DIRECTIVE.
67385 * sysdeps/powerpc/sysdep.h: Likewise.
67386 * sysdeps/powerpc/powerpc32/sysdep.h:
67387 Replace ASM_TYPE_DIRECTIVE with .type.
67388 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67389 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67390 * sysdeps/i386/fpu/e_powf.S: Likewise.
67391 * sysdeps/i386/fpu/e_expl.S: Likewise.
67392 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67394 * sysdeps/i386/fpu/e_pow.S: Likewise.
67395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67399 * sysdeps/i386/fpu/e_log2.S: Likewise.
67400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67402 * sysdeps/i386/fpu/e_powl.S: Likewise.
67403 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67404 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67405 * sysdeps/i386/fpu/e_logl.S: Likewise.
67406 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67407 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67408 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67409 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67410 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67411 * sysdeps/i386/fpu/e_log.S: Likewise.
67412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67413 * sysdeps/i386/fpu/e_logf.S: Likewise.
67414 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67415 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67416 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67417 * sysdeps/i386/fpu/e_log10.S: Likewise.
67418 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67419 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67420 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67421 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67422 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67423 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67424 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67425 * sysdeps/i386/i686/strtok.S: Likewise.
67426 * sysdeps/i386/i386-mcount.S: Likewise.
67427 * sysdeps/i386/strtok.S: Likewise.
67428 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67429 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67430 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67431 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67434 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67435 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67437 * sysdeps/x86_64/_mcount.S: Likewise.
67438 * sysdeps/x86_64/strtok.S: Likewise.
67439 * sysdeps/sh/_mcount.S: Likewise.
67440
67441 2012-08-01 Roland McGrath <roland@hack.frob.com>
67442
67443 * libio/iofopen.c: Include <fcntl.h>.
67444 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67445 (_IO_fopen64, fopen64): Define as aliases.
67446 * libio/iofopen64.c: Include <fcntl.h>.
67447 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67448 Conditionalize body on this.
67449 * sysdeps/wordsize-64/iofopen.c: File removed.
67450 * sysdeps/wordsize-64/iofopen64.c: File removed.
67451
67452 2012-08-01 Marek Polacek <polacek@redhat.com>
67453
67454 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67455 Use dlfcn directly instead of a variable.
67456 (binfmt-subdir): Do not define.
67457 (dlfcn): Likewise.
67458
67459 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67460
67461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67462 Remove all definitions.
67463 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67464 <kernel-features.h>.
67465 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67466 (miss_F_GETOWN_EX): Remove all definitions.
67467 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67468 macro definition.
67469 [!__ASSUME_FCNTL64]: Remove conditional code.
67470 [__ASSUME_FCNTL64]: Make code unconditional.
67471 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67472 <kernel-features.h>.
67473 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67474 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67475 (lockf64) [__NR_fcntl64]: Make code unconditional.
67476 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67477
67478 * sysdeps/unix/sysv/linux/kernel-features.h
67479 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67480 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67481 Make code unconditional.
67482 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67483 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67485 [__NR_vfork]: Make code unconditional.
67486 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67487 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67489 [__NR_vfork]: Make code unconditional.
67490 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67491 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67492
67493 2012-08-01 Roland McGrath <roland@hack.frob.com>
67494
67495 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67496 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67497
67498 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67499 Define mkstemp64 as an alias.
67500 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67501 Define mkstemps64 as an alias.
67502 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67503 Define mkostemp64 as an alias.
67504 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67505 Define mkostemps64 as an alias.
67506 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67507 Conditionalize body on this.
67508 * misc/mkostemp64.c: Likewise.
67509 * misc/mkostemps64.c: Likewise.
67510 * misc/mkstemps64.c: Likewise.
67511 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67512 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67513 * sysdeps/wordsize-64/mkostemp.c: File removed.
67514 * sysdeps/wordsize-64/mkstemp.c: File removed.
67515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67516 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67518 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67519
67520 [BZ #14138]
67521 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67522 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67523 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67524 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67525
67526 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67527 compat_symbol macros from <shlib-compat.h> rather than the underlying
67528 default_symbol_version and symbol_version macros, so that DEFAULT
67529 lines in shlib-versions are respected.
67530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67531
67532 2012-08-01 Florian Weimer <fweimer@redhat.com>
67533
67534 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67535 Declare with warn_unused_result.
67536 (setgid, setregid, setegid, setresgid): Likewise.
67537 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67538 Likewise.
67539 * WUR-REPORT: Remove set*id functions.
67540
67541 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67542
67543 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67544
67545 2012-07-31 Roland McGrath <roland@hack.frob.com>
67546
67547 [BZ #10191]
67548 * include/sys/socket.h (__libc_accept, __libc_accept4):
67549 Add attribute_hidden.
67550 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67551
67552 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67553 use of PTR_MANGLE.
67554 * inet/getnetgrent_r.c (setup): Likewise.
67555
67556 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67557
67558 2012-07-31 David S. Miller <davem@davemloft.net>
67559
67560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67561
67562 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67563
67564 [BZ #13629]
67565 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67566 value between 1.0 and 2.0 and smaller part has absolute value less
67567 than 1.0.
67568 * math/s_clog10.c (__clog10): Likewise.
67569 * math/s_clog10f.c (__clog10f): Likewise.
67570 * math/s_clog10l.c (__clog10l): Likewise.
67571 * math/s_clogf.c (__clogf): Likewise.
67572 * math/s_clogl.c (__clogl): Likewise.
67573 * math/libm-test.inc (clog_test): Add more tests.
67574 (clog10_test): Likewise.
67575 * sysdeps/i386/fpu/libm-test-ulps: Update.
67576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67577
67578 2012-07-31 Florian Weimer <fweimer@redhat.com>
67579
67580 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67581 Exit with zero in case no suitable GID is found, and write a
67582 message to standard error.
67583
67584 2012-07-30 Roland McGrath <roland@hack.frob.com>
67585
67586 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67587 rather than to 1.
67588 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67589 (MAXPATHLEN): Removed.
67590 (NOGROUP, NODEV): New macros.
67591 (setbit, clrbit, isset, isclr): New macros.
67592 (howmany, roundup, powerof2): New macros.
67593 (DEV_BSIZE): New macro.
67594
67595 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67596 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67597
67598 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67599 definition on [!__NO_LONG_DOUBLE_MATH].
67600
67601 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67602 PTR_MANGLE and PTR_DEMANGLE.
67603
67604 * socket/accept4.c (accept4): Rename to __libc_accept4.
67605 Define accept4 as a weak alias.
67606
67607 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67608 on [_DIRENT_HAVE_D_TYPE].
67609 * io/ftw.c (ftw_dir): Likewise.
67610
67611 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67612
67613 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67614
67615 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67616 Use the BSD numbers rather than the arbitrary ones we had.
67617 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67618 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67619 (SIGXCPU, SIGXFSZ): New macros.
67620 (_NSIG): Now 32.
67621
67622 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67623 initializer on [_LIBC_REENTRANT].
67624
67625 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67626 definitions inside [_POSIX_MAPPED_FILES].
67627
67628 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67629
67630 * dirent/opendir.c: Include <fcntl.h>.
67631
67632 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67633 (__libc_getspecific): Likewise.
67634 (__libc_key_create): Likewise.
67635
67636 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67637 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67638 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67639 (tmpfile64): Define as alias.
67640 * sysdeps/wordsize-64/tmpfile.c: File removed.
67641 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67642 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67644
67645 * stdio-common/vfscanf.c: Include <stdbool.h>.
67646 * nss/makedb.c: Likewise.
67647 * stdio-common/_i18n_number.h: Likewise.
67648 * argp/argp-help.c: Likewise.
67649 * posix/wordexp.c: Likewise.
67650 * sysdeps/posix/spawni.c: Likewise.
67651 * nss/nss_files/files-initgroups.c: Likewise.
67652 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67653 * nss/nss_files/files-initgroups.c: Likewise.
67654 * nss/nss_db/db-netgrp.c: Likewise.
67655 * nss/nss_db/db-initgroups.c: Likewise.
67656 * io/fchmodat.c: Include <sys/stat.h>.
67657
67658 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67659 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67660
67661 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67662 [HAVE_MMAP].
67663
67664 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67665 Add multiple inclusion protection.
67666
67667 2012-07-27 David S. Miller <davem@davemloft.net>
67668
67669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67670
67671 2012-07-27 Gary Benson <gbenson@redhat.com>
67672
67673 [BZ #14298]
67674 * elf/rtld.c: Include <stap-probe.h>.
67675 (dl_main): Added static probes "init_start" and "init_complete".
67676 * elf/dl-load.c: Include <stap-probe.h>.
67677 (lose): Take new parameter "nsid".
67678 Added static probe "map_failed".
67679 (_dl_map_object_from_fd): Pass namespace id to lose.
67680 Added static probe "map_start".
67681 (open_verify): Pass namespace id to lose.
67682 * elf/dl-open.c: Include <stap-probe.h>.
67683 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67684 and "reloc_complete".
67685 * elf/dl-close.c: Include <stap-probe.h>.
67686 (_dl_close_worker): Added static probes "unmap_start" and
67687 "unmap_complete".
67688 * elf/rtld-debugger-interface.txt: New file documenting the above.
67689
67690 2012-07-26 Roland McGrath <roland@hack.frob.com>
67691
67692 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67693 rather than a string variable.
67694 * sunrpc/rpc_main.c (h_output): Likewise.
67695 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67696
67697 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67698
67699 * inet/check_native.c: New file.
67700
67701 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67702
67703 [BZ #13629]
67704 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67705 if larger part has absolute value 1.0.
67706 * math/s_clog10.c (__clog10): Likewise.
67707 * math/s_clog10f.c (__clog10f): Likewise.
67708 * math/s_clog10l.c (__clog10l): Likewise.
67709 * math/s_clogf.c (__clogf): Likewise.
67710 * math/s_clogl.c (__clogl): Likewise.
67711 * math/libm-test.inc (clog_test): Add more tests.
67712 (clog10_test): Likewise.
67713 * sysdeps/i386/fpu/libm-test-ulps: Update.
67714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67715
67716 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67717 (pltexit): Likewise.
67718 (La_regs): Likewise.
67719 (La_retval): Likewise.
67720 (int_retval): Likewise.
67721 Update #error for removed macros to refer only to definitions in
67722 tst-audit.h.
67723 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67724 macro.
67725 (pltexit): Likewise.
67726 (La_regs): Likewise.
67727 (La_retval): Likewise.
67728 (int_retval): Likewise.
67729 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67730 macro.
67731 (pltexit): Likewise.
67732 (La_regs): Likewise.
67733 (La_retval): Likewise.
67734 (int_retval): Likewise.
67735 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67736 macro.
67737 (pltexit): Likewise.
67738 (La_regs): Likewise.
67739 (La_retval): Likewise.
67740 (int_retval): Likewise.
67741 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67742 macro.
67743 (pltexit): Likewise.
67744 (La_regs): Likewise.
67745 (La_retval): Likewise.
67746 (int_retval): Likewise.
67747 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67748 macro.
67749 (pltexit): Likewise.
67750 (La_regs): Likewise.
67751 (La_retval): Likewise.
67752 (int_retval): Likewise.
67753 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67754 macro.
67755 (pltexit): Likewise.
67756 (La_regs): Likewise.
67757 (La_retval): Likewise.
67758 (int_retval): Likewise.
67759 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67760 macro definitions in tst-audit.h.
67761 * sysdeps/i386/tst-audit.h: New file.
67762 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67763 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67764 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67765 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67766 * sysdeps/sh/tst-audit.h: Likewise.
67767 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67768 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67769 * sysdeps/x86_64/tst-audit.h: Likewise.
67770
67771 2012-07-26 Andreas Jaeger <aj@suse.de>
67772
67773 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67774 ptrace.
67775
67776 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67777 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67778 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67779 PTRACE_O_MASK.
67780 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67781 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67782 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67783
67784 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67785 value.
67786
67787 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67788 _sigsys.
67789 (si_call_addr, si_syscall, si_arch): Define new macro.
67790 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67791 _sigsys.
67792 (si_call_addr, si_syscall, si_arch): Define new marcro.
67793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67794 _sigsys.
67795 (si_call_addr, si_syscall, si_arch): Define new macro.
67796 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67797 _sigsys.
67798 (si_call_addr, si_syscall, si_arch): Define new macro.
67799
67800 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67801
67802 [BZ #13717]
67803 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67804 Change to 2.4.21 where previously 2.4.1.
67805 * sysdeps/unix/sysv/linux/configure: Regenerated.
67806 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67807 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67808 Linux kernel version.
67809 (__ASSUME_STD_AUXV): Remove.
67810 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67811 kernel version.
67812 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67813 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67814 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67815 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67816 (__ASSUME_NETLINK_SUPPORT): Likewise.
67817 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67818 (__no_netlink_support): Remove conditional definition.
67819 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67820 Remove.
67821 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67822 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67823 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67824 (if_nameindex_ioctl): Remove.
67825 (if_nameindex_netlink): Do not handle __no_netlink_support.
67826 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67827 code.
67828 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67829 Remove conditional code.
67830 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67831 code.
67832 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67833 unconditional.
67834 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67835 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67836 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67837 Remove.
67838 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67839 [!__ASSUME_STD_AUXV]: Remove conditional code.
67840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67841 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67842 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67844 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67845 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67846 code.
67847 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67849 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67850 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67851 conditional code.
67852 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67854 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67855 code.
67856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67857 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67858 conditional code.
67859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67860 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67861 code unconditional.
67862 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67863 conditional code.
67864 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67865 unconditional.
67866 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67867 conditional code.
67868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67869 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67870 unconditional.
67871 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67872 conditional code.
67873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67874 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67875 code unconditional.
67876 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67877 conditional code.
67878 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67879 unconditional.
67880 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67881 conditional code.
67882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67883 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67884 code unconditional.
67885 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67886 conditional code.
67887 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67888 unconditional.
67889 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67890 conditional code.
67891
67892 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67893
67894 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67895 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67896 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67897 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67898 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67899 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67900 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67901 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67902 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67903 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67904 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67905 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67906 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67907 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67908 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67909 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67910 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67912 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67914 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67915 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67917
67918 2012-07-25 Florian Weimer <fweimer@redhat.com>
67919
67920 * Versions.def: Add GLIBC_2.17.
67921 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67922 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67923 Introduce __libc_secure_getenv.
67924 * stdlib/Versions (2.17): Add secure_getenv
67925 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67926 * stdlib/secure-getenv.c: Rename __secure_getenv to
67927 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67928 symbol __secure_getenv for GLIBC_2.0.
67929 * stdlib/tst-secure-getenv.c: New.
67930 * stdlib/Makefile (tests): Add testcase.
67931 * manual/startup.texi (Environment Access): Document
67932 secure_getenv.
67933 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67934 __libc_secure_getenv.
67935 * inet/ruserpass.c (ruserpass): Likewise.
67936 * malloc/mtrace.c (mtrace): Likewise.
67937 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67938 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67939 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67940 * sysdeps/posix/tempname.c: Likewise. Evaluate
67941 HAVE_SECURE_GETENV.
67942 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67943 __secure_getenv to __libc_secure_getenv.
67944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67946 Likewise.
67947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67948 Likewise.
67949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67951 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67956
67957 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67958
67959 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67960 (struct La_i86_retval): Likewise.
67961 (struct La_x86_64_regs): Likewise.
67962 (struct La_x86_64_retval): Likewise.
67963 (struct La_x32_regs): Likewise.
67964 (struct La_x32_retval): Likewise.
67965 (struct La_ppc32_regs): Likewise.
67966 (struct La_ppc32_retval): Likewise.
67967 (struct La_ppc64_regs): Likewise.
67968 (struct La_ppc64_retval): Likewise.
67969 (struct La_sh_regs): Likewise.
67970 (struct La_sh_retval): Likewise.
67971 (struct La_s390_32_regs): Likewise.
67972 (struct La_s390_32_retval): Likewise.
67973 (struct La_s390_64_regs): Likewise.
67974 (struct La_s390_64_retval): Likewise.
67975 (struct La_sparc32_regs): Likewise.
67976 (struct La_sparc32_retval): Likewise.
67977 (struct La_sparc64_regs): Likewise.
67978 (struct La_sparc64_retval): Likewise.
67979 (struct audit_ifaces): Remove architecture-specific pltenter and
67980 pltexit members.
67981 * sysdeps/i386/ldsodefs.h: New file.
67982 * sysdeps/powerpc/ldsodefs.h: Likewise.
67983 * sysdeps/s390/ldsodefs.h: Likewise.
67984 * sysdeps/sh/ldsodefs.h: Likewise.
67985 * sysdeps/sparc/ldsodefs.h: Likewise.
67986 * sysdeps/x86_64/ldsodefs.h: Likewise.
67987
67988 2012-07-25 Marek Polacek <polacek@redhat.com>
67989
67990 [BZ #6808]
67991 * math/libm-test.inc (yn_test): Add another test.
67992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67993 to ERANGE when the result is +-Inf.
67994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67995 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67996 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67997 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67998
67999 2012-07-24 Joseph Myers <joseph@codesourcery.com>
68000
68001 * conform/data/time.h-data (NULL): Use macro-constant. Require
68002 equal to 0.
68003 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
68004 clock_t.
68005 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
68006
68007 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
68008
68009 * configure.in <sysdeps resolving>: Correct printing
68010 Implies_before.
68011 * configure: Regenerate.
68012
68013 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
68014
68015 * math/w_ilogb.c: Include <limits.h>.
68016 * math/w_ilogbl.c: Likewise.
68017
68018 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68019
68020 * manual/lang.texi (__va_copy): Document primarily as ISO C99
68021 va_copy. Document allowing for unavailable va_copy only as
68022 pre-C99 compatibility.
68023 * manual/string.texi (Copying and Concatenation): Use va_copy
68024 instead of __va_copy in concat example.
68025
68026 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
68027
68028 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68029 (__sendto): Use create_address_port. Initialize APORT and deallocate
68030 it if not null.
68031
68032 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68033 with O_NOLINK passed to __file_name_lookup.
68034
68035 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68036 with O_NOLINK passed to __file_name_lookup.
68037
68038 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68039 negative N or less than NGIDS.
68040
68041 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68042 type to string_t. Set ERANGE as errno and return it if NAME is not big
68043 enough. Use memcpy instead of strncpy.
68044
68045 2012-07-20 Joseph Myers <joseph@codesourcery.com>
68046
68047 * elf/Makefile (check-data): Remove.
68048 (localplt.data): New vpath directive.
68049 ($(objpfx)check-localplt.out): Use localplt.data from vpath
68050 instead of $(check-data).
68051 * scripts/data/localplt-generic.data: Move to ...
68052 * sysdeps/generic/localplt.data: ... here.
68053 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68054 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68055 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68057 ... here.
68058 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68060 ... here.
68061 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68063 ... here.
68064 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68066 ... here.
68067 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68069 ... here.
68070 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68072 ... here.
68073
68074 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68075
68076 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68077 PPC32 and PPC64 files.
68078 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68079 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68080
68081 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68082
68083 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68084 __makecontext_ret to ...
68085 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68086 ... here and call exit if uc_link is NULL. New file.
68087 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68088 __makecontext_ret.S.
68089 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68090 __makecontext_ret to ...
68091 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68092 ... here and call exit if uc_link is NULL. New file.
68093 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68094 __makecontext_ret.S.
68095
68096 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68097
68098 * elf/elf.h (R_390_IRELATIVE): New definition.
68099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68100 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68101 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68102 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68103 (elf_machine_lazy_rel): Likewise.
68104 * sysdeps/s390/dl-irel.h: New file.
68105 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68106 * sysdeps/s390/s390-64/memset.S: New asm code.
68107 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68108 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68109 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68110 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68111 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68112 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68113 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68114 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68115 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68116 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68117 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68118 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68119 * sysdeps/s390/s390-32/memset.S: New asm code.
68120 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68121
68122 2012-07-17 Marek Polacek <polacek@redhat.com>
68123
68124 [BZ #14349]
68125 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68126 * sysdeps/s390/s390-64/configure.in: Likewise.
68127 * sysdeps/sparc/configure.in: Likewise.
68128 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68129 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68130 * sysdeps/i386/configure.in: Likewise.
68131 * sysdeps/x86_64/configure.in: Likewise.
68132 * sysdeps/sh/configure.in: Likewise.
68133 * sysdeps/s390/s390-32/configure: Regenerated.
68134 * sysdeps/s390/s390-64/configure: Likewise.
68135 * sysdeps/x86_64/configure: Likewise.
68136 * sysdeps/sh/configure: Likewise.
68137 * sysdeps/powerpc/powerpc64/configure: Likewise.
68138 * sysdeps/powerpc/powerpc32/configure: Likewise.
68139 * sysdeps/sparc/configure: Likewise.
68140 * sysdeps/i386/configure: Likewise.
68141
68142 * elf/dl-open.c: Comment fixes.
68143
68144 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68145
68146 * Makefile [CXX] (check-data): Remove.
68147 [CXX] (c++-types.data): New vpath directive.
68148 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68149 vpath. Do not allow for C++ type data being missing.
68150 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68151 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68152 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68153 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68154 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68155 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68156 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68158 ... here.
68159 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68161 ... here.
68162 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68164 ... here.
68165 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68167 ... here.
68168 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68170 ... here.
68171 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68173 ... here.
68174 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68176 ... here.
68177 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68179
68180 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68181 definitions to architecture-specific files.
68182 (TLS_IE): Likewise.
68183 (TLS_LD): Likewise.
68184 (TLS_GD): Likewise.
68185 * sysdeps/i386/tls-macros.h: New file.
68186 * sysdeps/powerpc/tls-macros.h: Likewise.
68187 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68188 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68189 * sysdeps/sh/tls-macros.h: Likewise.
68190 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68191 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68192 * sysdeps/x86_64/tls-macros.h: Likewise.
68193
68194 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68195
68196 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68197 zero value for regular exit case.
68198
68199 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68200 (__start_context): Preserve zero value for regular exit case.
68201
68202 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68203 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68204
68205 * manual/setjmp.texi (setcontext): Clarify normal process
68206 termination when uc_link is the null pointer.
68207 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68208 exit call.
68209
68210 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68211
68212 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68213 preprocessor. Test for each exception mask separately.
68214
68215 2012-07-16 Andreas Jaeger <aj@suse.de>
68216
68217 * po/ru.po: Update from translation team.
68218
68219 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68220
68221 * conform/data/string.h-data (NULL): Use macro-constant. Require
68222 equal to 0.
68223 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68224 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68225 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68226 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68228
68229 2012-07-13 Andreas Jaeger <aj@suse.de>
68230
68231 * po/fr.po: Update from translation team.
68232
68233 2012-07-12 Marek Polacek <polacek@redhat.com>
68234
68235 [BZ #14173]
68236 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68237 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68238 loop condition.
68239
68240 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68241
68242 [BZ #13717]
68243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68244 Change to 2.4.1 where previously 2.4.0.
68245 * sysdeps/unix/sysv/linux/configure: Regenerated.
68246 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68247 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68248 version.
68249 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68250 (__ASSUME_AT_CLKTCK): Remove.
68251 (__ASSUME_AT_PAGESIZE): Likewise.
68252 (__ASSUME_AT_XID): Likewise.
68253 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68254 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68255 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68256 unconditionally.
68257 (HAVE_AUX_PAGESIZE): Likewise.
68258 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68259 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68260 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68261
68262 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68263
68264 [BZ #14307]
68265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68266 the temporary buffer used to invoke __gethostbyname2_r,
68267 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68268 host_data / struct gaih_addrtuple.
68269 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68270 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68271 header file nss/nsswitch.h.
68272 * nss/nsswitch.h (global scope): Add definition of implementation
68273 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68274 resolv/nss_dns/dns-host.c).
68275
68276 2012-07-11 Andreas Jaeger <aj@suse.de>
68277
68278 * po/fr.po: Update from translation team.
68279
68280 * po/sv.po: Update from translation team
68281 * po/fr.po: Another update from translation team.
68282
68283 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68284
68285 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68286 for subnormals or multiply small sinh result by itself.
68287 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68289
68290 2012-07-11 David S. Miller <davem@davemloft.net>
68291
68292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68293
68294 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68295
68296 [BZ #14347]
68297 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68298 (INTERNAL_MARK): Shift it here.
68299
68300 2012-07-10 Marek Polacek <polacek@redhat.com>
68301
68302 [BZ #14151]
68303 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68304 libc_cv_asm_global_directive with .globl.
68305 * configure: Regenerated.
68306 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68307 with .globl.
68308 * sysdeps/i386/configure: Regenerated.
68309 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68310 with .globl.
68311 * sysdeps/x86_64/configure: Regenerated.
68312 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68313 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68314 * elf/tst-unique2mod2.c: Likewise.
68315 * elf/tst-unique2mod1.c: Likewise.
68316 * elf/tst-unique1mod2.c: Likewise.
68317 * elf/tst-unique1mod1.c: Likewise.
68318 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68320 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68321 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68322 * sysdeps/mach/sysdep.h: Likewise.
68323 * sysdeps/i386/sysdep.h: Likewise.
68324 * sysdeps/i386/i386-mcount.S: Likewise.
68325 * sysdeps/x86_64/_mcount.S: Likewise.
68326 * sysdeps/x86_64/sysdep.h: Likewise.
68327 * sysdeps/sh/_mcount.S: Likewise.
68328 * sysdeps/sh/sysdep.h: Likewise.
68329 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68330 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68331 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68333 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68334 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68335 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68336 * locale/localeinfo.h: Likewise.
68337 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68338 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68339
68340 2012-07-09 Roland McGrath <roland@hack.frob.com>
68341
68342 [BZ #14336]
68343 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68344 system".
68345 * manual/message.texi (The Uniforum approach): Likewise.
68346 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68347 (glibc iconv Implementation): Likewise.
68348
68349 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68350
68351 [BZ #14337]
68352 * math/s_clog.c (__clog): Avoid scaling a value down where that
68353 could result in underflow.
68354 * math/s_clog10.c (__clog10): Likewise.
68355 * math/s_clog10f.c (__clog10f): Likewise.
68356 * math/s_clog10l.c (__clog10l): Likewise.
68357 * math/s_clogf.c (__clogf): Likewise.
68358 * math/s_clogl.c (__clogl): Likewise.
68359 * math/libm-test.inc (clog_test): Add more tests.
68360 (clog10_test): Likewise.
68361 * sysdeps/i386/fpu/libm-test-ulps: Update.
68362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68363
68364 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68365
68366 [BZ #14283]
68367 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68368 by 7 not 8 to examine high bit of fractional part.
68369
68370 [BZ #14042]
68371 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68372 for call to __mcount_internal.
68373 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68374 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68375 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68376
68377 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68378
68379 [BZ #14154]
68380 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68381 approximation for values within 0x1p-13f of an odd multiple of
68382 pi/4.
68383 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68384 exception. Add more tests.
68385 * sysdeps/i386/fpu/libm-test-ulps: Update.
68386
68387 [BZ #6778]
68388 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68389 inputs and return -1 for them. Do not check for +Inf in case not
68390 reachable for +Inf.
68391 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68392 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68393 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68394 and return -1 for them. Do not check for +Inf in case not
68395 reachable for +Inf.
68396 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68397 define.
68398 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68399 and return -1 for them. Do not check for +Inf in case not
68400 reachable for +Inf.
68401 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68402 spurious underflow.
68403 * sysdeps/i386/fpu/libm-test-ulps: Update.
68404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68405
68406 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68407
68408 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68409
68410 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68411
68412 [BZ #14157]
68413 [BZ #14331]
68414 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68415 could result in spurious underflow. Scale down values above
68416 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68417 * math/s_csqrtf.c (__csqrtf): Likewise.
68418 * math/s_csqrtl.c (__csqrtl): Likewise.
68419 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68420 spurious underflow.
68421 * sysdeps/i386/fpu/libm-test-ulps: Update.
68422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68423
68424 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68425
68426 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68427 xopen-msg.sed.
68428 * catgets/xopen-msg.awk: New file.
68429 * catgets/xopen-msg.sed: Removed.
68430
68431 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68432 po2text.sed.
68433 * intl/po2test.awk: New file.
68434 * intl/po2test.sed: Removed.
68435
68436 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68437
68438 [BZ #14328]
68439 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68440 or multiply small sinh result by itself.
68441 * math/s_ctanf.c (__ctanf): Likewise.
68442 * math/s_ctanh.c (__ctanh): Likewise.
68443 * math/s_ctanhf.c (__ctanhf): Likewise.
68444 * math/s_ctanhl.c (__ctanhl): Likewise.
68445 * math/s_ctanl.c (__ctanl): Likewise.
68446 * math/libm-test.inc (ctan_test_tonearest): New function.
68447 (ctan_test_towardzero): Likewise.
68448 (ctan_test_downward): Likewise.
68449 (ctan_test_upward): Likewise.
68450 (ctanh_test_tonearest): Likewise.
68451 (ctanh_test_towardzero): Likewise.
68452 (ctanh_test_downward): Likewise.
68453 (ctanh_test_upward): Likewise.
68454 (main): Call these new functions.
68455 * sysdeps/i386/fpu/libm-test-ulps: Update.
68456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68457
68458 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68459
68460 * .gitignore: Delete /ports entry.
68461
68462 2012-07-03 Andreas Jaeger <aj@suse.de>
68463
68464 * po/bg.po: Update from translation team.
68465 * po/cs.po: Likewise.
68466 * po/de.po: Likewise.
68467 * po/hr.po: Likewise.
68468 * po/nl.pl: Likewise.
68469 * po/pl.po: Likewise.
68470 * po/vi.po: Likewise.
68471
68472 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68473
68474 * Makeconfig [!+link] (+link-before-libc): New variable.
68475 [!+link] (+link-after-libc): Likewise.
68476 [!+link] (+link-tests): Likewise.
68477 [!+link] (+link): Define in terms of $(+link-before-libc) and
68478 $(+link-after-libc).
68479 [!+link-static] (+link-static-before-libc): New variable.
68480 [!+link-static] (+link-static-after-libc): Likewise.
68481 [!+link-static] (+link-static-tests): Likewise.
68482 [!+link-static] (+link-static): Define in terms of
68483 $(+link-static-before-libc) and $(+link-static-after-libc).
68484 [build-shared] (link-libc-before-gnulib): New variable.
68485 [build-shared] (link-libc-tests): Likewise.
68486 [build-shared] (link-libc): Define in terms of
68487 $(link-libc-before-gnulib).
68488 [!build-shared] (link-libc-tests): New variable.
68489 (link-libc-static-tests): New variable.
68490 [!gnulib] (gnulib-arch): New variable.
68491 [!gnulib] (gnulib-tests): Likewise.
68492 [!gnulib] (static-gnulib-arch): Likewise.
68493 [!gnulib] (static-gnulib-tests): Likewise.
68494 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68495 Define with "=" instead of ":=".
68496 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68497 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68498 * Rules (binaries-all-notests): New variable.
68499 (binaries-all-tests): Likewise.
68500 (binaries-static-notests): Likewise.
68501 (binaries-static-tests): Likewise.
68502 (binaries-all): Define using $(binaries-all-notests) and
68503 $(binaries-all-tests).
68504 (binaries-static): Define using $(binaries-static-notests) and
68505 $(binaries-static-tests).
68506 (binaries-shared-tests): New variable.
68507 (binaries-shared-notests): Likewise.
68508 (binaries-shared): Remove variable.
68509 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68510 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68511 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68512 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68513 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68514 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68515 * elf/Makefile (sln-modules): New variable.
68516 (extra-objs): Add $(sln-modules:=.o).
68517 (ldconfig-modules): Add static-stubs.
68518 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68519 * elf/static-stubs.c: New file.
68520
68521 [BZ #14283]
68522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68523 by 7 not 8 to examine high bit of fractional part. Use volatile
68524 variables when splitting into final array of floats if
68525 __FLT_EVAL_METHOD__ != 0.
68526 * math/libm-test.inc (cos_test): Add another test.
68527 (sin_test): Likewise.
68528 * sysdeps/i386/fpu/libm-test-ulps: Update.
68529
68530 [BZ #14273]
68531 * math/libm-test.inc (cosh_test): Add more tests.
68532
68533 * version.h (RELEASE): Set to "development".
68534 (VERSION): Set to "2.16.90".
68535
68536 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68537
68538 * NEWS: Update copyright. Remove last-updated date.
68539 Mention math library bug fixes and timezone data changes.
68540 * README: Mention GNU/Hurd, x32, and HPPA support status.
68541
68542 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68543
68544 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68545
68546 2012-06-27 Andreas Jaeger <aj@suse.de>
68547
68548 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68549
68550 2012-06-25 Andreas Jaeger <aj@suse.de>
68551
68552 * sysdeps/s390/fpu/libm-test-ulps: Update.
68553
68554 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68555 Thomas Schwinge <thomas@codesourcery.com>
68556
68557 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68558 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68559 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68560 fanotify_mark.
68561
68562 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68563
68564 * sysdeps/mach/start.c: Remove file.
68565 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68566 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68567 * sysdeps/sh/init-first.c: Likewise.
68568
68569 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68570 registers for frame unwinding purposes, add CFI directives.
68571 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68573 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68574 Likewise.
68575
68576 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68577 __fortify_fail returning.
68578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68579
68580 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68581 sysdeps/sh/____longjmp_chk.S.
68582 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68583 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68584 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68585 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68586
68587 * sysdeps/sh/abort-instr.h: New file.
68588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68589 process in case exit returns.
68590
68591 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68592 initialize the GOT register before use.
68593
68594 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68595 calculation of ARGC > 4.
68596
68597 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68598 meaningful names to some local labels.
68599
68600 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68601 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68602
68603 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68604 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68605 (__arch_compare_and_exchange_val_16_acq): Likewise.
68606 (__arch_compare_and_exchange_val_32_acq): Likewise.
68607 (atomic_exchange_and_add): Fix gUSA sequence.
68608 (atomic_add): Likewise.
68609 (atomic_add_negative): Likewise.
68610 (atomic_add_zero): Likewise.
68611 (atomic_bit_test_set): Likewise.
68612
68613 2012-06-22 Andreas Schwab <schwab@redhat.com>
68614
68615 [BZ #13579]
68616 * include/link.h (struct link_map): Add l_free_initfini.
68617 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68618 l_initfini.
68619 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68620 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68621 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68622 set.
68623
68624 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68625
68626 * configure.in: Use AC_LANG_SOURCE.
68627 * configure: Regenerate.
68628
68629 2012-06-22 Roland McGrath <roland@hack.frob.com>
68630
68631 * configure.in (libc_cv_localstatedir): New substituted variable.
68632 * configure: Regenerated.
68633 * config.make.in (localstatedir): New variable, substituted from
68634 libc_cv_localstatedir.
68635 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68636 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68637 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68638 * sysdeps/gnu/configure: Regenerated.
68639
68640 2012-06-21 Jeff Law <law@redhat.com>
68641
68642 [BZ #14277]
68643 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68644 free. Simplify list management for _LIBC case.
68645
68646 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68647
68648 [BZ #14273]
68649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68650 Clear sign bit of 64-bit integer value before comparing against
68651 overflow value.
68652
68653 * sysdeps/mach/configure: Regenerated.
68654
68655 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68656
68657 [BZ #14278]
68658 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68659
68660 2012-06-21 Jeff Law <law@redhat.com>
68661
68662 [BZ #13882]
68663 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68664 uint16_t for elements in the "seen" array to avoid char overflows.
68665 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68666 * elf/dl-open.c (dl_open_worker): Likewise.
68667
68668 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68669
68670 * scripts/list-sources.sh: Scan PORTS for translations.
68671 * po/libc.pot: Regenerated.
68672
68673 2012-06-21 Andreas Jaeger <aj@suse.de>
68674
68675 [BZ #12194]
68676 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68677 warning.
68678 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68679 * bits/byteswap-16.h (__bswap_16): Likewise.
68680 * bits/byteswap.h (__bswap_constant_16): Likewise.
68681
68682 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68683
68684 [BZ #14117]
68685 * sysdeps/i386/fpu_control.h: Removed.
68686 * sysdeps/x86_64/fpu_control.h: Moved to ...
68687 * sysdeps/x86/fpu_control.h: Here.
68688
68689 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68690 (_FPU_SETCW): Likewise.
68691
68692 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68693
68694 [BZ #14117]
68695 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68696 * sysdeps/x86/fpu/bits/mathinline.h: This.
68697 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68698
68699 [BZ #14050]
68700 [BZ #14117]
68701 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68702 functions if __x86_64__ is defined.
68703
68704 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68705
68706 * string/endian.h: Add !__ASSEMBLER__ condition for including
68707 conversion interfaces.
68708
68709 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68710
68711 [BZ #14241]
68712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68713 of ABS(x) in calculating zero to negative powers other than odd
68714 integers.
68715 * math/libm-test.inc (pow_test): Add more tests.
68716
68717 2012-06-15 Andreas Jaeger <aj@suse.de>
68718
68719 * manual/contrib.texi (Contributors): Update entry of Liubov
68720 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68721 Machado Filho.
68722
68723 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68724
68725 * string/string.h: Add __wur to GNU version of strerror_r.
68726
68727 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68728
68729 [BZ #14229]
68730 * string/Makefile (tests): Add tst-strtok_r.
68731 * string/tst-strtok_r.c: New file.
68732 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68733 RAX_LP/RDX_LP on SAVE_PTR.
68734
68735 2012-06-14 Roland McGrath <roland@hack.frob.com>
68736
68737 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68738
68739 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68740
68741 * libm_test.inc (csqrt_test): Allow more spurious underflow
68742 exceptions.
68743 (j0_test): Likewise.
68744 (j1_test): Likewise.
68745 (y0_test): Likewise.
68746 (y1_test): Likewise.
68747
68748 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68749
68750 * po/Makefile (libc.pot): Use UTF-8 charset.
68751
68752 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68753
68754 [BZ #14210]
68755 Suppress sign-conversion warning from FD_SET.
68756 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68757 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68758 not unsigned long int.
68759 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68760
68761 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68762
68763 [BZ #14050]
68764 [BZ #14117]
68765 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68766 __extern_always_inline instead of __extern_inline.
68767 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68768 (__signbit): Likewise.
68769 (__signbitl): Support C++ namespace.
68770 (lrintf): New inline function.
68771 (lrint): Likewise.
68772 (llrintf): Likewise.
68773 (llrint): Likewise.
68774 (fmaxf): Likewise.
68775 (fmax): Likewise.
68776 (fminf): Likewise.
68777 (fmin): Likewise.
68778 (rint): Likewise.
68779 (rintf): Likewise.
68780 (ceil): Likewise.
68781 (ceilf): Likewise.
68782 (floor): Likewise.
68783 (floorf): Likewise.
68784 (nearbyint): Likewise.
68785 (nearbyintf): Likewise.
68786
68787 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68788
68789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68790 non-default versions.
68791
68792 2012-06-11 Roland McGrath <roland@hack.frob.com>
68793
68794 [BZ #14218]
68795 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68796
68797 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68798
68799 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68800 (FE_UPWARD, FE_DOWNWARD): Don't define.
68801 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68802 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68803
68804 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68805 reading it.
68806 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68807 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68808
68809 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68810
68811 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68812 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68813 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68814 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68815
68816 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68817
68818 [BZ #14117]
68819 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68820 * sysdeps/i386/fpu/Implies: New file.
68821 * sysdeps/x86_64/fpu/Implies: Likewise.
68822 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68823 * sysdeps/x86/fpu/bits/fenv.h: This.
68824
68825 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68826 __SSE_MATH__.
68827
68828 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68829
68830 [BZ #14134]
68831 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68832 character 0xffff that matches the last element of the
68833 conversion table.
68834
68835 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68836
68837 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68838 fmodl commit.
68839
68840 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68841
68842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68843 values higher than 25.6283.
68844
68845 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68846
68847 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68848 subnormal exponent extraction and add some __builtin_expect.
68849 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68850 Fix for subnormal mantissa calculation.
68851
68852 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68853
68854 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68855 cpu2 is -1 and errno is not ENOSYS.
68856
68857 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68858
68859 [BZ #14117]
68860 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68861 * sysdeps/x86/bits/string.h: This.
68862 * sysdeps/x86_64/bits/string.h: Removed.
68863
68864 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68865 if not compiling for x86-64, but compiling for >= i486.
68866
68867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68868 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68869
68870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68871 New macro from Linux kernel 3.4.0.
68872 (FP_XSTATE_MAGIC2): Likewise.
68873 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68874 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68875 (struct _fpx_sw_bytes): New struct.
68876 (struct _xsave_hdr): Likewise.
68877 (struct _ymmh_state): Likewise.
68878 (struct _xstate): Likewise.
68879
68880 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68881 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68883 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68884 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68885 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68886
68887 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68888 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68889 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68890 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68891 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68892 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68893
68894 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68895
68896 [BZ #13743]
68897 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68898 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68899 (sysdep_headers): Include sys/platform/ppc.h.
68900 * sysdeps/powerpc/test-gettimebase.c: Test for
68901 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68902 * manual/Makefile (appendices): Include platform.texi.
68903 * manual/contrib.texi (Contributors): Update @node pointers.
68904 * manual/maint.texi (Maintenance): Likewise.
68905 (Platform): New node.
68906 * manual/platform.texi: New file. Document the new features.
68907
68908 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68909 Jakub Jelinek <jakub@redhat.com>
68910
68911 [BZ #14188]
68912 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68913 where __builtin_expect is unavailable.
68914
68915 2012-06-03 David S. Miller <davem@davemloft.net>
68916
68917 * stdlib/longlong.h: Updated from GCC.
68918
68919 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68920
68921 [BZ #14042]
68922 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68923 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68924 __mcount_internal.
68925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68926 (GLIBC_2.16): Likewise.
68927
68928 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68929
68930 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68931
68932 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68933
68934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68935 (default-abi): New variable.
68936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68937 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68938 variable.
68939 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68940 Likewise.
68941 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68942 Likewise.
68943 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68944 Likewise.
68945
68946 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68947 definition. Document in comment.
68948
68949 2012-06-01 David S. Miller <davem@davemloft.net>
68950
68951 * stdlib/longlong.h: Updated from GCC.
68952
68953 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68954
68955 [BZ #14117]
68956 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68957 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68958 sys/debugreg.h sys/io.h here.
68959 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68960 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68961 sys/io.h.
68962 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68963 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68964 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68965 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68966 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68967 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68968
68969 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68970 Define only if __x86_64__ is defined.
68971
68972 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68973
68974 [BZ #14048]
68975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68976 Use int64_t for variable i.
68977 * math/libm-test.inc (fmod_test): Add more tests.
68978
68979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68980 z computation is not scheduled after fetestexcept.
68981 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68982 Use math_force_eval instead of asm to ensure calculation scheduled
68983 before exception test.
68984 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68985 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68986
68987 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
68988
68989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68990 computation is not scheduled after fetestexcept.
68991
68992 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68993
68994 [BZ #14117]
68995 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68996 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68997
68998 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68999
69000 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69001 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69002
69003 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69004
69005 [BZ #14117]
69006 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69007 <bits/wordsize.h>.
69008 (__WCHAR_MIN): Support __WORDSIZE == 64.
69009 (__WCHAR_MAX): Likewise.
69010
69011 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69012 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69013
69014 [BZ #14183]
69015 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69016 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69017
69018 [BZ #14117]
69019 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69020 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69021
69022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69023 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69024
69025 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69026 Defined to 1 if __x86_64__ isn't defined.
69027 (_STAT_VER_LINUX_OLD): New.
69028 (st_atime): Remove duplicate.
69029 (st_mtime): Likewise.
69030 (st_ctime): Likewise.
69031
69032 2012-05-31 David S. Miller <davem@davemloft.net>
69033
69034 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69035 entries.
69036
69037 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
69038
69039 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69040 gen-libm-test.pl.
69041
69042 [BZ #14132]
69043 * elf/dl-reloc.c: Include <_itoa.h>.
69044 (_dl_reloc_bad_type): Remove use of INTUSE.
69045 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69046 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69047 * stdio-common/psiginfo.c (psiginfo): Likewise.
69048 * stdio-common/psignal.c (psignal): Likewise.
69049 * string/strsignal.c (strsignal): Likewise.
69050 * include/signal.h (_sys_siglist): Declare hidden proto.
69051 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
69052 INTVARDEF with libc_hidden_data_def.
69053 * stdio-common/itoa-udigits.c: Likewise.
69054 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69055 (_itoa_lower_digits_internal): Remove declaration.
69056 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69057 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69058 (_sys_sigabbrev_internal): Remove aliases.
69059 (_sys_siglist): Define hidden alias.
69060
69061 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
69062
69063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69064 bits/sysctl.h.
69065
69066 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
69067
69068 [BZ #14117]
69069 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69070 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69071
69072 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69073 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69074 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69075 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69077 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69078
69079 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69080 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69081 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69082
69083 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69084 with __addr.
69085 (insw): Likewise.
69086 (insl): Likewise.
69087 (outsb): Likewise.
69088 (outsw): Likewise.
69089 (outsl): Likewise.
69090
69091 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69093 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69094
69095 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69096 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69097 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69098 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69099 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69100 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69101
69102 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69103 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69104
69105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69106 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69107
69108 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69109 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69110 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69111
69112 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69113 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69114 to ...
69115 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69116
69117 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69118 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69119 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69120
69121 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69122 for x86-64.
69123 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69124
69125 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69126
69127 * math/math.h (M_El): Use two more decimal places.
69128 (M_LOG2El): Likewise.
69129 (M_LOG10El): Likewise.
69130 (M_LN2l): Likewise.
69131 (M_LN10l): Likewise.
69132 (M_PIl): Likewise.
69133 (M_PI_2l): Likewise.
69134 (M_PI_4l): Likewise.
69135 (M_1_PIl): Likewise.
69136 (M_2_PIl): Likewise.
69137 (M_2_SQRTPIl): Likewise.
69138 (M_SQRT2l): Likewise.
69139 (M_SQRT1_2l): Likewise.
69140
69141 2012-05-31 David S. Miller <davem@davemloft.net>
69142
69143 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69144 values between float registers.
69145 * sysdeps/sparc/sparc64/memset.S: Likewise.
69146 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69147
69148 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69149
69150 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69151 -D_FORTIFY_SOURCE=1.
69152 (CPPFLAGS-tst-longjmp_chk.c): Define.
69153 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69154 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69155 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69156 CFLAGS-tst-wchar-h.c.
69157
69158 2012-05-31 Marek Polacek <polacek@redhat.com>
69159
69160 [BZ #14132]
69161 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69162 __endmntent_internal): Remove declaration.
69163 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69164 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69165 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69166
69167 2012-05-30 David S. Miller <davem@davemloft.net>
69168
69169 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69170 (___Q_simulate_exceptions): Use real FP ops rather than writing
69171 into the %fsr.
69172 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69173 Likewise.
69174
69175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69176
69177 [BZ #14117]
69178 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69179 * sysdeps/x86/bits/xtitypes.h: This.
69180
69181 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69182 * sysdeps/x86/bits/wordsize.h: This.
69183
69184 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69185 * sysdeps/x86/bits/huge_vall.h: This.
69186
69187 * sysdeps/i386/bits/select.h: Removed.
69188 * sysdeps/x86_64/bits/select.h: Renamed to ...
69189 * sysdeps/x86/bits/select.h: This.
69190
69191 * sysdeps/i386/bits/setjmp.h: Removed.
69192 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69193 * sysdeps/x86/bits/setjmp.h: This.
69194
69195 * sysdeps/i386/bits/mathdef.h: Removed.
69196 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69197 * sysdeps/x86/bits/mathdef.h: This.
69198
69199 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69200
69201 [BZ #14132]
69202 * include/sys/socket.h (__connect_internal)
69203 (__libc_sa_len_internal): Remove declaration.
69204 (__connect, __libc_sa_len): Declare hidden_proto.
69205 (SA_LEN): Remove use of INTUSE.
69206 * socket/connect.c: Add libc_hidden_def.
69207 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69208 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69209 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69210 alias.
69211 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69212 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69213 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69214 of adding _internal alias.
69215
69216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69217
69218 [BZ #14117]
69219 * sysdeps/i386/bits/link.h: Removed.
69220 * sysdeps/i386/bits/linkmap.h: Likewise.
69221 * sysdeps/x86_64/bits/link.h: Renamed to ...
69222 * sysdeps/x86/bits/link.h: This.
69223 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69224 * sysdeps/x86/bits/linkmap.h: This.
69225
69226 * sysdeps/i386/bits/endian.h: Removed.
69227 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69228 * sysdeps/x86/bits/endian.h: This.
69229
69230 * sysdeps/i386/bits/byteswap.h: Removed.
69231 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69232 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69233 * sysdeps/x86/bits/byteswap.h: This.
69234 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69235 * sysdeps/x86/bits/byteswap-16.h: This.
69236 * sysdeps/i386/Implies: Add x86.
69237 * sysdeps/x86_64/Implies: Likewise.
69238
69239 2012-05-30 David S. Miller <davem@davemloft.net>
69240
69241 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69242 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69243 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69244 (FP_TRAPPING_EXCEPTIONS): Define.
69245 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69246 (FP_TRAPPING_EXCEPTIONS): Define.
69247 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69248 subnormals only when inexact has been signalled or underflow
69249 exceptions are enabled.
69250 (_FP_PACK_CANONICAL): Likewise.
69251
69252 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69253
69254 [BZ #14183]
69255 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69256 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69257
69258 2012-05-30 Richard Henderson <rth@twiddle.net>
69259
69260 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69261 with #ifndef NOT_IN_libc.
69262
69263 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69264 marked to avoid plt entry.
69265
69266 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69267
69268 [BZ #14112]
69269 * Makeconfig (default-abi): New macro.
69270 (abi-includes): Likewise.
69271 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69272 $(abi-$(default-abi)-lib-soname) for soname if defined.
69273 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69274 abi-variants.
69275 * Makefile (installed-stubs): Likewise.
69276 * include/stubs-biarch.h: Removed.
69277 * scripts/lib-names.awk: Only handle one library at a time.
69278 * scripts/soversions.awk: Remove WORDSIZE support.
69279 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69280 entries.
69281 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69282 Removed.
69283 (syscall-list-default-condition): Likewise.
69284 (syscall-list-default-condition): Likewise.
69285 (syscall-list-includes): Likewise.
69286 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69287 syscall-list-* with abi-*. Handle undefined abi-variants.
69288 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69289 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69290 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69291 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69292 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69293 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69294 Removed.
69295 (syscall-list-32-options): Likewise.
69296 (syscall-list-32-condition): Likewise.
69297 (syscall-list-64-options): Likewise.
69298 (syscall-list-64-condition): Likewise.
69299 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69300 macro.
69301 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69302 Renamed to ...
69303 (abi-*): This.
69304 (abi-64-ld-soname): New macro.
69305 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69306 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69307 Renamed to ...
69308 (abi-*): This.
69309 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69310 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69311
69312 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69313
69314 * sysdeps/unix/sysv/linux/kernel-features.h
69315 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69316 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69317 include <kernel-features.h>.
69318 [!__NR_ftruncate64]: Remove conditional code.
69319 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69320 [__NR_ftruncate64]: Make code unconditional.
69321 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69322 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69323 include <kernel-features.h>.
69324 [!__NR_ftruncate64]: Remove conditional code.
69325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69326 [__NR_ftruncate64]: Make code unconditional.
69327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69329 include <kernel-features.h>.
69330 [!__NR_ftruncate64]: Remove conditional code.
69331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69332 [__NR_ftruncate64]: Make code unconditional.
69333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69335 include <kernel-features.h>.
69336 [!__NR_ftruncate64]: Remove conditional code.
69337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69338 [__NR_ftruncate64]: Make code unconditional.
69339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69340
69341 * configure.in (libc_cv_fpie): Weaken to a compile test using
69342 LIBC_TRY_CC_OPTION.
69343 * configure: Regenerated.
69344
69345 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69346
69347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69351 Refreshed.
69352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69358 Refreshed.
69359
69360 2012-05-27 David S. Miller <davem@davemloft.net>
69361
69362 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69363 (___Q_zero): New.
69364 (__Q_simulate_exceptions): Return void. Change to simulate
69365 exceptions by writing into the %fsr.
69366 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69367 (__Qp_handle_exceptions): Likewise.
69368 (numbers): Delete.
69369 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69370 __Qp_handle_exceptions.
69371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69372 __Qp_handle_exceptions.
69373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69374 as unused and give dummy FP_RND_NEAREST initializer.
69375 (FP_INHIBIT_RESULTS): Define.
69376 (___Q_simulate_exceptions): Update declaration.
69377 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69378 formatting.
69379 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69380 as unused and give dummy FP_RND_NEAREST initializer.
69381 (__Qp_handle_exceptions): Update declaration.
69382 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69383 formatting.
69384
69385 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69386
69387 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69388 the temporary FPU control word.
69389 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69390 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69391 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69392 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69393 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69394 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69395 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69396 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69397 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69398 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69399 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69400
69401 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69402
69403 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69404 fields.
69405
69406 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69407
69408 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69409 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69410 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69411 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69412 Likewise.
69413 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69414 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69415 Likewise.
69416
69417 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69418
69419 * po/h.po: Update from translation team.
69420
69421 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69422
69423 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69424
69425 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69426 handling of denormals.
69427 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69428 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69429 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69430 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69431 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69432 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69434 Likewise.
69435
69436 2012-05-26 Marek Polacek <polacek@redhat.com>
69437
69438 [BZ #14152]
69439 * math/libm-test.inc (fma_test): Don't always expect underflow
69440 exception.
69441
69442 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69443
69444 [BZ #12416]
69445 * elf/tst-execstack.c: Include stackinfo.h.
69446 (do_test): Adjust test case to ensure that pthread_getattr_np
69447 behaviour remains the same after marking stack executable.
69448
69449 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69450
69451 * sysdeps/unix/sysv/linux/kernel-features.h
69452 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69454 kernel-features.h.
69455 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69456 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69457 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69458 kernel-features.h.
69459 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69460 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69461
69462 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69463
69464 * configure.in: Define the default includes to being none.
69465 * configure: Regenerated.
69466
69467 2012-05-25 Roland McGrath <roland@hack.frob.com>
69468
69469 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69470 * sysdeps/x86_64/setjmp.S: Likewise.
69471 * sysdeps/i386/bsd-setjmp.S: Likewise.
69472 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69473 * sysdeps/i386/setjmp.S: Likewise.
69474 * sysdeps/i386/__longjmp.S: Likewise.
69475 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69476 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69477
69478 * include/stap-probe.h: New file.
69479 * configure.in: Handle --enable-systemtap.
69480 * configure: Regenerated.
69481 * config.h.in (USE_STAP_PROBE): New #undef.
69482 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69483 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69484 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69485
69486 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69487
69488 [BZ #13717]
69489 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69490 to 2.4.0 where earlier.
69491 * sysdeps/unix/sysv/linux/configure: Regenerated.
69492 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69493 <kernel-features.h>.
69494 [__ASSUME_32BITUIDS]: Make code unconditional.
69495 [!__ASSUME_32BITUIDS]: Remove conditional code.
69496 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69497 <kernel-features.h>.
69498 [__ASSUME_32BITUIDS]: Make code unconditional.
69499 [!__ASSUME_32BITUIDS]: Remove conditional code.
69500 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69501 [__ASSUME_32BITUIDS]: Make code unconditional.
69502 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69503 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69504 <kernel-features.h>.
69505 [__ASSUME_32BITUIDS]: Make code unconditional.
69506 [!__ASSUME_32BITUIDS]: Remove conditional code.
69507 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69508 <kernel-features.h>.
69509 [__ASSUME_32BITUIDS]: Make code unconditional.
69510 [!__ASSUME_32BITUIDS]: Remove conditional code.
69511 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69512 <kernel-features.h>.
69513 [__ASSUME_32BITUIDS]: Make code unconditional.
69514 [!__ASSUME_32BITUIDS]: Remove conditional code.
69515 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69516 <kernel-features.h>.
69517 [__ASSUME_32BITUIDS]: Make code unconditional.
69518 [!__ASSUME_32BITUIDS]: Remove conditional code.
69519 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69520 <kernel-features.h>.
69521 [__ASSUME_32BITUIDS]: Make code unconditional.
69522 [!__ASSUME_32BITUIDS]: Remove conditional code.
69523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69524 <kernel-features.h>.
69525 [__ASSUME_32BITUIDS]: Make code unconditional.
69526 [!__ASSUME_32BITUIDS]: Remove conditional code.
69527 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69528 <kernel-features.h>.
69529 [__ASSUME_32BITUIDS]: Make code unconditional.
69530 [!__ASSUME_32BITUIDS]: Remove conditional code.
69531 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69532 <kernel-features.h>.
69533 [__ASSUME_32BITUIDS]: Make code unconditional.
69534 [!__ASSUME_32BITUIDS]: Remove conditional code.
69535 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69536 <kernel-features.h>.
69537 [__ASSUME_32BITUIDS]: Make code unconditional.
69538 [!__ASSUME_32BITUIDS]: Remove conditional code.
69539 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69540 <kernel-features.h>.
69541 [__ASSUME_32BITUIDS]: Make code unconditional.
69542 [!__ASSUME_32BITUIDS]: Remove conditional code.
69543 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69544 <kernel-features.h>.
69545 [__NR_setresgid] (__setresgid): Do not declare.
69546 [__ASSUME_32BITUIDS]: Make code unconditional.
69547 [!__ASSUME_32BITUIDS]: Remove conditional code.
69548 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69549 <kernel-features.h>.
69550 [__NR_setresuid] (__setresuid): Do not declare.
69551 [__ASSUME_32BITUIDS]: Make code unconditional.
69552 [!__ASSUME_32BITUIDS]: Remove conditional code.
69553 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69554 <kernel-features.h>.
69555 [__ASSUME_32BITUIDS]: Make code unconditional.
69556 [!__ASSUME_32BITUIDS]: Remove conditional code.
69557 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69558 <kernel-features.h>.
69559 [__ASSUME_32BITUIDS]: Make code unconditional.
69560 [!__ASSUME_32BITUIDS]: Remove conditional code.
69561 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69562 <kernel-features.h>.
69563 [__ASSUME_32BITUIDS]: Make code unconditional.
69564 [!__ASSUME_32BITUIDS]: Remove conditional code.
69565 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69566 <kernel-features.h>.
69567 [__ASSUME_32BITUIDS]: Make code unconditional.
69568 [!__ASSUME_32BITUIDS]: Remove conditional code.
69569 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69570 <kernel-features.h>.
69571 [__ASSUME_32BITUIDS]: Make code unconditional.
69572 [!__ASSUME_32BITUIDS]: Remove conditional code.
69573 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69574 <kernel-features.h>.
69575 [__ASSUME_32BITUIDS]: Make code unconditional.
69576 [!__ASSUME_32BITUIDS]: Remove conditional code.
69577 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69578 <kernel-features.h>.
69579 [__ASSUME_32BITUIDS]: Make code unconditional.
69580 [!__ASSUME_32BITUIDS]: Remove conditional code.
69581 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69582 <kernel-features.h>.
69583 [__ASSUME_32BITUIDS]: Make code unconditional.
69584 [!__ASSUME_32BITUIDS]: Remove conditional code.
69585 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69586 <kernel-features.h>.
69587 [__ASSUME_32BITUIDS]: Make code unconditional.
69588 [!__ASSUME_32BITUIDS]: Remove conditional code.
69589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69590 <kernel-features.h>.
69591 [__ASSUME_32BITUIDS]: Make code unconditional.
69592 [!__ASSUME_32BITUIDS]: Remove conditional code.
69593 * sysdeps/unix/sysv/linux/kernel-features.h
69594 (__ASSUME_SETRESUID_SYSCALL): Remove.
69595 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69596 (__ASSUME_32BITUIDS): Likewise.
69597 (__ASSUME_LDT_WORKS): Likewise.
69598 (__ASSUME_O_DIRECTORY): Likewise.
69599 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69600 architecture but not kernel version.
69601 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69602 (__ASSUME_MMAP2_SYSCALL): Likewise.
69603 (__ASSUME_STAT64_SYSCALL): Likewise.
69604 (__ASSUME_IPC64): Likewise.
69605 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69606 <kernel-features.h>.
69607 [__ASSUME_32BITUIDS]: Make code unconditional.
69608 [!__ASSUME_32BITUIDS]: Remove conditional code.
69609 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69610 <kernel-features.h>.
69611 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69612 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69613 132096]: Remove conditional code.
69614 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69615 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69616 <kernel-features.h>.
69617 [__ASSUME_32BITUIDS]: Make code unconditional.
69618 [!__ASSUME_32BITUIDS]: Remove conditional code.
69619 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69620 <kernel-features.h>.
69621 [__ASSUME_32BITUIDS]: Make code unconditional.
69622 [!__ASSUME_32BITUIDS]: Remove conditional code.
69623 * sysdeps/unix/sysv/linux/setegid.c: Do not include
69624 <kernel-features.h>.
69625 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69626 unconditional.
69627 (__setresgid): Do not declare.
69628 [__ASSUME_32BITUIDS]: Make code unconditional.
69629 [!__ASSUME_32BITUIDS]: Remove conditional code.
69630 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69631 <kernel-features.h>.
69632 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69633 unconditional.
69634 (__setresuid): Do not declare.
69635 [__ASSUME_32BITUIDS]: Make code unconditional.
69636 [!__ASSUME_32BITUIDS]: Remove conditional code.
69637 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69638 <kernel-features.h>.
69639 [__ASSUME_32BITUIDS]: Make code unconditional.
69640 [!__ASSUME_32BITUIDS]: Remove conditional code.
69641 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69642 <kernel-features.h>.
69643 [__ASSUME_32BITUIDS]: Make code unconditional.
69644 [!__ASSUME_32BITUIDS]: Remove conditional code.
69645
69646 2012-05-25 Richard Henderson <rth@twiddle.net>
69647
69648 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69649 dl_hwcap to ifunc resolver.
69650 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69651 elf_ifunc_invoke.
69652 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69653 dl_hwcap to ifunc resolver.
69654 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69655
69656 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69657
69658 [BZ #14153]
69659 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69660 for |x| <= 2**-26, not 2**-57.
69661 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69662 exception.
69663
69664 2012-05-24 Jeff Law <law@redhat.com>
69665
69666 * stdio-common/Makefile (tests): Add bug25.
69667 * stdio-common/bug25.c: New test.
69668
69669 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69670
69671 [BZ #13576]
69672 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69673 multiple of MALLOC_ALIGNMENT in size.
69674 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69675
69676 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69677
69678 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69679 Require >= 256.
69680 (FILENAME_MAX): Use macro-int-constant.
69681 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69682 (_IOFBF): Use macro-int-constant.
69683 (_IOLBF): Likewise.
69684 (_IONBF): Likewise.
69685 (SEEK_CUR): Likewise.
69686 (SEEK_END): Likewise.
69687 (SEEK_SET): Likewise.
69688 (TMP_MAX): Likewise.
69689 (EOF): Use macro-int-constant. Require < 0.
69690 (NULL): Use macro-constant. Require == 0.
69691 (stdin): Require type to be FILE *.
69692 (stdout): Likewise.
69693 (stderr): Likewise.
69694 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69695 macro-int-constant.
69696 (EXIT_SUCCESS): Likewise.
69697 (NULL): Use macro-constant. Require == 0.
69698 (RAND_MAX): Use macro-int-constant.
69699 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69700 [C99-based standards] (strtof): Require function.
69701 [C99-based standards] (strtold): Likewise.
69702 [C99-based standards] (strtoll): Likewise.
69703 [C99-based standards] (strtoull): Likewise.
69704 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69705 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69706 [ISO || ISO99 || ISO11] (math.h): Likewise.
69707 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69708 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69709 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69710
69711 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69712
69713 [BZ #14132]
69714 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69715 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69716 * intl/dgettext.c (DCGETTEXT): Likewise.
69717 * intl/gettext.c (DCGETTEXT): Likewise.
69718 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69719 * posix/regex_internal.h (gettext): Likewise.
69720 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69721 Remove declaration.
69722 * include/argz.h (__argz_count_internal)
69723 (__argz_stringify_internal): Remove declaration.
69724 (__argz_count, __argz_stringify): Declare hidden proto.
69725 * intl/dcgettext.c: Remove use of INTDEF.
69726 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69727 * string/argz-stringify.c: Likewise.
69728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69730 Declare hidden proto.
69731 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69732 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69733 Declare hidden proto.
69734 * include/stdio.h (__asprintf_internal): Don't declare.
69735 (__asprintf): Don't define as macro. Declare hidden proto.
69736 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69737 (__fsetlocking): Declare hidden proto.
69738 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69739 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69740 hidden proto.
69741 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69742 (_IO_setlinebuf): Remove use of INTUSE.
69743 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69744 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69745 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69746 Remove declaration.
69747 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69748 (_IO_do_flush): Remove use of INTUSE.
69749 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69750 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69751 (_IO_adjust_column, _IO_least_wmarker)
69752 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69753 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69754 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69755 (_IO_default_doallocate, _IO_wdefault_doallocate)
69756 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69757 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69758 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69759 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69760 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69761 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69762 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69763 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69764 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69765 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69766 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69767 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69768 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69769 proto.
69770 (_IO_flush_all_internal, _IO_adjust_column_internal)
69771 (_IO_default_uflow_internal, _IO_default_finish_internal)
69772 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69773 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69774 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69775 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69776 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69777 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69778 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69779 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69780 (_IO_file_close_internal, _IO_file_close_it_internal)
69781 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69782 (_IO_file_init_internal, _IO_file_attach_internal)
69783 (_IO_file_fopen_internal, _IO_file_read_internal)
69784 (_IO_file_sync_internal, _IO_file_seek_internal)
69785 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69786 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69787 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69788 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69789 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69790 (_IO_list_all_internal, _IO_link_in_internal)
69791 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69792 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69793 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69794 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69795 (_IO_do_write_internal, _IO_padn_internal)
69796 (_IO_getline_info_internal, _IO_getline_internal)
69797 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69798 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69799 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69800 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69801 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69802 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69803 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69804 with libc_hidden_ver, remove use of INTUSE.
69805 * libio/genops.c: Likewise.
69806 * libio/freopen.c: Likewise.
69807 * libio/freopen64.c: Likewise.
69808 * libio/iofclose.c: Likewise.
69809 * libio/iofdopen.c: Likewise.
69810 * libio/iofflush.c: Likewise.
69811 * libio/iofflush_u.c: Likewise.
69812 * libio/iofgets.c: Likewise.
69813 * libio/iofgets_u.c: Likewise.
69814 * libio/iofopen.c: Likewise.
69815 * libio/iofopncook.c: Likewise.
69816 * libio/iofread.c: Likewise.
69817 * libio/iofread_u.c: Likewise.
69818 * libio/ioftell.c: Likewise.
69819 * libio/iofwrite.c: Likewise.
69820 * libio/iogetline.c: Likewise.
69821 * libio/iogets.c: Likewise.
69822 * libio/iogetwline.c: Likewise.
69823 * libio/iopadn.c: Likewise.
69824 * libio/iopopen.c: Likewise.
69825 * libio/ioseekoff.c: Likewise.
69826 * libio/ioseekpos.c: Likewise.
69827 * libio/iosetbuffer.c: Likewise.
69828 * libio/iosetvbuf.c: Likewise.
69829 * libio/ioungetc.c: Likewise.
69830 * libio/ioungetwc.c: Likewise.
69831 * libio/iovdprintf.c: Likewise.
69832 * libio/iovsprintf.c: Likewise.
69833 * libio/iovsscanf.c: Likewise.
69834 * libio/memstream.c: Likewise.
69835 * libio/obprintf.c: Likewise.
69836 * libio/oldfileops.c: Likewise.
69837 * libio/oldiofclose.c: Likewise.
69838 * libio/oldiofdopen.c: Likewise.
69839 * libio/oldiofopen.c: Likewise.
69840 * libio/oldiopopen.c: Likewise.
69841 * libio/oldstdfiles.c: Likewise.
69842 * libio/putc.c: Likewise.
69843 * libio/setbuf.c: Likewise.
69844 * libio/setlinebuf.c: Likewise.
69845 * libio/stdfiles.c: Likewise.
69846 * libio/strops.c: Likewise.
69847 * libio/vasprintf.c: Likewise.
69848 * libio/vscanf.c: Likewise.
69849 * libio/vsnprintf.c: Likewise.
69850 * libio/vswprintf.c: Likewise.
69851 * libio/wfiledoalloc.c: Likewise.
69852 * libio/wfileops.c: Likewise.
69853 * libio/wgenops.c: Likewise.
69854 * libio/wmemstream.c: Likewise.
69855 * libio/wstrops.c: Likewise.
69856 * libio/__fpurge.c: Likewise.
69857 * libio/__fsetlocking.c: Likewise.
69858 * assert/assert.c: Likewise.
69859 * debug/fgets_chk.c: Likewise.
69860 * debug/fgets_u_chk.c: Likewise.
69861 * debug/fread_chk.c: Likewise.
69862 * debug/fread_u_chk.c: Likewise.
69863 * debug/gets_chk.c: Likewise.
69864 * debug/obprintf_chk.c: Likewise.
69865 * debug/vasprintf_chk.c: Likewise.
69866 * debug/vdprintf_chk.c: Likewise.
69867 * debug/vsnprintf_chk.c: Likewise.
69868 * debug/vsprintf_chk.c: Likewise.
69869 * malloc/mtrace.c: Likewise.
69870 * misc/error.c: Likewise.
69871 * misc/syslog.c: Likewise.
69872 * stdio-common/asprintf.c: Likewise.
69873 * stdio-common/fxprintf.c: Likewise.
69874 * stdio-common/getw.c: Likewise.
69875 * stdio-common/isoc99_fscanf.c: Likewise.
69876 * stdio-common/isoc99_scanf.c: Likewise.
69877 * stdio-common/isoc99_vfscanf.c: Likewise.
69878 * stdio-common/isoc99_vscanf.c: Likewise.
69879 * stdio-common/isoc99_vsscanf.c: Likewise.
69880 * stdio-common/printf-prs.c: Likewise.
69881 * stdio-common/printf_fp.c: Likewise.
69882 * stdio-common/printf_fphex.c: Likewise.
69883 * stdio-common/printf_size.c: Likewise.
69884 * stdio-common/putw.c: Likewise.
69885 * stdio-common/scanf.c: Likewise.
69886 * stdio-common/sprintf.c: Likewise.
69887 * stdio-common/tmpfile.c: Likewise.
69888 * stdio-common/vfprintf.c: Likewise.
69889 * stdio-common/vfscanf.c: Likewise.
69890 * stdlib/strfmon_l.c: Likewise.
69891 * sunrpc/openchild.c: Likewise.
69892 * sunrpc/xdr_stdio.c: Likewise.
69893 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69894 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69895
69896 2012-05-24 Roland McGrath <roland@hack.frob.com>
69897
69898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69899
69900 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69901 in the third column, to generate for the shared library an IFUNC
69902 that uses _dl_vdso_vsym.
69903 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69904 * Makeconfig (object-suffixes-noshared): New variable.
69905
69906 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69907 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69908 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69909 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69910
69911 [BZ #14132]
69912 * include/sys/time.h (__gettimeofday): Remove macro.
69913 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69914 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69915 Remove INTDEF.
69916 (__gettimeofday): Add libc_hidden_def.
69917 (gettimeofday): Add libc_hidden_weak.
69918 * sysdeps/mach/gettimeofday.c: Likewise.
69919 * sysdeps/posix/gettimeofday.c: Likewise.
69920 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69921 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69923 (__gettimeofday_internal): Remove strong_alias.
69924 (__gettimeofday): Add libc_hidden_def.
69925 (gettimeofday): Add libc_hidden_weak.
69926 * sysdeps/unix/syscalls.list (gettimeofday):
69927 Remove __gettimeofday_internal alias.
69928
69929 2012-05-24 Daniel Jacobowitz <drow@false.org>
69930 H.J. Lu <hongjiu.lu@intel.com>
69931
69932 [BZ #12495]
69933 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69934 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69935 (largebin_index_32_big): New.
69936 (largebin_index): Use it for 16-byte alignment.
69937 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69938 correction with front_misalign.
69939
69940 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69941
69942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69944 Likewise.
69945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69946 Likewise.
69947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69948 Likewise.
69949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69950 Likewise.
69951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69952 Likewise.
69953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69954 Likewise.
69955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69956 Likewise.
69957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69958 Likewise.
69959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69960 Likewise.
69961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69962 Likewise.
69963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69964 Likewise.
69965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69966 Likewise.
69967
69968 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69969 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69970
69971 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69972
69973 [BZ #10846]
69974 [BZ #14036]
69975 * math/libm-test.inc (exp_test): Add test from bug 14036.
69976 (pow_test): Add test from bug 10846.
69977
69978 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69979 and other flags.
69980 (special_function): Do not include flags in test name.
69981 (parse_args): Likewise.
69982 * sysdeps/i386/fpu/libm-test-ulps: Update.
69983 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69984 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69985 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69987
69988 * math/gen-libm-test.pl (%beautify): Add entries for underflow
69989 exceptions.
69990 * math/libm-test.inc ("Philosophy"): Update comment about
69991 exception testing.
69992 (UNDERFLOW_EXCEPTION): New macro.
69993 (UNDERFLOW_EXCEPTION_OK): Likewise.
69994 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69995 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69996 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69997 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69998 (INVALID_EXCEPTION_OK): Update value.
69999 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70000 (OVERFLOW_EXCEPTION_OK): Likewise.
70001 (IGNORE_ZERO_INF_SIGN): Likewise.
70002 (test_exceptions): Handle underflow exceptions.
70003 (acos_test): Update for underflow exception expectations.
70004 (cexp_test): Likewise.
70005 (clog_test): Likewise.
70006 (clog10_test): Likewise.
70007 (csqrt_test): Likewise.
70008 (ctan_test): Likewise.
70009 (ctanh_test): Likewise.
70010 (exp_test): Likewise.
70011 (exp10_test): Likewise.
70012 (exp2_test): Likewise.
70013 (expm1_test): Likewise.
70014 (fma_test): Likewise.
70015 (j0_test): Likewise.
70016 (jn_test): Likewise.
70017 (nexttoward_test): Likewise.
70018 (pow_test): Likewise.
70019 (scalbn_test): Likewise.
70020 (scalbln_test): Likewise.
70021 (tan_test): Likewise.
70022 (y1_test): Likewise.
70023 * sysdeps/i386/fpu/libm-test-ulps: Update.
70024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70025
70026 2012-05-23 David S. Miller <davem@davemloft.net>
70027
70028 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70029 (__libc_sigaction): Remove unused local variables.
70030
70031 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70032
70033 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70034
70035 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
70036
70037 mktime: avoid signed integer overflow
70038 * time/mktime.c (__mktime_internal): Do not mishandle the case
70039 where diff == INT_MIN.
70040
70041 mktime: simplify computation of average
70042 * time/mktime.c (ranged_convert): Use new time_t_avg function
70043 instead of rolling our own (probably-slower) code.
70044
70045 mktime: do not assume signed right shift propagates sign bit
70046 * time/mktime.c (isdst_differ): New static function.
70047 (__mktime_internal): No need to normalize tm_isdst now.
70048 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70049 tm_isdst values.
70050
70051 mktime: merge another wrapv change from gnulib
70052 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70053 from some compilers.
70054
70055 mktime: remove incorrect attempt at unusual arithmetics
70056 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70057 The code didn't really work on such machines anyway.
70058 (TYPE_MINIMUM): Assume two's complement.
70059 (twos_complement_arithmetic): Verify that long_int and time_t
70060 are two's complement (or unsigned, in the latter case).
70061
70062 mktime: check signed shifts on long_int and time_t, too
70063 * time/mktime.c (SHR): Check that shifts work as desired
70064 on the types long_int and time_t too, as SHR is used on
70065 such types.
70066
70067 mktime: do not assume 'long' is wide enough
70068 * time/mktime.c (verify): Move decl up.
70069 (long_int): New type.
70070 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70071 to remove assumption in the code that 'long' is wide enough to
70072 store year values. This assumption is not true on x32 and on
70073 some non-glibc platforms.
70074
70075 mktime: merge wrapv change from gnulib
70076 * time/mktime.c (WRAPV): New macro.
70077 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70078 (guess_time_tm, __mktime_internal): Do not assume that signed
70079 integer overflow wraps around; modern compilers generate code
70080 where this assumption is no longer valid.
70081
70082 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70083
70084 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70085 Replace "jmp L(pseudo_end)" with "ret".
70086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70087 Likewise.
70088
70089 2012-05-23 Andreas Jaeger <aj@suse.de>
70090
70091 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70092 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70093
70094 2012-05-23 Andreas Jaeger <aj@suse.de>
70095 Maximilian Attems <max@stro.at>
70096
70097 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70098 New macros.
70099
70100 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70101
70102 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70103 code so that pseudo_end is just ret and the stack pointer is
70104 correct also for static library in error case.
70105
70106 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70107
70108 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70109 move to syscalls.list.
70110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70114
70115 * manual/install.texi (Running make install): Do not mention Linux
70116 kernel version for which pt_chown is not needed.
70117 (Linux): Do not mention problems with nscd with 2.0 kernels.
70118 * INSTALL: Regenerated.
70119
70120 2012-05-23 Andreas Jaeger <aj@suse.de>
70121
70122 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70123 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70124 macro.
70125 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70127 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70129 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70131 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70133 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70135 * sysdeps/unix/sysv/linux/bits/in.h
70136 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70137
70138 2012-05-22 Roland McGrath <roland@hack.frob.com>
70139
70140 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70141 (PREPARE_VERSION): Just use assert instead, it will be elided
70142 under [NDEBUG] anyway.
70143
70144 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70145
70146 * sysdeps/unix/sysv/linux/Makefile: Include
70147 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70148 (sysdep_routines): Remove sysctl.
70149 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70150 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70151 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70152 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70153 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70154
70155 2012-05-22 Andreas Jaeger <aj@suse.de>
70156
70157 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70158 that pseudo_end is just ret and the stack pointer is correct also
70159 for static library in error case.
70160
70161 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70162
70163 [BZ #14122]
70164 * nss/nsswitch.c (defconfig_entries): New variable.
70165 (__nss_database_lookup): Don't leak defconfig entries.
70166 (nss_parse_service_list): Don't leak on error paths.
70167 (free_database_entries): New function.
70168 (free_defconfig): New function.
70169 (free_mem): Move common code to free_database_entries.
70170
70171 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70172
70173 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70174 Add arch_prctl.
70175 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70176
70177 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70178 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70180 New macro.
70181 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70182 (INTERNAL_SYSCALL_TYPES): Likewise.
70183 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70184 (LOAD_REGS_TYPES_[1-6]): Likewise.
70185 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70186 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70187
70188 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70189
70190 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70191 copysignl for GLIBC_2_0.
70192 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70193 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70195 logbl for GLIBC_2_0.
70196 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70197 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70198
70199 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70200
70201 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70203
70204 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70205 Use "neg %eax".
70206
70207 * time/mktime.c: Update copyright years.
70208
70209 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70210
70211 mktime: merge comment-quoting-style change from gnulib
70212 * time/mktime.c: Quote 'like this' in comments.
70213 The GNU coding standards suggest that we no longer quote `like this',
70214 as "`" and "'" are typically rendered asymmetrically nowadays.
70215 The typical gnulib style is to quote 'like this' when quoting
70216 code, and "like this" when quoting English.
70217
70218 * time/mktime.c (compile-command): Add "-I.".
70219
70220 mktime: merge mktime-internal.h change from gnulib
70221 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70222
70223 mktime: merge time_r change from gnulib
70224 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70225
70226 mktime: merge DEBUG change from gnulib
70227 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70228 case system <time.h> has a #define.
70229
70230 mktime: merge <sys/types.h> change from gnulib
70231 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70232 since <time.t> is now guaranteed to define time_t.
70233
70234 mktime: merge HAVE_CONFIG_H change from gnulib
70235 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70236
70237 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70238
70239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70240 Use "neg %eax".
70241
70242 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70243 __rlim_t cast.
70244 (struct rusage): Use anonymous union to pad each field to
70245 __syscall_slong_t.
70246
70247 2012-05-21 David S. Miller <davem@davemloft.net>
70248
70249 * Makefules (o-iterator): Remove .s cases.
70250 (compile-command.s): Delete.
70251 (COMPILE.s): Delete.
70252 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70253
70254 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70255
70256 * configure.in (libc_cv_predef_stack_protector): Only consider
70257 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70258 * configure: Regenerated.
70259
70260 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70261
70262 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70263 New macro. Use R*LP on int and pointer.
70264 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70265 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70266 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70267 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70268
70269 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70270 [__WORDSIZE_TIME64_COMPAT32] instead of
70271 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70272 (struct utmp): Likewise.
70273 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70274 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70275 Renamed to ...
70276 (__WORDSIZE_TIME64_COMPAT32): This.
70277 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70278 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70279 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70280 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70281 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70282 (__WORDSIZE_TIME64_COMPAT32): New macro.
70283
70284 2012-05-21 Andreas Jaeger <aj@suse.de>
70285
70286 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70287 only if [SHARED]. Add prototype for __wcschr_ia32.
70288
70289 2012-05-21 Roland McGrath <roland@hack.frob.com>
70290
70291 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70292 of %rbp unmolested in the jmp_buf while mangling the low bits.
70293 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70294 unmolested high bits of %rbp while demangling the low bits.
70295 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70296
70297 2012-05-21 Andreas Jaeger <aj@suse.de>
70298
70299 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70300 * sunrpc/svc_simple.c: Use it for registerrpc.
70301 * sunrpc/xcrypt.c: Use it for passwd2des.
70302
70303 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70304
70305 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70306
70307 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70308 Don't define if [__SYSCALL_WORDSIZE != 32].
70309 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70310 New macro.
70311
70312 2012-05-21 Bruno Haible <bruno@clisp.org>
70313 Andreas Jaeger <aj@suse.de>
70314
70315 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70316 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70317 inptr and inend for must_buffer_ch.
70318 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70319 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70320 * stdio-common/Makefile (tests): Remove bug15.
70321 (bug15-ENV): Remove macro.
70322 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70323 anymore.
70324
70325 2012-05-19 Andreas Jaeger <aj@suse.de>
70326 Roland McGrath <roland@hack.frob.com>
70327
70328 * manual/contrib.texi: Completely rewritten. It contains now an
70329 alphabetical list of contributors and their contributions.
70330
70331 2012-05-21 Richard Henderson <rth@twiddle.net>
70332
70333 * misc/getauxval.c (__getauxval): Use unsigned long int.
70334 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70335 (getauxval): Use unsigned long int.
70336
70337 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70338
70339 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70340
70341 2012-05-21 Roland McGrath <roland@hack.frob.com>
70342
70343 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70344 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70345 __alignof__ (long double).
70346
70347 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70348
70349 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70350
70351 2012-05-20 Richard Henderson <rth@twiddle.net>
70352
70353 * misc/getauxval.c: New file.
70354 * misc/sys/auxv.h: New file.
70355 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70356 (routines): Add getauxval.
70357 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70358 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70359 * elf/dl-sysdep.c (_dl_auxv): Remove.
70360 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70361 * elf/dl-support.c (_dl_auxv): New variable.
70362 (_dl_aux_init): Initialize it.
70363 * manual/startup.texi (Auxiliary Vector): New node.
70364 * sysdeps/generic/bits/hwcap.h: New file.
70365 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70366 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70367 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70368 * sysdeps/sparc/sysdep.h: ... here. Include it.
70369 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70372 Update.
70373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70381
70382 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70383
70384 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70385
70386 2012-05-19 David S. Miller <davem@davemloft.net>
70387
70388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70389
70390 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70391
70392 [BZ #14123]
70393 * math/s_ccosh.c: Include <float.h>
70394 (__ccosh): Avoid internal overflow calculating sinh and cosh
70395 values before multiplying by sin and cos values.
70396 * math/s_ccoshf.c: Likewise.
70397 * math/s_ccoshl.c: Likewise.
70398 * math/s_csin.c: Likewise.
70399 * math/s_csinf.c: Likewise.
70400 * math/s_csinl.c: Likewise.
70401 * math/s_csinh.c: Likewise.
70402 * math/s_csinhf.c: Likewise.
70403 * math/s_csinhl.c: Likewise.
70404 * math/libm-test.inc (ccos_test): Add more tests.
70405 (ccosh_test): Likewise.
70406 (csin_test): Likewise.
70407 (csinh_test): Likewise.
70408 * sysdeps/i386/fpu/libm-test-ulps: Update.
70409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70410
70411 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70412
70413 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70414 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70415
70416 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70417
70418 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70419
70420 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70421 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70422 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70423 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70424 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70425 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70426 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70427 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70428 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70429 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70430 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70431 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70432 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70433 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70434 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70435 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70436 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70437 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70438 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70439 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70440 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70441 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70442 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70443 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70444 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70445 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70446 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70447 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70448 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70449 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70450 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70451
70452 2012-05-18 Andreas Jaeger <aj@suse.de>
70453
70454 * csu/.gitignore: Delete.
70455
70456 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70457
70458 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70459 (timex): Use __syscall_slong_t.
70460
70461 2012-05-18 Andreas Jaeger <aj@suse.de>
70462 Carlos O'Donell <carlos_odonell@mentor.com>
70463
70464 * manual/install.texi (Configuring and compiling): Update
70465 description about files modified in the source directory.
70466 * INSTALL: Regenerated.
70467
70468 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70469
70470 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70471 value. Use "or" to set return value to -1.
70472 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70473 negate return value.
70474
70475 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70476
70477 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70478 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70479 failure if the compiler has Graphite support disabled.
70480 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70481 Likewise.
70482 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70483 (CFLAGS-memmove.c): Likewise.
70484 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70485 Likewise.
70486
70487 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70488
70489 * sysdeps/x86_64/x32/_itoa.h: New file.
70490
70491 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70492 getdents system call only if kernel and user dirents have the
70493 same d_ino and d_off.
70494
70495 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70496 LLONG_MAX != LONG_MAX.
70497 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70498 (_fitoa_word): Likewise.
70499
70500 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70501 years.
70502 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70503 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70504 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70505
70506 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70507 include <bits/wordsize.h>. Check __x86_64__ instead of
70508 __WORDSIZE.
70509 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70510 if __x86_64__ is defined. Use anonymous union on fpstate.
70511
70512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70513 anonymous union.
70514
70515 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70516
70517 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70518 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70519 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70520 Refer to _rtld_local_ro instead of _rtld_global_ro.
70521 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70522 Likewise.
70523 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70524 Likewise.
70525 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70526 Likewise.
70527 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70528 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70529 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70530
70531 [BZ #10882]
70532 * sysdeps/powerpc/powerpc32/dl-machine.c
70533 (__elf_machine_runtime_setup) [PROF]: Don't reference
70534 _dl_prof_resolve.
70535
70536 2012-05-18 Andreas Jaeger <aj@suse.de>
70537
70538 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70539 function only available for GCCs before 3.4 since GCC 3.4
70540 introduced a builtin.
70541 (lrint): Likewise.
70542 (llrintf): Likewise.
70543 (llrint): Likewise.
70544 (fmaxf): Likewise.
70545 (fmax): Likewise.
70546 (fminf): Likewise.
70547 (fmin): Likewise.
70548 (rint): Likewise.
70549 (rintf): Likewise.
70550 (nearbyint): Likewise.
70551 (nearbyintf): Likewise.
70552 (ceil): Likewise.
70553 (ceilf): Likewise.
70554 (floor): Likewise.
70555 (floorf): Likewise.
70556
70557 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70558
70559 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70560 on both fields and cast pointer to __syscall_ulong_t.
70561
70562 * bits/types.h (__fsword_t): New type.
70563 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70564 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70566 (__FSWORD_T_TYPE): Likewise.
70567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70568 (__FSWORD_T_TYPE): Likewise.
70569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70570 (__FSWORD_T_TYPE): Likewise.
70571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70572 (__FSWORD_T_TYPE): Likewise.
70573 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70574 __SWORD_TYPE with __fsword_t.
70575 (statfs64): Likewise.
70576
70577 2012-05-17 David S. Miller <davem@davemloft.net>
70578
70579 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70580
70581 2012-05-17 Andreas Jaeger <aj@suse.de>
70582
70583 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70584 warning.
70585
70586 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70587
70588 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70589
70590 2012-05-17 Andreas Jaeger <aj@suse.de>
70591
70592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70593 when it is used.
70594
70595 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70596
70597 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70598
70599 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70600
70601 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70602 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70603
70604 2012-05-17 Andreas Jaeger <aj@suse.de>
70605 Carlos O'Donell <carlos_odonell@mentor.com>
70606
70607 [BZ #14059]
70608 * sysdeps/x86_64/multiarch/init-arch.h
70609 (bit_YMM_Usable): Rename to...
70610 (bit_AVX_Usable): ... this.
70611 (bit_FMA4_Usable): New macro.
70612 (bit_XMM_state): New macro.
70613 (bit_YMM_state): New macro.
70614 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70615 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70616 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70617 (CPUID_OSXSAVE): New macro.
70618 (CPUID_AVX): New macro.
70619 (CPUID_FMA4): New macro.
70620 (index_YMM_Usable): Rename to...
70621 (index_AVX_Usable): ... this.
70622 (HAS_AVX): Use HAS_ARCH_FEATURE.
70623 (HAS_FMA4): Likewise.
70624 (HAS_YMM_USABLE): Remove.
70625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70626 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70627 are present.
70628 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70629 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70630 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70631 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70632 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70633
70634 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70635
70636 * math/libm-test.c: Support platforms without multiple rounding modes.
70637 * math/bug-nextafter.c: Support platforms without FP exceptions.
70638 * math/bug-nexttoward.c: Likewise.
70639 * math/test-fenv.c: Likewise.
70640 * math/test-misc.c: Likewise.
70641 * stdlib/bug-getcontext.c: Likewise.
70642
70643 2012-05-17 Andreas Jaeger <aj@suse.de>
70644
70645 * manual/examples/search.c (critter_cmp): Change signature to
70646 avoid warnings.
70647 * manual/string.texi (Collation Functions): Likewise.
70648
70649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70650
70651 * bits/types.h: Fold copyright years.
70652 * bits/typesizes.h: Likewise.
70653 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70657 * time/time.h: Likewise.
70658
70659 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70660
70661 [BZ #208]
70662 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70663 in instead of returning them. Return void.
70664 (__libc_mallinfo): Accumulate over all arenas.
70665 (__malloc_stats): Adjust for change in int_mallinfo interface.
70666
70667 2012-05-16 Roland McGrath <roland@hack.frob.com>
70668
70669 [BZ #10375]
70670 * configure.in (NM): Add AC_CHECK_TOOL for it.
70671 (libc_extra_cflags): New substituted variable.
70672 Check for -fstack-protector being used implicitly.
70673 * configure: Regenerated.
70674 * config.make.in (config-extra-cflags): New variable,
70675 gets @libc_extra_cflags@.
70676 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70677
70678 [BZ #10375]
70679 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70680 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70681 * configure: Regenerated.
70682 * config.make.in (CPPUNDEFS): New substituted variable.
70683 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70684 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70685 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70686
70687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70688
70689 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70690 (mq_attr): Use __syscall_slong_t.
70691
70692 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70693
70694 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70695 Check __x86_64__ instead of __WORDSIZE.
70696 (_STAT_VER_LINUX): Likewise.
70697 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70698 __syscall_ulong_t and __syscall_slong_t.
70699 (stat64): Likewise.
70700
70701 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70702
70703 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70704
70705 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70706
70707 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70708
70709 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70710
70711 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70712 __syscall_ulong_t.
70713
70714 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70715 include <bits/wordsize.h>. Check __x86_64__ instead of
70716 __WORDSIZE.
70717 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70718 defined.
70719 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70720
70721 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70722 include <bits/wordsize.h>. Check __x86_64__ instead of
70723 __WORDSIZE.
70724 (user_regs_struct): Use "__extension__ unsigned long long"
70725 instead of "unsigned long" if __x86_64__ is defined.
70726 (user): Likewise. Pad after pointer field if __ILP32__ is
70727 defined.
70728
70729 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70730
70731 * configure.in (makeinfo): Require version 4.5 or later. Allow
70732 versions 5 to 9.
70733 * configure: Regenerated.
70734 * manual/install.texi (texinfo): Increase version requirement to
70735 4.5 or later.
70736 * INSTALL: Regenerated.
70737
70738 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70739
70740 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70741
70742 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70743
70744 * sysdeps/x86_64/x32/ffs.c: New file.
70745
70746 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70747 __syscall_ulong_t.
70748 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70749 defined. Use __syscall_ulong_t.
70750 (shminfo): Use __syscall_ulong_t.
70751 (shm_info): Likewise.
70752
70753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70754 __syscall_ulong_t.
70755
70756 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70757 <bits/wordsize.h>.
70758 (msgqnum_t): Use __syscall_ulong_t.
70759 (msglen_t): Likewise.
70760 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70761 __syscall_ulong_t.
70762
70763 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70765
70766 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70767
70768 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70769 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70770
70771 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70772 __syscall_slong_t.
70773
70774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70775 include <bits/wordsize.h>. Check __x86_64__ instead of
70776 __WORDSIZE.
70777
70778 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70779 "unsigned long long int" if __x86_64__ is defined.
70780 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70781
70782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70784 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70785
70786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70787 <stdint.h>.
70788 (GET_PC): Cast to uintptr_t first.
70789 (GET_FRAME): Likewise.
70790 (GET_STACK): Likewise.
70791
70792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70794 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70796 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70798 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70800 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70821
70822 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70823
70824 * Makerules (+depfiles): Also collect depfiles from .oS in
70825 $(extra-objs).
70826 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70827 .oS, $(libnldbl-routines)).
70828
70829 * Makerules (native-compile-mkdep-flags): Define.
70830 * sunrpc/Makefile (extra-objs): Add $(addprefix
70831 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70832 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70833 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70834 calling $(make-target-directory).
70835
70836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70837
70838 * bits/types.h (__snseconds_t): Removed.
70839 * time/time.h (struct timespec): Replace __snseconds_t with
70840 __syscall_slong_t.
70841 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70842 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70843 Likewise.
70844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70845 (__SNSECONDS_T_TYPE): Likewise.
70846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70847 (__SNSECONDS_T_TYPE): Likewise.
70848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70849 (__SNSECONDS_T_TYPE): Likewise.
70850
70851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70852
70853 * sysdeps/mach/hurd/bits/typesizes.h
70854 (__SYSCALL_SLONG_TYPE): New macro.
70855 (__SYSCALL_ULONG_TYPE): Likewise.
70856
70857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70858
70859 * bits/types.h (__syscall_slong_t): New type.
70860 (__syscall_ulong_t): Likewise.
70861
70862 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70863 (__SYSCALL_ULONG_TYPE): Likewise.
70864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70865 (__SYSCALL_SLONG_TYPE): Likewise.
70866 (__SYSCALL_ULONG_TYPE): Likewise.
70867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70868 (__SYSCALL_SLONG_TYPE): Likewise.
70869 (__SYSCALL_ULONG_TYPE): Likewise.
70870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70871 (__SYSCALL_SLONG_TYPE): Likewise.
70872 (__SYSCALL_ULONG_TYPE): Likewise.
70873
70874 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70875
70876 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70877 Add sigaltstack-offsets.sym.
70878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70879 <sigaltstack-offsets.h>.
70880 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70881 longjmp_msg pointer.
70882 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70883 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70884 signal stack.
70885 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70886
70887 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70888
70889 * elf/stackguard-macros.h: Remove file.
70890 * sysdeps/generic/stackguard-macros.h: New file.
70891 * sysdeps/i386/stackguard-macros.h: Likewise.
70892 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70893 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70894 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70895 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70896 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70897 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70898 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70899 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70900 <elf/stackguard-macros.h>.
70901
70902 [BZ #14109]
70903 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70904 __aligned__ in attribute.
70905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70906 (gregset_t): Likewise.
70907
70908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70909
70910 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70911 * sysdeps/x86_64/64/Implies-after: Here. New file.
70912 * sysdeps/x86_64/x32/Implies-after: New file.
70913
70914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70915
70916 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70917 and access return value for _dl_profile_fixup. Use R10_LP to
70918 load frame size.
70919
70920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70921
70922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70923
70924 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70925
70926 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70927 * sysdeps/x86_64/x32/sysdep.h: New file.
70928
70929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70930
70931 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70932 * sysdeps/x86_64/setjmp.S: Likewise.
70933
70934 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70935
70936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70938 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70939 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70940 remove unused global constant.
70941
70942 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70943
70944 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70945 include of <not-cancel.h>.
70946
70947 2012-05-15 Roland McGrath <roland@hack.frob.com>
70948
70949 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70950
70951 2012-05-15 Jeff Law <law@redhat.com>
70952 Andreas Jaeger <aj@suse.de>
70953
70954 [BZ #13594]
70955 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70956 out from...
70957 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70958 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70960 code changing __hst_map_handle.map.
70961
70962 2012-05-15 Roland McGrath <roland@hack.frob.com>
70963
70964 * configure.in (sysnames): Look for Implies-before and Implies-after
70965 files.
70966 * configure: Regenerated.
70967
70968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70969
70970 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70971 8-byte data alignment with LP_SIZE alignment.
70972
70973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70974
70975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70976 into R10_LP.
70977
70978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70979
70980 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70981
70982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70983
70984 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70985 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70987 Likewise.
70988 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70989
70990 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70991
70992 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70993 (stackinfo_sub_sp): Likewise.
70994
70995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70996
70997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70998 RAX_LP.
70999
71000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71001
71002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71003 into R*_LP.
71004
71005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71006
71007 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71008 sizes into R*_LP.
71009
71010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71011
71012 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71013
71014 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71015
71016 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71017 into R11_LP and load __x86_64_shared_cache_size_half into
71018 R8_LP.
71019
71020 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71021
71022 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71023 R8_LP.
71024
71025 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71026
71027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71028 logb for POWER7.
71029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71030 logbf for POWER7.
71031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71032 logbl for POWER7.
71033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71034 powerpc32/power7/fpu/s_logb.c via #include.
71035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71036 powerpc32/power7/fpu/s_logbf.c via #include.
71037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71038 powerpc32/power7/fpu/s_logbl.c via #include.
71039
71040 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71041
71042 * README.libm: Remove file.
71043
71044 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71045
71046 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71047 count for x32. Use R*_LP and omit operand-size suffix.
71048
71049 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71050
71051 * shlib-versions: Move x86_64-.*-linux.* entries to ...
71052 * sysdeps/x86_64/64/shlib-versions: Here. New file.
71053 * sysdeps/x86_64/x32/shlib-versions: New file.
71054
71055 2012-05-14 Roland McGrath <roland@hack.frob.com>
71056
71057 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71058 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71059 Use _dl_fatal_printf instead.
71060
71061 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71062
71063 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71064 set if not set by the user. Do not allow for being unset.
71065 * sysdeps/unix/sysv/linux/configure: Regenerated.
71066
71067 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71068
71069 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71070 the `q' suffix from lea and replace .quad with ASM_ADDR.
71071
71072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71073
71074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71075 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
71076 instead of $17.
71077 (PTR_DEMANGLE): Likewise.
71078
71079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71080
71081 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71082 (LP_OP): Likewise.
71083 (ASM_ADDR): Likewise.
71084 (RAX_LP): Likewise.
71085 (RBP_LP): Likewise.
71086 (RBX_LP): Likewise.
71087 (RCX_LP): Likewise.
71088 (RDI_LP): Likewise.
71089 (RSI_LP): Likewise.
71090 (RSP_LP): Likewise.
71091 (R8_LP): Likewise.
71092 (R9_LP): Likewise.
71093 (R10_LP): Likewise.
71094 (R10_LP): Likewise.
71095 (R11_LP): Likewise.
71096 (R12_LP): Likewise.
71097 (R13_LP): Likewise.
71098 (R14_LP): Likewise.
71099 (R15_LP): Likewise.
71100
71101 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71102
71103 * sysdeps/x86_64/x32/dl-machine.h: New file.
71104
71105 2012-05-14 Andreas Jaeger <aj@suse.de>
71106
71107 * manual/Makefile (subdir): Remove export of subdir.
71108 (all): Remove target.
71109 (.PHONY): Remove all from list.
71110 (mkinstalldirs): Remove.
71111 (.PHONY): Remove installdirs from list.
71112 ($(inst_infodir)/libc.info): Use make-target-directory.
71113 (installdirs): Remove.
71114 (subdir_%): Remove.
71115 (glibc-targets): Remove.
71116 (lib): Remove.
71117 (stubs): Remove.
71118 ($(objpfx)stubs ../po/manual.pot): Remove.
71119 ($(objpfx)stamp%): Remove.
71120 (make-target-directory): Remove.
71121 (subdir_install): Remove.
71122 (routines): Remove.
71123 (aux): Remove.
71124 (sources): Remove.
71125 (objects): Remove.
71126 (headers): Remove.
71127
71128 [BZ #13750]
71129 * manual/.gitignore: Remove, it's not needed anymore.
71130 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71131 all files in it.
71132 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71133 directory.
71134 (texis): Renamed to $(objpfx)texis.
71135 (texis-path): New, contains path to generated files.
71136 (chapters.%): Use texis-path for complete path, add extra argument
71137 libc-texinfo.sh.
71138 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71139 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71140 (summary,texi, stamp-summary): Use complete path of
71141 files. Generate files in build dir.
71142 (dir-add.texi): Build in build dir.
71143 (libm-err.texi,stamp-libm-err): Likewise.
71144 (version.texi, stamp-version): Likewise.
71145 (.%c.texi): Likewise.
71146 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71147 (mostlyclean): Remove target.
71148 (realclean): Remove target.
71149 (generated): Add new variable with contents from mostlyclean and
71150 realclean, remove entries duplicated in common-mostlyclean, add
71151 stamp-libm-err and stamp-version.
71152 (generated-dirs): Add libc directory.
71153 ($(inst_infodir)/libc.info): Install files from build dir.
71154
71155 * manual/install.texi (Configuring and compiling): Adjust since
71156 the info files are not part of the tar ball anymore.
71157
71158 2012-05-14 Andreas Jaeger <aj@suse.de>
71159
71160 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71161 variable.
71162
71163 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71164
71165 [BZ #13717]
71166 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71167 to 2.2.0 where earlier.
71168 * sysdeps/unix/sysv/linux/configure: Regenerated.
71169 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71170 Remove conditional code.
71171 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71172 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71173 Remove conditional code.
71174 [!__NR_lchown]: Likewise.
71175 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71176 [__NR_lchown]: Likewise.
71177 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71178 comment referencing __ASSUME_LCHOWN_SYSCALL.
71179 * sysdeps/unix/sysv/linux/i386/sigaction.c
71180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71182 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71183 Remove conditional code.
71184 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71185 (__protocol_available): Remove #if 0 code.
71186 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71187 conditional code.
71188 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71189 * sysdeps/unix/sysv/linux/kernel-features.h
71190 (__ASSUME_GETCWD_SYSCALL): Don't define.
71191 (__ASSUME_REALTIME_SIGNALS): Likewise.
71192 (__ASSUME_PREAD_SYSCALL): Likewise.
71193 (__ASSUME_PWRITE_SYSCALL): Likewise.
71194 (__ASSUME_POLL_SYSCALL): Likewise.
71195 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71196 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71197 non-SPARC.
71198 (__ASSUME_SIOCGIFNAME): Don't define.
71199 (__ASSUME_MSG_NOSIGNAL): Likewise.
71200 (__ASSUME_SENDFILE): Define unconditionally.
71201 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71202 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71203 conditional code.
71204 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71205 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71207 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71209 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71210 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71235 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71236 Remove conditional code.
71237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71238 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71239 Remove conditional code.
71240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71241 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71242 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71243 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71244 Remove conditional code.
71245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71246 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71247 Remove conditional code.
71248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71249 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71250 Remove conditional code.
71251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71252 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71253 Remove conditional code.
71254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71255 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71256 Remove conditional code.
71257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71258 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71261 * sysdeps/unix/sysv/linux/sigaction.c
71262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71264 * sysdeps/unix/sysv/linux/sigpending.c
71265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71267 * sysdeps/unix/sysv/linux/sigprocmask.c
71268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71270 * sysdeps/unix/sysv/linux/sigsuspend.c
71271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71274 (__libc_missing_rt_sigs): Remove.
71275 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71276 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71277 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71278 Remove conditional code.
71279 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71280 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71281 return 1.
71282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71283 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71285 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71286
71287 2012-05-14 Andreas Jaeger <aj@suse.de>
71288
71289 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71290 it's not used in glibc.
71291 (__coshm1): Likewise.
71292 (__acosh1p): Likewise.
71293 (__sgn): Likewise.
71294
71295 * manual/string.texi (Copying and Concatenation): Add missing
71296 variable in concat example.
71297 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71298
71299 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71300
71301 [BZ #14103]
71302 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71303 __builtin_clzl with __builtin_clzll.
71304
71305 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71306
71307 [BZ #14104]
71308 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71309 libc_freeres_ptr.
71310
71311 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71312
71313 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71314 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71315 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71316 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71317
71318 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71319
71320 * NEWS: Update ia64 info.
71321
71322 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71323
71324 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71325 used as bcopy.
71326
71327 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71328
71329 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71330 * sysdeps/unix/syscalls.list (dup3): Likewise.
71331 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71332 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71333
71334 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71335
71336 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71337 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71338
71339 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71340
71341 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71342 thread pointer.
71343 (TLS_IE): Use mov/add instead of movq/addq to load thread
71344 pointer.
71345 (TLS_GD_PREFIX): New.
71346 (TLS_GD): Use it.
71347
71348 2012-05-11 David S. Miller <davem@davemloft.net>
71349
71350 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71351 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71352 (_FPU_SETCW): Likewise.
71353
71354 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71355
71356 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71357 is 32-byte aligned.
71358
71359 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71360
71361 [BZ #11837]
71362 * iconvdata/gb18030.c: Update tables.
71363 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71364 characters specially.
71365 (BODY for TO_LOOP): Add encoding of missing ranges.
71366
71367 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71368
71369 [BZ #13673]
71370 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71371 * sysdeps/mach/hurd/dup3.c: Likewise.
71372 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71373 * sysdeps/powerpc/memmove.c:: Likewise.
71374
71375 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71376
71377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71378 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71379
71380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71381
71382 * elf/elf.h (R_X86_64_RELATIVE64): New.
71383 (R_X86_64_NUM): Updated.
71384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71385 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71386 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71387 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71388 tst-quad1pie tst-quad2pie
71389 (modules-names): Add tst-quadmod1 tst-quadmod2.
71390 ($(objpfx)tst-quad1): New dependency.
71391 ($(objpfx)tst-quad2): Likewise.
71392 ($(objpfx)tst-quad1pie): Likewise.
71393 ($(objpfx)tst-quad2pie): Likewise.
71394 * sysdeps/x86_64/tst-quad1.c: New file.
71395 * sysdeps/x86_64/tst-quad1pie.c: New file.
71396 * sysdeps/x86_64/tst-quad2.c: Likewise.
71397 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71398 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71399 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71400 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71401 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71402
71403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71404
71405 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71406 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71407 * streams/stropts.h (t_scalar_t): Define type.
71408
71409 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71410 (_PATH_PRESERVE): Set to "/var/lib".
71411 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71412
71413 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71414 instead of int.
71415
71416 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71417 if __dir_mkfile succeeded.
71418
71419 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71420 checking for _hurd_dtablesize. Unlock it right after having
71421 finished _hurd_dtable allocation.
71422
71423 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71424
71425 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71426 * sysdeps/mach/hurd/configure: Regenerated.
71427 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71428 special-casing to...
71429 * sysdeps/gnu/configure.in: ... this new file.
71430 * sysdeps/unix/sysv/linux/configure: Regenerated.
71431 * sysdeps/gnu/configure: New generated file.
71432
71433 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71434 for Linux: use nsec instead of usec, as well as:
71435 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71436 members of type struct timespec.
71437 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71438 New macros.
71439 (struct stat64): Likewise.
71440 (_STATBUF_ST_NSEC): New macro.
71441 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71442
71443 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71444 __strtoul_internal rather than strtoul.
71445
71446 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71447
71448 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71449 and reject them.
71450
71451 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71452
71453 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71454 which preserves existing values.
71455 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71456
71457 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71458
71459 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71460 TIMEOUT values. Return EINVAL for NFDS values either negative or
71461 greater than FD_SETSIZE.
71462
71463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71464
71465 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71466 allocated, call __vm_protect to finish enabling the existing space, and
71467 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71468 allocate the remainder.
71469
71470 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71471
71472 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71473 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71474
71475 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71476
71477 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71478 sysdeps/mach/hurd/readlink.c.
71479
71480 * posix/tst-sysconf.c (posix_options): Only use
71481 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71482 _POSIX_SYNCHRONIZED_IO when they are defined
71483 * sysdeps/mach/hurd/bits/posix_opt.h:
71484 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71485 (_XOPEN_REALTIME): Undefine macro.
71486 (_XOPEN_REALTIME_THREADS): Undefine macro.
71487 (_XOPEN_SHM): Undefine macro.
71488 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71489 macro to -1.
71490 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71491 macro to -1.
71492 (_POSIX_ASYNC_IO): Undefine macro.
71493 (_POSIX_PRIORITIZED_IO): Undefine macro.
71494 (_POSIX_SPIN_LOCKS): Define macro to -1.
71495
71496 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71497 SA_NODEFER, SA_RESETHAND.
71498 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71499 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71500 F_DUPFD_CLOEXEC.
71501
71502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71503
71504 * elf/Makefile (pldd-modules): Define unconditionally.
71505
71506 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71507
71508 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71509
71510 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71511
71512 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71513 Return ENOENT when name is empty.
71514 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71515
71516 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71517
71518 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71519
71520 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71521
71522 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71523
71524 Fix mlock in all cases except non-readable pages.
71525 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71526 instead of VM_PROT_ALL as parameter to __vm_wire function.
71527
71528 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71529 (__mkdir): When path is `/', just fail with EEXIST.
71530 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71531
71532 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71533
71534 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71535 <sys/uio.h> (for writev).
71536 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71537 and <sys/param.h> (for MIN).
71538
71539 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71540
71541 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71542 REQUESTED_TIME. Properly set the remaining time and return EINTR
71543 if interrupted.
71544
71545 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71546
71547 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71548 Depend on against $(link-rpcuserlibs).
71549
71550 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71551
71552 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71553 (__libc_stack_end): Do not use attribute_relro.
71554 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71555 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71556 to libthread-provided value.
71557 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71558 attribute_relro.
71559
71560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71561
71562 [BZ #3748]
71563 * bits/libc-lock.h (__libc_once_get): New macro.
71564 * sysdeps/mach/bits/libc-lock.h: Likewise.
71565 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71567 instead of using implementation details.
71568
71569 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71570 * libio/freopen.c: Likewise.
71571 * libio/freopen64.c: Likewise.
71572 * misc/syslog.c: Likewise.
71573 * nscd/connections.c: Likewise.
71574 * nscd/netgroupcache.c: Likewise.
71575 * sysdeps/posix/getcwd.c: Likewise.
71576
71577 2012-05-10 Roland McGrath <roland@hack.frob.com>
71578
71579 * math/w_ilogbf.c: Add #include <limits.h>.
71580
71581 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71582
71583 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71584 path instead of returning without unlocking.
71585
71586 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71587 immediate-write ioctls.
71588 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71589
71590 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71591
71592 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71593 __builtin_frame_address instead of making assumptions about the
71594 location of the return address relative to DATA. Force early load of
71595 the return address.
71596 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71597 __builtin_frame_address.
71598
71599 dup3 for GNU Hurd.
71600 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71601 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71602 implement dup3 and do some further code clean-ups.
71603 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71604 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71605
71606 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71607
71608 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71609
71610 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71611 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71612 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71613 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71614 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71615 d->port.lock.
71616
71617 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71618 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71619 when handler == SIG_ERR, not when handler != SIG_ERR.
71620
71621 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71622
71623 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71624 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71625 definitions.
71626
71627 accept4 for GNU Hurd.
71628 * include/sys/socket.h (__libc_accept4): New prototype.
71629 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71630 to implement __libc_accept4.
71631 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71632 __libc_accept4.
71633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71634
71635 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71636 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71637 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71638 signal-defines.sym.
71639
71640 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71641
71642 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71643
71644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71645
71646 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71647 assertion on O_CLOEXEC flag.
71648 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71649 * hurd/intern-fd.c: Likewise.
71650 * hurd/port2fd.c: Likewise.
71651
71652 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71653
71654 [BZ #3906]
71655 * bits/in.h (IPV6_PKTINFO): Define new macro.
71656 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71657
71658 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71659
71660 [BZ #13954]
71661 [BZ #13955]
71662 [BZ #13956]
71663 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71665 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71669 * math/libm-test.inc (logb_test) : Additional logb tests.
71670
71671 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71672 Andreas Jaeger <aj@suse.de>
71673
71674 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71675 * configure: Regenerated.
71676 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71677 * config.make.in (link-obsolete-rpc): New substituted variable.
71678 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71679 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71680 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71681 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71682 so that libc.a contains the symbols.
71683 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71684 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71685 * sunrpc/auth_none.c: Likewise.
71686 * sunrpc/auth_unix.c: Likewise.
71687 * sunrpc/authdes_prot.c: Likewise.
71688 * sunrpc/authuxprot.c: Likewise.
71689 * sunrpc/clnt_gen.c: Likewise.
71690 * sunrpc/clnt_perr.c: Likewise.
71691 * sunrpc/clnt_raw.c: Likewise.
71692 * sunrpc/clnt_simp.c: Likewise.
71693 * sunrpc/clnt_tcp.c: Likewise.
71694 * sunrpc/clnt_udp.c: Likewise.
71695 * sunrpc/clnt_unix.c: Likewise.
71696 * sunrpc/des_crypt.c: Likewise.
71697 * sunrpc/des_soft.c: Likewise.
71698 * sunrpc/get_myaddr.c: Likewise.
71699 * sunrpc/key_call.c: Likewise.
71700 * sunrpc/key_prot.c: Likewise.
71701 * sunrpc/netname.c: Likewise.
71702 * sunrpc/pm_getmaps.c: Likewise.
71703 * sunrpc/pm_getport.c: Likewise.
71704 * sunrpc/pmap_clnt.c: Likewise.
71705 * sunrpc/pmap_prot.c: Likewise.
71706 * sunrpc/pmap_prot2.c: Likewise.
71707 * sunrpc/pmap_rmt.c: Likewise.
71708 * sunrpc/publickey.c: Likewise.
71709 * sunrpc/rpc_cmsg.c: Likewise.
71710 * sunrpc/rpc_common.c: Likewise.
71711 * sunrpc/rpc_dtable.c: Likewise.
71712 * sunrpc/rpc_prot.c: Likewise.
71713 * sunrpc/rpc_thread.c: Likewise.
71714 * sunrpc/rtime.c: Likewise.
71715 * sunrpc/svc.c: Likewise.
71716 * sunrpc/svc_auth.c: Likewise.
71717 * sunrpc/svc_raw.c: Likewise.
71718 * sunrpc/svc_run.c: Likewise.
71719 * sunrpc/svc_tcp.c: Likewise.
71720 * sunrpc/svc_udp.c: Likewise.
71721 * sunrpc/svc_unix.c: Likewise.
71722 * sunrpc/svcauth_des.c: Likewise.
71723 * sunrpc/xcrypt.c: Likewise.
71724 * sunrpc/xdr.c: Likewise.
71725 * sunrpc/xdr_array.c: Likewise.
71726 * sunrpc/xdr_float.c: Likewise.
71727 * sunrpc/xdr_intXX_t.c: Likewise.
71728 * sunrpc/xdr_mem.c: Likewise.
71729 * sunrpc/xdr_rec.c: Likewise.
71730 * sunrpc/xdr_ref.c: Likewise.
71731 * sunrpc/xdr_sizeof.c: Likewise.
71732 * sunrpc/xdr_stdio.c: Likewise.
71733
71734 2012-05-10 Roland McGrath <roland@hack.frob.com>
71735
71736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71737 change. Update copyright years.
71738
71739 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71740
71741 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71742
71743 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71744 Joseph Myers <joseph@codesourcery.com>
71745 Paul Pluzhnikov <ppluzhnikov@google.com>
71746
71747 [BZ #14012]
71748 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71749 requiring rpcgen.
71750 [cross-compiling] (extra-libs): Likewise.
71751 [cross-compiling] (extra-libs-others): Likewise.
71752 [cross-compiling] (librpcsvc-routines): Likewise.
71753 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71754 [cross-compiling] (omit-deps): Likewise.
71755 (sunrpc-CPPFLAGS): New variable.
71756 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71757 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71758 (cross-rpcgen-objs): New variable.
71759 (extra-objs): Append $(cross-rpcgen-objs).
71760 ($(cross-rpcgen-objs)): New rule.
71761 ($(objpfx)cross-rpcgen): Likewise.
71762 (rpcgen-cmd): Define to use $(built-program-file). Expand
71763 comment.
71764 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71765 ($(objpfx)x%.stmp): Likewise.
71766 * sunrpc/proto.h [IS_IN_build] (_): Define.
71767 [IS_IN_build] (_libc_intl_domainname): Likewise.
71768
71769 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71770
71771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71772 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71773 and R_X86_64_TPOFF64.
71774
71775 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71776
71777 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71778 sysdeps/unix/sysv/syscalls.list.
71779 (stime): Likewise.
71780 (utime): Likewise.
71781 * sysdeps/unix/sysv/syscalls.list: Remove file.
71782
71783 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71784
71785 [BZ #3440]
71786 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71787 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71788 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71789 (__LC_IDENTIFICATION): Make these macros useful in #if
71790 expressions, as required by C99.
71791
71792 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71793
71794 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71795 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71796 after this.
71797
71798 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71799
71800 * stdlib/longlong.h: Updated from GCC.
71801
71802 2012-05-09 Andreas Jaeger <aj@suse.de>
71803
71804 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71805 default is first entry.
71806 (run_mode): Set type.
71807 (main): Remove informal message about syslog.
71808 (options): Fix typo.
71809
71810 [BZ #14053]
71811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71812 to asm.
71813 (lrint): Likewise.
71814 (llrintf): Likewise.
71815 (llrint): Likewise.
71816 (rint): Likewise.
71817 (rintf): Likewise.
71818 (nearbyint): Likewise.
71819 (nearbyintf): Likewise.
71820
71821 2012-05-09 Andreas Jaeger <aj@suse.de>
71822 Pedro Alves <palves@redhat.com>
71823
71824 * nscd/nscd.c (run_mode): Use enum.
71825 (main): Cleanup coding style issue.
71826
71827 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71828 Andreas Jaeger <aj@suse.de>
71829
71830 * nscd/nscd.c (go_background): Replaced with...
71831 (run_mode): ... this.
71832 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71833 (options): Add -F --foreground.
71834 (main): Implement it.
71835 (parse_opt): Parse it.
71836
71837 2012-05-09 Andreas Jaeger <aj@suse.de>
71838
71839 [BZ #14083]
71840 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71841 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71842 -Wconversion warning.
71843 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71844 Likewise.
71845
71846 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71847
71848 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71849 == 0.
71850 (LC_ALL): Use macro-int-constant.
71851 (LC_COLLATE): Likewise.
71852 (LC_CTYPE): Likewise.
71853 (LC_MESSAGES): Likewise.
71854 (LC_MONETARY): Likewise.
71855 (LC_NUMERIC): Likewise.
71856 (LC_TIME): Likewise.
71857 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71858 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71860 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71861 Specify type.
71862 [C99-based standards] (float_t): Expect type.
71863 [C99-based standards] (double_t): Expect type.
71864 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71865 type.
71866 [C99-based standards] (HUGE_VALL): Likewise.
71867 [C99-based standards] (INFINITY): Likewise.
71868 [C99-based standards] (NAN): Likewise.
71869 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71870 [C99-based standards] (FP_NAN): Likewise.
71871 [C99-based standards] (FP_NORMAL): Likewise.
71872 [C99-based standards] (FP_SUBNORMAL): Likewise.
71873 [C99-based standards] (FP_ZERO): Likewise.
71874 [C99-based standards] (FP_FAST_FMA): Use
71875 optional-macro-int-constant. Specify type. Require == 1.
71876 [C99-based standards] (FP_FAST_FMAF): Likewise.
71877 [C99-based standards] (FP_FAST_FMAL): Likewise.
71878 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71879 [C99-based standards] (FP_ILOGBNAN): Likewise.
71880 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71881 Specify type.
71882 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71883 [C99-based standards] (math_errhandling): Specify type.
71884 [ISO99 || ISO11] (signgam): Do not allow.
71885 [non-C99-based standards] (copysignf): Do not allow.
71886 [non-C99-based standards] (exp2f): Likewise.
71887 [non-C99-based standards] (log2f): Likewise.
71888 [non-C99-based standards] (modff): Allow.
71889 [non-C99-based standards] (erff): Do not allow.
71890 [non-C99-based standards] (erfcf): Likewise.
71891 [non-C99-based standards] (gammaf): Likewise.
71892 [non-C99-based standards] (hypotf): Likewise.
71893 [non-C99-based standards] (j0f): Likewise.
71894 [non-C99-based standards] (j1f): Likewise.
71895 [non-C99-based standards] (jnf): Likewise.
71896 [non-C99-based standards] (lgammaf): Likewise.
71897 [non-C99-based standards] (tgammaf): Likewise.
71898 [non-C99-based standards] (y0f): Likewise.
71899 [non-C99-based standards] (y1f): Likewise.
71900 [non-C99-based standards] (ynf): Likewise.
71901 [non-C99-based standards] (isnanf): Likewise.
71902 [non-C99-based standards] (acoshf): Likewise.
71903 [non-C99-based standards] (asinhf): Likewise.
71904 [non-C99-based standards] (atanhf): Likewise.
71905 [non-C99-based standards] (cbrtf): Likewise.
71906 [non-C99-based standards] (expm1f): Likewise.
71907 [non-C99-based standards] (ilogbf): Likewise.
71908 [non-C99-based standards] (log1pf): Likewise.
71909 [non-C99-based standards] (logbf): Likewise.
71910 [non-C99-based standards] (nextafterf): Likewise.
71911 [non-C99-based standards] (remainderf): Likewise.
71912 [non-C99-based standards] (rintf): Likewise.
71913 [non-C99-based standards] (scalbf): Likewise.
71914 [non-C99-based standards] (copysignl): Likewise.
71915 [non-C99-based standards] (exp2l): Likewise.
71916 [non-C99-based standards] (log2l): Likewise.
71917 [non-C99-based standards] (modfl): Allow.
71918 [non-C99-based standards] (erfl): Do not allow.
71919 [non-C99-based standards] (erfcl): Likewise.
71920 [non-C99-based standards] (gammal): Likewise.
71921 [non-C99-based standards] (hypotl): Likewise.
71922 [non-C99-based standards] (j0l): Likewise.
71923 [non-C99-based standards] (j1l): Likewise.
71924 [non-C99-based standards] (jnl): Likewise.
71925 [non-C99-based standards] (lgammal): Likewise.
71926 [non-C99-based standards] (tgammal): Likewise.
71927 [non-C99-based standards] (y0l): Likewise.
71928 [non-C99-based standards] (y1l): Likewise.
71929 [non-C99-based standards] (ynl): Likewise.
71930 [non-C99-based standards] (isnanl): Likewise.
71931 [non-C99-based standards] (acoshl): Likewise.
71932 [non-C99-based standards] (asinhl): Likewise.
71933 [non-C99-based standards] (atanhl): Likewise.
71934 [non-C99-based standards] (cbrtl): Likewise.
71935 [non-C99-based standards] (expm1l): Likewise.
71936 [non-C99-based standards] (ilogbl): Likewise.
71937 [non-C99-based standards] (log1pl): Likewise.
71938 [non-C99-based standards] (logbl): Likewise.
71939 [non-C99-based standards] (nextafterl): Likewise.
71940 [non-C99-based standards] (remainderl): Likewise.
71941 [non-C99-based standards] (rintl): Likewise.
71942 [non-C99-based standards] (scalbl): Likewise.
71943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71944 [non-C99-based standards] (FP_*): Do not allow.
71945 [C99-based standards] (FP_*): Change to
71946 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71947 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71948 allow.
71949 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71950 (SIG_ERR): Likewise.
71951 [X/Open-based standards] (SIG_HOLD): Likewise.
71952 (SIG_IGN): Likewise.
71953 (SIGABRT): Use macro-int-constant. Specify type. Require
71954 positive value.
71955 (SIGFPE): Likewise.
71956 (SIGILL): Likewise.
71957 (SIGINT): Likewise.
71958 (SIGSEGV): Likewise.
71959 (SIGTER): Likewise.
71960 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71961 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71962 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71963 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71964 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71965 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71966 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71967 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71968 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71969 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71970 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71971 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71972 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71973 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71974 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71975 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71976 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71977 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71978 [X/Open-based standards] (SIGTRAP): Likewise.
71979 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71980 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71981 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71982 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71983 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71984 allow.
71985
71986 2012-05-08 Ian Wienand <ianw@vmware.com>
71987
71988 [BZ #14080]
71989 * time/tzset.c (__tzset_parse_tz): Update default rules for
71990 daylight time changes in the Energy Policy Act of 2005.
71991
71992 2012-05-09 Andreas Jaeger <aj@suse.de>
71993
71994 [BZ #13983]
71995 * elf/ldconfig.c (parse_conf): Change string to make clear that
71996 ldconfig only issued a warning if ld.so.conf does not exist.
71997
71998 2012-05-08 David S. Miller <davem@davemloft.net>
71999
72000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72001 movxtod instead of popping the value on the stack.
72002
72003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72004
72005 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
72006
72007 * config.h.in: Add HAVE_ARM_PCS_VFP.
72008
72009 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
72010
72011 [BZ #13979]
72012 * include/features.h: Warn if user requests __FORTIFY_SOURCE
72013 checking but the checks are disabled for any reason.
72014
72015 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
72016
72017 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72018 and ELF64_R_TYPE with ELFW(R_TYPE).
72019
72020 2012-05-08 Joseph Myers <joseph@codesourcery.com>
72021
72022 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72023 (ulimit): Likewise.
72024
72025 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72026 (settimeofday): Likewise.
72027
72028 2012-05-08 Mike Frysinger <vapier@gentoo.org>
72029
72030 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
72031 a struct th_u2 inside the union, and move tu_block/tu_code into
72032 a new th_u3 union of tu_block/tu_code inside of that. Move
72033 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
72034 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
72035 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72036 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72037 (th_stuff): Change to th_u1.tu_stuff.
72038 (th_data): Define.
72039 (th_msg): Change to th_u1.th_u2.tu_data.
72040
72041 2012-05-07 David S. Miller <davem@davemloft.net>
72042
72043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72044
72045 [BZ #14074]
72046 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72047 (SETUP_PIC_REG): Use it.
72048 (SETUP_PIC_REG_LEAF): Use it.
72049
72050 2012-05-07 Joseph Myers <joseph@codesourcery.com>
72051
72052 [BZ #13885]
72053 [BZ #13923]
72054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72055 USE_AS_EXPM1L.
72056 (EXPL_FINITE): Likewise.
72057 (FLDLOG): Likewise.
72058 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72059 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72060 e_expl.S.
72061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72062 USE_AS_EXPM1L.
72063 (EXPL_FINITE): Likewise.
72064 (FLDLOG): Likewise.
72065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72066 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72067 e_expl.S.
72068 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
72069 test of -max_value argument for long double.
72070 * sysdeps/i386/fpu/libm-test-ulps: Update.
72071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72072
72073 2012-05-06 David S. Miller <davem@davemloft.net>
72074
72075 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72076 quad soft-float symbols whose references which are compiler
72077 generated.
72078 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72079
72080 2012-05-06 Joseph Myers <joseph@codesourcery.com>
72081
72082 [BZ #13884]
72083 [BZ #13914]
72084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72085 USE_AS_EXP10L.
72086 (EXPL_FINITE): Likewise.
72087 (FLDLOG): Likewise.
72088 (c0): Likewise.
72089 (c1): Likewise.
72090 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72091 Adjust comments for base varying.
72092 (__expl_finite): Change alias to EXPL_FINITE.
72093 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72094 e_expl.S.
72095 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72096 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72098 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72099 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72100 USE_AS_EXP10L.
72101 (EXPL_FINITE): Likewise.
72102 (FLDLOG): Likewise.
72103 (c0): Likewise.
72104 (c1): Likewise.
72105 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72106 Adjust comments for base varying.
72107 (__expl_finite): Change alias to EXPL_FINITE.
72108 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72109 tests for bugs.
72110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72111
72112 [BZ #14064]
72113 * math/libm-test.inc (check_float_internal): Correct ulp
72114 calculation for subnormal expected results.
72115
72116 2012-05-06 Andreas Jaeger <aj@suse.de>
72117
72118 * Makeconfig (+math-flags): New, set to -frounding-math.
72119 (+cflags): Add +math-flags so that all of glibc gets compiled with
72120 it.
72121
72122 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72123
72124 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72125
72126 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72127 Disable one test.
72128
72129 [BZ #13787]
72130 [BZ #13922]
72131 [BZ #14036]
72132 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72133 (__ieee754_expl): Allow for and saturate large arguments.
72134 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72135 (u_threshold): Likewise.
72136 (__exp): Call __ieee754_exp before checking for overflow and
72137 underflow.
72138 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72139 (u_threshold): Likewise.
72140 (__expf): Call __ieee754_expf before checking for overflow and
72141 underflow.
72142 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72143 (u_threshold): Likewise.
72144 (__expl): Call __ieee754_expl before checking for overflow and
72145 underflow.
72146 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72147 (__ieee754_expl): Allow for and saturate large arguments.
72148 * math/libm-test.inc (exp_test): Add another test. Do not allow
72149 missing overflow exception on overflow.
72150 (expm1_test): Do not allow missing overflow exception on overflow.
72151
72152 * sysdeps/i386/fpu/e_expl.c: Move to ...
72153 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72154 rather than using inline asm.
72155 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72156 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72157 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72158
72159 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72160 (nice): Likewise.
72161 (poll): Likewise.
72162 (signal): Likewise.
72163 (time): Likewise.
72164 (times): Likewise.
72165
72166 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72167
72168 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72169 sysdeps/unix/common/syscalls.list.
72170 (fchmod): Likewise.
72171 (fchown): Likewise.
72172 (ftruncate): Likewise.
72173 (getrusage): Likewise.
72174 (gettimeofday): Likewise.
72175 (setpgid): Likewise.
72176 (setregid): Likewise.
72177 (setreuid): Likewise.
72178 (sigaction): Likewise.
72179 (truncate): Likewise.
72180 (vhangup): Likewise.
72181 * sysdeps/unix/common/syscalls.list: Remove file.
72182 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72183 * sysdeps/unix/sysv/linux/Implies: Likewise.
72184
72185 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72186
72187 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72189 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72190 Moved to ...
72191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72192 Here.
72193 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72194 to ...
72195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72196 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72197 to ...
72198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72199 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72200 to ...
72201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72202 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72203 to ...
72204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72205 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72206 to ...
72207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72208 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72209 to ...
72210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72211 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72212 to ...
72213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72214 Here.
72215 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72216 to ...
72217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72218 Here.
72219 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72220 to ...
72221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72222 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72223 Moved to ...
72224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72225 Here.
72226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72227 to ...
72228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72229
72230 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72231
72232 * sysdeps/unix/common/bits/dirent.h: Remove file.
72233 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72234
72235 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72236 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72237 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72238 * sysdeps/unix/bsd/isatty.c: Likewise.
72239 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72240 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72241 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72242
72243 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72244
72245 [BZ #13563]
72246 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72247 long double comparison inaccuracies.
72248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72250
72251 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72252
72253 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72255
72256 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72257
72258 [BZ #14049]
72259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72260 nonzero digits before rounding a hex value.
72261 * stdlib/tst-strtod.c (tests): Add another test.
72262
72263 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72264
72265 * sysdeps/s390/fpu/libm-test-ulps: Update.
72266
72267 2012-05-03 Andreas Jaeger <aj@suse.de>
72268
72269 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72270 does not get optimized out.
72271 (malloc_opt_barrier): New.
72272
72273 2012-05-03 Andreas Jaeger <aj@suse.de>
72274 Roland McGrath <roland@hack.frob.com>
72275
72276 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72277 intermediate file deletion.
72278 (generated): Add .symlist files.
72279
72280 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72281
72282 [BZ #13775]
72283 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72284 Redirect under this condition.
72285 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72286 [__USE_GNU] (__dprintf_chk): Not under this condition.
72287 [__USE_GNU] (__vdprintf_chk): Likewise.
72288 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72289 under this condition.
72290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72291 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72292 [__USE_XOPEN2K8] (vdprintf): Likewise.
72293 [__USE_GNU] (__dprintf_chk): Not under this condition.
72294 [__USE_GNU] (__vdprintf_chk): Likewise.
72295 [__USE_GNU] (dprintf): Likewise.
72296 [__USE_GNU] (vdprintf): Likewise.
72297
72298 2012-05-03 Roland McGrath <roland@hack.frob.com>
72299
72300 * elf/Makefile (common-generated): Set this instead of generated for
72301 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72302 $(all-built-dso)-derived lists.
72303
72304 2012-05-03 Andreas Jaeger <aj@suse.de>
72305
72306 * sysdeps/i386/fpu/libm-test-ulps: Update.
72307
72308 * FAQ: Removed.
72309 * FAQ.in: Likewise.
72310 * scripts/gen-FAQ.pl: Likewise.
72311 * manual/install.texi (Installation): Point to online location of
72312 FAQ.
72313 * Makefile (files-for-dist): Remove FAQ.
72314 (FAQ): Remove.
72315
72316 2012-05-02 Allan McRae <allan@archlinux.org>
72317
72318 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72319 (LDFLAGS-reldepmod5.so): Likewise.
72320 (LDFLAGS-reldep6mod1.so): Likewise.
72321 (LDFLAGS-reldep6mod4.so): Likewise.
72322 (LDFLAGS-reldep8mod3.so): Likewise.
72323 (LDFLAGS-unload4mod1.so): Likewise.
72324 (LDFLAGS-unload4mod2.so): Likewise.
72325 (LDFLAGS-tst-initorder): Likewise.
72326 (LDFLAGS-tst-initordera2.so): Likewise.
72327 (LDFLAGS-tst-initordera3.so): Likewise.
72328 (LDFLAGS-tst-initordera4.so): Likewise.
72329 (LDFLAGS-tst-initorderb2.so): Likewise.
72330 (LDFLAGS-noload): Likewise.
72331 (LDFLAGS-next): Likewise.
72332 (LDFLAGS-order2mod1.so): Likewise.
72333 (LDFLAGS-order2mod2.so): Likewise.
72334 (LDFLAGS-tst-initorder2): Likewise.
72335 (LDFLAGS-tst-initorder2a.so): Likewise.
72336 (LDFLAGS-tst-initorder2b.so): Likewise.
72337 (LDFLAGS-tst-initorder2c.so): Likewise.
72338 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72339
72340 2012-05-02 David S. Miller <davem@davemloft.net>
72341
72342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72343
72344 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72345
72346 [BZ #14055]
72347 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72348
72349 2012-05-02 Andreas Jaeger <aj@suse.de>
72350
72351 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72352 since we manipulate rounding mode.
72353 (CPPFLAGS-test-idouble.c): Likewise.
72354 (CPPFLAGS-test-ifloat.c): Likewise.
72355 (CFLAGS-test-ldouble.c): Likewise.
72356 (CFLAGS-test-double.c): Likewise.
72357 (CFLAGS-test-float.c): Likewise.
72358 (CFLAGS-test-misc.c): Likewise.
72359 (CFLAGS-test-test-fenv.c): Likewise.
72360
72361 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72362
72363 [BZ #2550]
72364 [BZ #2570]
72365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72366 comparisons to determine direction to adjust input.
72367
72368 2012-05-01 Roland McGrath <roland@hack.frob.com>
72369
72370 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72371 output to the target.
72372
72373 * scripts/localplt.awk: New file.
72374 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72375 (check-localplt-CFLAGS): Variable removed.
72376 ($(all-built-dso:=.jmprel)): New static pattern rule.
72377 (generated): Add those targets.
72378 (localplt-built-dso): New variable.
72379 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72380
72381 * elf/check-localplt.c: File removed.
72382
72383 * scripts/check-execstack.awk: New file.
72384 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72385 (check-execstack-CFLAGS): Variable removed.
72386 ($(objpfx)check-execstack.h): Target removed.
72387 ($(objpfx)execstack-default): New target.
72388 (generated): Add that instead of check-execstack.h.
72389 ($(all-built-dso:=.phdr)): New static pattern rule.
72390 (generated): Add those targets.
72391 * elf/check-execstack.c: File removed.
72392
72393 * scripts/check-textrel.awk: New file.
72394 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72395 (check-textrel-CFLAGS): Variable removed.
72396 (all-built-dso): Use := to define.o
72397 ($(all-built-dso:=.dyn)): New static pattern rule.
72398 (generated): Add those targets.
72399 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72400 * config.make.in (READELF): New substituted variable.
72401 * elf/check-textrel.c: File removed.
72402
72403 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72404
72405 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72406 allow.
72407 * conform/data/ctype.h-data [C99-based standards] (isblank):
72408 Expect function.
72409 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72410 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72412 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72413 Specify type. Require positive value.
72414 (EILSEQ): Likewise.
72415 (ERANGE): Likewise.
72416 [ISO || POSIX] (EILSEQ): Do not expect.
72417 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72418 Specify type. Require positive value.
72419 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72420 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72421 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72422 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72423 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72424 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72425 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72426 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72427 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72428 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72429 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72430 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72431 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72432 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72433 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72434 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72435 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72436 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72437 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72438 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72439 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72440 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72441 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72442 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72443 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72444 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72445 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72446 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72447 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72448 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72449 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72450 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72451 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72452 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72453 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72454 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72455 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72456 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72457 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72458 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72459 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72460 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72461 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72462 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72463 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72464 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72465 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72466 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72467 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72468 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72469 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72470 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72471 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72472 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72473 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72474 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72475 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72476 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72477 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72478 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72479 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72480 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72481 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72482 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72483 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72484 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72485 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72486 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72487 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72488 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72489 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72490 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72491 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72492 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72493 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72494 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72495 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72496 Require >= 2.
72497 (FLT_ROUNDS): Expect as macro, not constant.
72498 (FLT_MANT_DIG): Use macro-int-constant.
72499 (DBL_MANT_DIG): Likewise.
72500 (LDBL_MANT_DIG): Likewise.
72501 (FLT_DIG): Likewise.
72502 (DBL_DIG): Likewise.
72503 (LDBL_DIG): Likewise.
72504 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72505 (DBL_MIN_EXP): Likewise.
72506 (LDBL_MIN_EXP): Likewise.
72507 (FLT_MAX_EXP): Use macro-int-constant.
72508 (DBL_MAX_EXP): Likewise.
72509 (LDBL_MAX_EXP): Likewise.
72510 (FLT_MAX_10_EXP): Likewise.
72511 (DBL_MAX_10_EXP): Likewise.
72512 (LDBL_MAX_10_EXP): Likewise.
72513 (FLT_MAX): Use macro-constant.
72514 (DBL_MAX): Likewise.
72515 (LDBL_MAX): Likewise.
72516 (FLT_EPSILON): Use macro-constant. Give upper bound.
72517 (DBL_EPSILON): Likewise.
72518 (LDBL_EPSILON): Likewise.
72519 (FLT_MIN): Likewise.
72520 (DBL_MIN): Likewise.
72521 (LDBL_MIN): Likewise.
72522 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72523 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72524 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72525 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72526 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72527 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72528 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72529 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72530 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72531 [ISO11] (FLT_TRUE_MIN): Likewise.
72532 [ISO11] (LDBL_TRUE_MIN): Likewise.
72533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72534 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72535 (SCHAR_MIN): Use macro-int-constant. Specify type.
72536 (SCHAR_MAX): Likewise.
72537 (UCHAR_MAX): Likewise.
72538 (CHAR_MIN): Likewise.
72539 (CHAR_MAX): Likewise.
72540 (MB_LEN_MAX): Use macro-int-constant.
72541 (SHRT_MIN): Use macro-int-constant. Specify type.
72542 (SHRT_MAX): Likewise.
72543 (USHRT_MAX): Likewise.
72544 (INT_MAX): Likewise.
72545 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72546 bound negative.
72547 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72548 bound with "U".
72549 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72550 bound with "L".
72551 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72552 bound negative. Suffix upper bound with "L".
72553 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72554 bound with "UL".
72555 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72556 Specify type.
72557 [C99-based standards] (LLONG_MAX): Likewise.
72558 [C99-based standards] (ULLONG_MAX): Likewise.
72559 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72560 == 0.
72561 [ISO11] (max_align_t): Require type.
72562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72563
72564 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72565 from $CFLAGS, without defining away __attribute__ calls.
72566 (checknamespace): Use $CFLAGS_namespace.
72567
72568 * conform/conformtest.pl (@keywords): Only include C99 keywords
72569 for standards based on C99 or C11.
72570
72571 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72572 Disable tests.
72573 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72574 UNIX98]: Likewise.
72575
72576 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72577 usability of symbols in #if.
72578
72579 * conform/conformtest.pl: If macro or constant types start
72580 "promoted:", expect the symbol to be of the following type
72581 promoted by the integer promotions.
72582
72583 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72584 in one place. Also handle "macro-constant".
72585
72586 * conform/conformtest.pl: Only accept expected macro values with
72587 "==". Parse all "macro" lines in one place.
72588 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72589
72590 * conform/conformtest.pl: Handle braced types on "constant" lines
72591 instead of handling "typed-constant".
72592 * conform/data/signal.h-data: Use "constant" instead of
72593 "typed-constant".
72594
72595 * conform/conformtest.pl: Handle "optional-" at start of lines in
72596 one place rather than duplicating several cases. Handle each
72597 format of "macro" line with initial "optional-".
72598
72599 * conform/conformtest.pl: Only accept expected constant or
72600 optional-constant values with "==". Parse all "constant" lines in
72601 one place. Parse all "optional-constant" lines in one place.
72602 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72603 * conform/data/fmtmsg.h-data: Likewise.
72604 * conform/data/netinet/in.h-data: Likewise.
72605 * conform/data/tar.h-data: Likewise.
72606 * conform/data/limits.h-data: Use "==" form on "constant" and
72607 "optional-constant" lines.
72608
72609 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72610 Use -std=c99 for XOPEN2K.
72611 (@knownproblems): Remove.
72612 (newtoken): Don't check %isknown.
72613
72614 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72615 Do not expect macro.
72616 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72617 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72618 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72619 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72620 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72621 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72622 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72623 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72624 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72625 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72626 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72627 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72628 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72629 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72630 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72631 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72632 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72633 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72634 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72635 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72636 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72640 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72641 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72642 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72643 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72644 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72645 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72646 [XPG3] (acosh): Likewise.
72647 [XPG3] (asinh): Likewise.
72648 [XPG3] (atanh): Likewise.
72649 [XPG3] (cbrt): Likewise.
72650 [XPG3] (expm1): Likewise.
72651 [XPG3] (ilogb): Likewise.
72652 [XPG3] (log1p): Likewise.
72653 [XPG3] (logb): Likewise.
72654 [XPG3] (nextafter): Likewise.
72655 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72656 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72657 [XPG3] (remainder): Likewise.
72658 [XPG3] (rint): Likewise.
72659 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72660 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72661 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72662 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72663 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72664 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72665 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72666 [UNIX98 || XOPEN2K] (scalb): Expect.
72667 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72668 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72669 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72670 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72671 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72672 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72673 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72674 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72675 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72676 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72677 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72678 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72679 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72680 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72681 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72682 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72683 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72684 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72685 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72686 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72687 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72688 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72689 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72690 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72691 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72692 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72693 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72694 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72695 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72696 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72697 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72698 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72699 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72700 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72701 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72702 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72703 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72704 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72705 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72706 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72707 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72708 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72709 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72710 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72711 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72712 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72713 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72714 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72715 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72716 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72717 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72718 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72719 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72720 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72721 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72722 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72723 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72724 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72725 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72726 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72727 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72728 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72729 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72730 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72731 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72732 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72733 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72734 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72735 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72736 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72737 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72738 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72739 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72740 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72741 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72742 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72743 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72744 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72745 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72746 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72747 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72748 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72749 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72750 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72751 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72752 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72753 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72754 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72755 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72756 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72757 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72758 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72759 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72760 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72761 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72762 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72763 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72764 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72765 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72766 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72767 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72768 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72769 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72770 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72771 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72772 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72773 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72774 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72775 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72776 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72777 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72778 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72779 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72780 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72781 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72782 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72783 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72784 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72785 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72786 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72787 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72788 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72789 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72790 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72791 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72792 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72793 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72794 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72795 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72796 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72797 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72798 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72799 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72800 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72801 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72802 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72803 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72804
72805 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72806 _XOPEN_SOURCE_EXTENDED for XPG4.
72807
72808 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72809
72810 * Makeconfig (localtime): Remove variable.
72811 (inst_localtime-file): Likewise.
72812
72813 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72814
72815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72816 Update.
72817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72818 Update.
72819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72820 Update.
72821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72822 Update.
72823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72824 Update.
72825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72826 Update.
72827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72828 Update.
72829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72830 Update.
72831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72832 Update.
72833
72834 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72835
72836 [BZ #2550]
72837 [BZ #2570]
72838 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72839 comparisons to determine direction to adjust input.
72840 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72841 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72843 Likewise.
72844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72845 Likewise.
72846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72847 Likewise.
72848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72850 Likewise.
72851 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72852 Likewise.
72853 * math/libm-test.inc (nexttoward_test): Add more tests.
72854
72855 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72856
72857 [BZ #14040]
72858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72859 in version GLIBC_2.1, not GLIBC_2.0.
72860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72861 Likewise.
72862
72863 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72864
72865 [BZ #13942]
72866 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72867 (1 - x) * (1 + x).
72868 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72869 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72870 * math/libm-test.inc (acos_test): Add more tests.
72871 (asin_test): Likewise.
72872 * sysdeps/i386/fpu/libm-test-ulps: Update.
72873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72874
72875 [BZ #14034]
72876 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72877 of square root.
72878 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72879 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72880 * math/libm-test.inc (acos_test_tonearest): New function.
72881 (acos_test_towardzero): Likewise.
72882 (acos_test_downward): Likewise.
72883 (acos_test_upward): Likewise.
72884 (asin_test_tonearest): Likewise.
72885 (asin_test_towardzero): Likewise.
72886 (asin_test_downward): Likewise.
72887 (asin_test_upward): Likewise.
72888 (main): Call the new functions.
72889 * sysdeps/i386/fpu/libm-test-ulps: Update.
72890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72891
72892 [BZ #13884]
72893 [BZ #13924]
72894 * math/e_exp10.c: Include <float.h>.
72895 (__ieee754_exp10): Handle underflow here rather than multiplying
72896 large negative argument by M_LN10.
72897 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72898 of __ieee754_expf.
72899 * math/e_exp10l.c: Include <float.h>.
72900 (__ieee754_exp10l): Handle underflow here rather than multiplying
72901 large negative argument by M_LN10l.
72902 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72903 spurious overflow exception on underflow.
72904
72905 2012-04-29 Marek Polacek <polacek@redhat.com>
72906
72907 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72908 (__fortify_function): New macro.
72909 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72910 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72911 __extern_always_inline.
72912 * libio/bits/stdio2.h: Likewise.
72913 * libio/bits/stdio.h: Likewise.
72914 * string/string.h: Likewise.
72915 * string/bits/string3.h: Likewise.
72916 * include/stdio.h: Likewise.
72917 * stdlib/bits/stdlib.h: Likewise.
72918 * stdlib/stdlib.h: Likewise.
72919 * rt/bits/mqueue2.h: Likewise.
72920 * rt/mqueue.h: Likewise.
72921 * posix/bits/unistd.h: Likewise.
72922 * posix/unistd.h: Likewise.
72923 * io/bits/poll2.h: Likewise.
72924 * io/bits/fcntl2.h: Likewise.
72925 * io/fcntl.h: Likewise.
72926 * io/sys/poll.h: Likewise.
72927 * misc/bits/syslog.h: Likewise.
72928 * misc/bits/syslog-ldbl.h: Likewise.
72929 * misc/sys/syslog.h: Likewise.
72930 * socket/bits/socket2.h: Likewise.
72931 * socket/sys/socket.h: Likewise.
72932 * debug/tst-chk1.c: Likewise.
72933 * wcsmbs/bits/wchar2.h: Likewise.
72934 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72935 * wcsmbs/wchar.h: Likewise.
72936
72937 2012-04-29 Andreas Jaeger <aj@suse.de>
72938
72939 * Makerules (tests): Remove enable-check-abi protection.
72940 (check-abi-warn): Remove.
72941 (check-abi-%): Remove check-abi-warn usage.
72942
72943 * configure.in: Remove check-abi configure option.
72944 * configure: Regenerated.
72945 * config.make.in (enable-check-abi): Remove.
72946
72947 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72948
72949 [BZ #14033]
72950 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72951 double functions to double *_finite functions.
72952
72953 [BZ #13941]
72954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72955 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72956 LDBL_MIN_EXP.
72957 * stdio-common/Makefile (tests): Add tst-sprintf3.
72958 * stdio-common/tst-sprintf3.c: New file.
72959
72960 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72961 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72962
72963 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72964
72965 * conform/conformtest.pl: Remove duplicate typed-constant
72966 handling.
72967
72968 2012-04-28 David S. Miller <davem@davemloft.net>
72969
72970 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72971 (check-abi-%): Remove AWK script prerequisite and explicit
72972 abilist directory.
72973 (check-abi): Rewrite to just diff the symlist with the abilist.
72974 (config-tls, config-abi-config): Delete, no longer used.
72975 (update-abi-%): Remove AWK script and explicit abilist directory.
72976 (update-abi): Rewrite to simply compare and conditionally copy the
72977 symlist and the sysdep abilist file. Remove update-abi-config
72978 checks.
72979 * abilist/ld.abilist: Remove.
72980 * abilist/libBrokenLocale.abilist: Remove.
72981 * abilist/libanl.abilist: Remove.
72982 * abilist/libcrypt.abilist: Remove.
72983 * abilist/libdl.abilist: Remove.
72984 * abilist/librt.abilist: Remove.
72985 * abilist/libthread_db.abilist: Remove.
72986 * abilist/libutil.abilist: Remove.
72987 * scripts/extract-abilist.awk: Remove.
72988 * scripts/merge-abilist.awk: Remove.
72989 * sysdeps/generic/libcidn.abilist: New file.
72990 * sysdeps/generic/libnss_compat.abilist: New file.
72991 * sysdeps/generic/libnss_db.abilist: New file.
72992 * sysdeps/generic/libnss_dns.abilist: New file.
72993 * sysdeps/generic/libnss_files.abilist: New file.
72994 * sysdeps/generic/libnss_hesiod.abilist: New file.
72995 * sysdeps/generic/libnss_nis.abilist: New file.
72996 * sysdeps/generic/libnss_nisplus.abilist: New file.
72997 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72998 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72999 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73000 file.
73001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73002 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73003 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73004 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73005 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73006 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73007 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73008 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73009 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73010 file.
73011 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73012 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73014 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73015 file.
73016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73017 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73020 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73021 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73022 file.
73023 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73024 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73025 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73026 file.
73027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73029 New file.
73030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73031 New file.
73032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73033 New file.
73034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73035 New file.
73036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73037 New file.
73038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73039 New file.
73040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73041 New file.
73042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73043 New file.
73044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73045 New file.
73046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73047 New file.
73048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73049 New file.
73050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73051 New file.
73052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73053 New file.
73054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73055 file.
73056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73057 New file.
73058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73059 New file.
73060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73061 file.
73062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73063 New file.
73064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73065 New file.
73066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73067 file.
73068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73069 New file.
73070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73071 New file.
73072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73073 New file.
73074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73075 New file.
73076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73077 New file.
73078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73079 New file.
73080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73082 file.
73083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73084 New file.
73085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73086 file.
73087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73088 file.
73089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73090 file.
73091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73092 file.
73093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73094 file.
73095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73096 New file.
73097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73098 file.
73099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73100 file.
73101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73102 New file.
73103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73104 file.
73105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73107 file.
73108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73109 New file.
73110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73111 file.
73112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73113 file.
73114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73115 file.
73116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73117 file.
73118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73119 file.
73120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73121 New file.
73122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73123 file.
73124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73125 file.
73126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73127 New file.
73128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73129 file.
73130 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73131 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73132 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73133 file.
73134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73135 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73136 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73138 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73139 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73140 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73141 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73142 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73143 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73146 file.
73147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73148 New file.
73149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73150 file.
73151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73152 file.
73153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73154 file.
73155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73156 file.
73157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73158 file.
73159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73160 New file.
73161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73162 New file.
73163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73164 file.
73165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73166 New file.
73167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73168 file.
73169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73171 file.
73172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73173 New file.
73174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73175 file.
73176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73177 file.
73178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73179 file.
73180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73181 file.
73182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73183 file.
73184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73185 New file.
73186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73187 New file.
73188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73189 file.
73190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73191 New file.
73192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73193 file.
73194
73195 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73196
73197 * conform/conformtest.pl: Fix typo in handling typed-constant from
73198 allow-header.
73199
73200 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73201
73202 * README: Cut down references to pre-2.6 Linux kernels and
73203 Linuxthreads. Update lists of configurations in libc and ports
73204 and sort alphabetically. Say "or newer" with Linux kernel version
73205 requirements.
73206
73207 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73208
73209 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73210
73211 [BZ #887]
73212 * math/libm-test.inc (logb_test_downward): New test to expose
73213 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73214 rounding mode.
73215
73216 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73217
73218 [BZ #14027]
73219 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73220 to be done.
73221 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73222 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73223
73224 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73225
73226 * sysdeps/unix/i386/brk.S: Remove file.
73227 * sysdeps/unix/i386/dl-brk.S: Likewise.
73228 * sysdeps/unix/i386/pipe.S: Likewise.
73229 * sysdeps/unix/i386/sigreturn.S: Likewise.
73230 * sysdeps/unix/i386/syscall.S: Likewise.
73231 * sysdeps/unix/i386/vfork.S: Likewise.
73232 * sysdeps/unix/i386/wait.S: Likewise.
73233
73234 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73235 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73236
73237 * configure.in (arm*-none*): Do not allow without
73238 --enable-hacker-mode.
73239 (netbsd*): Remove case setting base_os.
73240 (386bsd*): Likewise.
73241 (freebsd*): Likewise.
73242 (bsdi*): Likewise.
73243 (osf*): Likewise.
73244 (sunos*): Likewise.
73245 (ultrix*): Likewise.
73246 (newsos*): Likewise.
73247 (dynix*): Likewise.
73248 (*bsd*): Likewise.
73249 (sysv*): Likewise.
73250 (isc*): Likewise.
73251 (esix*): Likewise.
73252 (sco*): Likewise.
73253 (minix*): Likewise.
73254 (irix4*): Likewise.
73255 (irix6*): Likewise.
73256 (solaris[2-9]*): Likewise.
73257 (none): Likewise.
73258 * configure: Regenerated.
73259
73260 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73261
73262 [BZ #11521]
73263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73264 overflow or cancellation in calculating denominator.
73265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73267 down expression to avoid unexpected rounding in newer GCCs.
73268 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73269
73270 2012-04-26 David S. Miller <davem@davemloft.net>
73271
73272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73273 long-double compat symbols.
73274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73287
73288 2012-04-25 David S. Miller <davem@davemloft.net>
73289
73290 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73291 HWCAP_* values only after the memory barriers have been defined.
73292 (atomic_full_barrier): Define.
73293 (atomic_read_barrier): Define.
73294 (atomic_write_barrier): Define.
73295
73296 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73297
73298 * shlib-versions: Add libgcc_s version information.
73299 * sysdeps/generic/libgcc_s.h: Remove.
73300 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73301 libgcc_s.h.
73302 * sysdeps/gnu/unwind-resume.c: Likewise.
73303 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73304
73305 2012-04-25 David S. Miller <davem@davemloft.net>
73306
73307 * sysdeps/unix/sparc/brk.S: Delete.
73308 * sysdeps/unix/sparc/dl-brk.S: Delete.
73309 * sysdeps/unix/sparc/pipe.S: Delete.
73310 * sysdeps/unix/sparc/sysdep.S: Delete.
73311 * sysdeps/unix/sparc/sysdep.h: Delete.
73312 * sysdeps/unix/sparc/vfork.S: Delete.
73313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73314 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73316 (ret_ERRVAL, r0, r1, MOVE): Define.
73317 (JUMPTARGET): Remove.
73318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73319 sysdeps/unix/sparc/sysdep.h
73320 (ENTRY, END): Remove.
73321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73322
73323 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73324
73325 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73326 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73327 -DIS_IN_build.
73328
73329 * timezone/README: Update upstream location and email address for
73330 tzcode and tzdata.
73331 * timezone/zdump.c: Update from tzcode 2012b.
73332 * timezone/zic.c: Likewise.
73333
73334 * configure.in (libc_cv_as_needed): Remove test.
73335 * configure: Regenerated.
73336 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73337 conditional definition.
73338 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73339 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73340 * config.make.in (have-as-needed): Remove variable.
73341
73342 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73343 Paul Pluzhnikov <ppluzhnikov@google.com>
73344
73345 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73346 strings correctly.
73347
73348 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73349
73350 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73351 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73352 * sysdeps/sh/strlen.S: Likewise.
73353
73354 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73355
73356 * sysdeps/unix/fork.S: Remove file.
73357 * sysdeps/unix/i386/fork.S: Likewise.
73358 * sysdeps/unix/sparc/fork.S: Likewise.
73359
73360 * sysdeps/unix/system.c: Remove file.
73361 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73362
73363 * sysdeps/unix/getegid.S: Remove file.
73364 * sysdeps/unix/geteuid.S: Likewise.
73365
73366 2012-04-24 Roland McGrath <roland@hack.frob.com>
73367
73368 * scripts/check-localplt.awk: New file.
73369 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73370 of diff.
73371 * scripts/data/localplt-generic.data: Add a comment.
73372
73373 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73374 NODE when __dir_mkfile failed.
73375 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73376 Reported by Ludovic Courtès <ludo@gnu.org>.
73377
73378 2012-04-24 Andreas Jaeger <aj@suse.de>
73379
73380 * Makerules (common-clean): Also remove gen-as-const-headers
73381 files.
73382
73383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73384
73385 * Makerules (native-compile): Do not change working directory for
73386 build. Use $(OUTPUT_OPTION) in command.
73387 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73388
73389 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73390
73391 [BZ #13886]
73392 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73393 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73394 * math/libm-test.inc (floor_test): Add more tests.
73395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73396
73397 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73398
73399 * sysdeps/unix/getdents.c: Remove file.
73400 * sysdeps/unix/sysv/getdents.c: Likewise.
73401 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73402
73403 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73404 sysdeps/unix/mman/syscalls.list.
73405 (mmap): Likewise.
73406 (mprotect): Likewise.
73407 (msync): Likewise.
73408 (munmap): Likewise.
73409 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73410 * sysdeps/unix/mman/syscalls.list: Remove.
73411 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73412
73413 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73414 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73415 * configure: Regenerated.
73416 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73417 $(libgcc_s_suffix).
73418 * config.make.in (libgcc_s_suffix): Remove variable.
73419
73420 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73421
73422 * sysdeps/unix/sysv/gethostname.c: Move to ...
73423 * sysdeps/posix/gethostname.c: ... here.
73424
73425 * sysdeps/unix/execve.S: Remove file.
73426
73427 * sysdeps/unix/_exit.S: Remove file.
73428
73429 2012-04-23 Andreas Jaeger <aj@suse.de>
73430
73431 [BZ #13739]
73432 * manual/Makefile: Remove make dist support, there's no
73433 need for a stand-alone documentation tar ball.
73434 (TEXI2DVI): Define always, it's not in Makeconfig.
73435 (dist): Removed.
73436 (tar-it): Removed.
73437 (edition): Removed.
73438 (glibc-doc-$(edition).tar): Removed
73439 (%.Z): Removed.
73440 (%.gz): Removed.
73441 (%.uu): Removed.
73442 (ETAGS): Remove, it's in Makeconfig.
73443 (move-if-change): Remove, it's in Makeconfig.
73444
73445 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73446
73447 [BZ #13970]
73448 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73449 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73450 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73451 (strtod_l, strtof_l, strtold_l): Remove __wur.
73452 It is not necessarily an error to ignore strtol's return value.
73453 One can reliably look at the stored endptr to decide whether
73454 the number had valid syntax.
73455
73456 2012-04-21 Andreas Jaeger <aj@suse.de>
73457
73458 [BZ #13739]
73459 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73460
73461 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73462
73463 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73464 * sysdeps/unix/sysv/Versions: Remove file.
73465
73466 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73467
73468 [BZ #13927]
73469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73470
73471 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73472
73473 [BZ #7064]
73474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73475 version from __vm86.
73476
73477 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73478
73479 * sysdeps/unix/common/lxstat.c: Remove file.
73480 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73481
73482 * sysdeps/unix/sysv/Makefile: Remove file.
73483
73484 * sysdeps/unix/sysv/direct.h: Remove file.
73485
73486 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73487 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73488 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73489 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73490 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73491 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73492 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73493
73494 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73495
73496 * sysdeps/unix/xmknod.c: Remove file.
73497 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73498
73499 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73500
73501 * sysdeps/unix/sysv/i386/time.S: Remove file.
73502
73503 * sysdeps/unix/fxstat.c: Remove file.
73504 * sysdeps/unix/xstat.c: Likewise.
73505 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73506
73507 * sysdeps/unix/sysv/sigaction.c: Remove file.
73508
73509 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73510 (sysdep_headers): Remove variable.
73511 [termio.h not in sysdep_headers] (generated): Likewise.
73512 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73513 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73514 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73515 * sysdeps/unix/sysv/tcflow.c: Likewise.
73516 * sysdeps/unix/sysv/tcflush.c: Likewise.
73517 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73518 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73519 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73520 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73521 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73522
73523 * sysdeps/unix/siglist.c: Remove file.
73524
73525 * sysdeps/unix/getppid.S: Remove file.
73526
73527 * sysdeps/unix/mkdir.c: Remove file.
73528 * sysdeps/unix/rmdir.c: Likewise.
73529
73530 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73531
73532 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73533 ERR_MAX value.
73534 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73535 errlist-compat value.
73536
73537 2012-04-18 David S. Miller <davem@davemloft.net>
73538
73539 * sysdeps/generic/memcopy.h (reg_char): Delete.
73540 * debug/strcat_chk.c: Use char, not reg_char.
73541 * debug/strcpy_chk.c: Likewise.
73542 * debug/strncat_chk.c: Likewise.
73543 * debug/strncpy_chk.c: Likewise.
73544 * string/memchr.c: Likewise.
73545 * string/memrchr.c: Likewise.
73546 * string/rawmemchr.c: Likewise.
73547 * string/strcat.c: Likewise.
73548 * string/strchr.c: Likewise.
73549 * string/strchrnul.c: Likewise.
73550 * string/strcmp.c: Likewise.
73551 * string/strcpy.c: Likewise.
73552 * string/strncat.c: Likewise.
73553 * string/strncmp.c: Likewise.
73554 * string/strncpy.c: Likewise.
73555
73556 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73557
73558 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73559 __builtin_memcopy is called when src and dest ranges are known to not
73560 overlap.
73561
73562 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73563
73564 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73565 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73566 fwd_align_merge macro call.
73567 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73568 bwd_align_merge macro call.
73569 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73570
73571 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73572
73573 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73574 bwd_align_merge macros.
73575 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73576 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73577 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73578
73579 2012-04-18 David S. Miller <davem@davemloft.net>
73580
73581 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73582
73583 2012-04-18 Andreas Jaeger <aj@suse.de>
73584
73585 [BZ# 6794]
73586 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73587 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73589
73590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73591 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73592 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73593
73594 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73595 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73596 Adjust for changed ldbl-128 files.
73597
73598 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73599 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73601
73602 2012-04-17 David S. Miller <davem@davemloft.net>
73603
73604 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73605
73606 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73607
73608 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73609 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73610 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73611 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73612 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73613 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73614
73615 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73616
73617 [BZ #6794]
73618 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73619 * math/libm-test.inc: Add ilogb errno and exception tests.
73620 * math/w_ilogb.c: New file: ilogb wrapper.
73621 * math/w_ilogbf.c: New file: ilogbf wrapper.
73622 * math/w_ilogbl.c: New file: ilogbl wrapper.
73623 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73624 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73625 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73626 exception being thrown with 0.0 as argument.
73627 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73628 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73629 exception being thrown with 0.0 as argument.
73630 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73631 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73632 exception being thrown with 0.0 as argument.
73633 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73634 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73635 exception being thrown with 0.0 as argument.
73636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73637 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73639 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73641 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73642 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73643 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73644 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73645
73646 2012-04-17 Petr Baudis <pasky@ucw.cz>
73647
73648 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73649 with altivec.
73650
73651 2012-04-16 Marek Polacek <polacek@redhat.com>
73652
73653 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73654
73655 2012-04-16 Marek Polacek <polacek@redhat.com>
73656
73657 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73658 operands of fdivp instruction.
73659
73660 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73661
73662 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73663 * elf/tst-auditmod3b.c: Likewise.
73664 * elf/tst-auditmod4b.c: Likewise.
73665 * elf/tst-auditmod5b.c: Likewise.
73666 * elf/tst-auditmod6b.c: Likewise.
73667 * elf/tst-auditmod6c.c: Likewise.
73668 * elf/tst-auditmod7b.c: Likewise.
73669 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73670 * sysdeps/x86_64/preconfigure.in: Likewise.
73671 * sysdeps/x86_64/preconfigure: Regenerated.
73672
73673 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73674
73675 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73676 __ILP32__.
73677
73678 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73679
73680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73681 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73682
73683 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73684
73685 [BZ #13973]
73686 * locale/iso-639.def: Fix gl language name. Spotted by
73687 Yaron Shahrabani.
73688
73689 2012-04-12 Roland McGrath <roland@hack.frob.com>
73690
73691 [BZ #2074]
73692 * libio/libio.h (__io_write_fn): Update comment.
73693
73694 2012-04-12 Petr Baudis <pasky@ucw.cz>
73695
73696 [BZ #2074]
73697 * stdio.texi (Hook Functions): The user provided writer function
73698 is not allowed to return -1.
73699
73700 2012-04-11 David S. Miller <davem@davemloft.net>
73701
73702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73703
73704 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73705
73706 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73707 Add a leading slash to rtkaio.
73708
73709 2012-04-11 Jim Meyering <meyering@redhat.com>
73710
73711 [BZ #11959]
73712 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73713 It is not necessarily an error to ignore fwrite's return
73714 value. One can reliably use ferror to test for errors after
73715 the fact.
73716
73717 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73718
73719 * bits/types.h (__snseconds_t): New type.
73720 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73721
73722 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73724 (__SNSECONDS_T_TYPE): Likewise.
73725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73726 (__SNSECONDS_T_TYPE): Likewise.
73727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73728 (__SNSECONDS_T_TYPE): Likewise.
73729
73730 2012-04-10 Andreas Jaeger <aj@suse.de>
73731
73732 [BZ #2636]
73733 * manual/time.texi (Processor Time): Return type of times is
73734 elapsed real time since an arbitrary point in the past.
73735 (CPU Time): Move CLK_TCK from here...
73736 (Processor Time): ...to here. Correct description.
73737 * manual/conf.texi (Constants for Sysconf): Correct description of
73738 _SC_CLK_TCK.
73739
73740 2012-04-10 David S. Miller <davem@davemloft.net>
73741
73742 [BZ #13967]
73743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73744 where the is a gap between DT_REL(A) and DT_JMPREL.
73745
73746 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73747
73748 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73749 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73750 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73751
73752 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73753
73754 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73755 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73756 (dl_main): Handle --inhibit-cache.
73757 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73758 _dl_inhibit_cache.
73759 * elf/dl-load.c (_dl_map_object): Use it.
73760 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73761
73762 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73763
73764 [BZ #13872]
73765 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73766 (__ieee754_powl): Saturate large exponents rather than testing for
73767 overflow of y*log2(x).
73768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73769 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73770 exceptions.
73771
73772 [BZ #11521]
73773 * math/s_ctan.c: Include <float.h>.
73774 (__ctan): Avoid internal overflow or cancellation in calculating
73775 denominator.
73776 * math/s_ctanf.c: Likewise.
73777 * math/s_ctanl.c: Likewise.
73778 * math/s_ctanh.c: Likewise.
73779 * math/s_ctanhf.c: Likewise.
73780 * math/s_ctanhl.c: Likewise.
73781 * math/libm-test.inc (ctan_test): Add more tests.
73782 (ctanh_test): Likewise.
73783 * sysdeps/i386/fpu/libm-test-ulps: Update.
73784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73785
73786 2012-04-09 Andreas Jaeger <aj@suse.de>
73787
73788 [BZ #6894]
73789 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73790 is an optional BSD extension.
73791
73792 [BZ #10254]
73793 * manual/stdio.texi (Opening Streams): Document additional fopen
73794 parameters.
73795
73796 2012-04-09 Roland McGrath <roland@hack.frob.com>
73797
73798 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73799 %eax without telling the compiler.
73800
73801 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73802
73803 [BZ # 13963]
73804 * manual/install.texi: Use sourceware.org.
73805
73806 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73807
73808 [BZ #13873]
73809 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73810 (__ieee754_pow): Generate overflow and underflow using huge*huge
73811 and tiny*tiny rather than just returning constant infinity or zero
73812 for large exponents.
73813 * math/libm-test.inc (pow_test): Require overflow exceptions for
73814 applicable cases of large exponents.
73815
73816 [BZ #706]
73817 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73818 (__ieee754_pow): Use iterative multiplication algorithm only for
73819 integer exponents with absolute value below 1024. Check for odd
73820 integer exponents when using algorithm for real exponents.
73821 * math/libm-test.inc (pow_test): Add more tests.
73822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73823
73824 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73825
73826 [BZ #13705]
73827 * math/libm-test.inc (exp_test): Do not allow overflow exception
73828 on underflow test.
73829
73830 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73831
73832 [BZ #13705]
73833 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73834 instead of __kernel_standard_f.
73835
73836 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73837
73838 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73839 * sysdeps/x86_64/memset_chk.S: Likewise.
73840
73841 2012-04-08 Andreas Jaeger <aj@suse.de>
73842
73843 [BZ #10153]
73844 * manual/startup.texi (Environment Access): Describe return value
73845 for putenv and setenv.
73846
73847 [BZ #6895]
73848 * manual/filesys.texi (Directory Entries): Add description for
73849 DT_LNK.
73850
73851 [BZ #6890]
73852 * manual/filesys.texi (Directory Entries): Clarify that it's file
73853 system not operating system in the description of DT_UNKNOWN.
73854
73855 [BZ #6578]
73856 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73857
73858 2012-04-08 Stephen Compall <s11@member.fsf.org>
73859
73860 [BZ #6649]
73861 * manual/llio.texi (Opening and Closing Files): Add cross
73862 reference to explain mode argument.
73863
73864 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73865
73866 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73867 * sysdeps/x86_64/memset_chk.S: Likewise.
73868
73869 2012-04-07 David S. Miller <davem@davemloft.net>
73870
73871 * elf/elf.h (R_SPARC_WDISP10): Define.
73872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73873 R_SPARC_SIZE32.
73874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73875 R_SPARC_SIZE64 and R_SPARC_H34.
73876
73877 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73878
73879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73880 conditions and remove no longer applicable assertion.
73881
73882 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73883
73884 * bits/byteswap.h: Include <features.h>.
73885 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73886 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73887
73888 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73889
73890 * bits/byteswap.h (__bswap_16): Removed.
73891 Include <bits/byteswap-16.h> to get __bswap_16.
73892 * sysdeps/i386/bits/byteswap.h: Likewise.
73893 * sysdeps/s390/bits/byteswap.h: Likewise.
73894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73895 * bits/byteswap-16.h: New file.
73896 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73897 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73898 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73899 * string/Makefile (headers): Add bits/byteswap-16.h.
73900
73901 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73902
73903 [BZ #13895]
73904 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73905 extra indirection.
73906 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73907 * nss/tst-nss-static.c: New.
73908
73909 2012-04-06 Robert Millan <rmh@gnu.org>
73910
73911 [BZ #6486]
73912 * manual/llio.texi (File Position Primitive): lseek
73913 refers to WHENCE when it really means OFFSET.
73914
73915 2012-04-06 Andreas Jaeger <aj@suse.de>
73916
73917 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73918 strncmp declarations.
73919
73920 * abilist/libc.abilist: Add __poll and __ppoll.
73921
73922 2012-04-05 David S. Miller <davem@davemloft.net>
73923
73924 * scripts/check-local-headers.sh: Accept a host triplet in the
73925 path matched by the exclude regexp.
73926
73927 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73928 definition.
73929 * sysdeps/powerpc/powerpc32/dl-machine.h
73930 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73931 * sysdeps/s390/s390-32/dl-machine.h
73932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73933 * sysdeps/sparc/sparc32/dl-machine.h
73934 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73935 * sysdeps/sparc/sparc64/dl-machine.h
73936 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73937
73938 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73939 lazy binding.
73940 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73941 undefined symbol errors.
73942
73943 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73944 DT_NEEDED entries.
73945
73946 2012-04-05 Michael Matz <matz@suse.de>
73947
73948 [BZ #13592]
73949 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73950
73951 2012-04-05 Andreas Jaeger <aj@suse.de>
73952
73953 [BZ #13908]
73954 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73955 comment.
73956
73957 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73958
73959 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73960 which ROUND is no valid rounding mode.
73961
73962 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73963
73964 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73965 read again.
73966 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73967
73968 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73969
73970 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73971 an exception using FPU order intentionally.
73972
73973 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73974
73975 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73976 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73977 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73978 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73979
73980 2012-04-05 Simon Josefsson <simon@josefsson.org>
73981
73982 [BZ #12340]
73983 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73984 EINVAL when BUFLEN is too smal.
73985
73986 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73987
73988 [BZ #13553]
73989 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73990 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73991
73992 2012-04-03 Andreas Jaeger <aj@suse.de>
73993
73994 [BZ #13938]
73995 * manual/setjmp.texi (System V contexts): Fix sentence.
73996
73997 [BZ #13926]
73998 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73999 New macro for this case.
74000 [!__GNUC__] (__bswap_64): New inline function for this case.
74001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74002 * bits/byteswap.h: Likewise.
74003 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74004 ull, guard with __GLIBC_HAVE_LONG_LONG.
74005
74006 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74007 __GLIBC_HAVE_LONG_LONG.
74008
74009 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74010 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74011
74012 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74013
74014 [BZ #13691]
74015 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74016 inptr and inend, rather than using last_ch.
74017
74018 2012-04-02 David S. Miller <davem@davemloft.net>
74019
74020 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74021 * stdio-common/printf-parse.h (read_int): Change return type to
74022 'int', return -1 on INT_MAX overflow.
74023 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74024 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
74025 overflows INT_MAX. Check for overflow of in-format-string precision
74026 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
74027 SIZE_MAX not INT_MAX for integer overflow test.
74028 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74029 skip the construct in the format string but do not record anything.
74030 * stdio-common/bug22.c: Adjust to test both width/prevision
74031 INT_MAX overflow as well as total length INT_MAX overflow. Check
74032 explicitly for proper errno values.
74033
74034 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
74035
74036 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74037 CHAR_MAX.
74038 * string/test-strcmp.c [! WIDE]: Likewise.
74039 * time/tst-mktime2.c: Likewise for INT_MAX.
74040 * string/test-string.h: #include <sys/param.h> for MIN.
74041
74042 * csu/init-first.c (__libc_init_first): Call __ctype_init.
74043 * sysdeps/i386/init-first.c (init): Likewise.
74044 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74045 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74046 * sysdeps/sh/init-first.c (init): Likewise.
74047
74048 2012-04-01 Ulrich Drepper <drepper@gmail.com>
74049
74050 * po/ru.po: Update from translation team.
74051 * po/vi.po: Likewise.
74052
74053 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
74054
74055 * resolv/nss_dns/dns-host.c: Merge copyright years.
74056
74057 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74058
74059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74060 Optimize memcpy with prefetch if
74061 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
74062 src, dst pointers have unequal 16 byte alignments.
74063
74064 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
74065
74066 [BZ #13928]
74067 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74068 from a CNAME entry and return the minimum ttl for the query.
74069 (gaih_getanswer_slice): Likewise.
74070
74071 2012-03-30 Jeff Law <law@redhat.com>
74072
74073 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74074 due to long keys.
74075 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74076 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74077
74078 * resolv/nss_dns/dns-host.c: Update copyright year.
74079
74080 2012-03-30 Ulrich Drepper <drepper@gmail.com>
74081
74082 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74083 requests to save a system call. Fix check that all bytes are sent.
74084
74085 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74086 comments for sendmmsg.
74087
74088 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74089
74090 [BZ #13691]
74091 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74092 with only 1 character between 0x0041 and 0x01b0.
74093 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74094 * wcsmbs/tst-mbsnrtowcs.c: New file.
74095
74096 2012-03-29 David S. Miller <davem@davemloft.net>
74097
74098 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74099 small copies by hand.
74100
74101 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74102
74103 [BZ #13761]
74104 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74105 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74106 group memberships.
74107
74108 2012-03-28 David S. Miller <davem@davemloft.net>
74109
74110 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74111 that branches into memcpy.
74112 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74115 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74117 bits.
74118 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74119 implementation too.
74120 * sysdeps/sparc/mempcpy.S: New file.
74121
74122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74123 the IFUNC routine in the libc case.
74124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74125
74126 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74128 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74129 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74130 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74131 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74132 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74133 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74134
74135 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74136 loop to 256 bytes instead of 64 bytes and fix test signedness.
74137
74138 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74139 * sysdeps/sparc/sparc32/Makefile: rather than here...
74140 * sysdeps/sparc/sparc64/Makefile: and here.
74141
74142 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74143
74144 * malloc/mallocbug.c: Avoid warnings about unused variables.
74145
74146 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74147
74148 [BZ #13760]
74149 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74150 in the right place. Discard and retry query if response is
74151 larger than input buffer size.
74152
74153 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74154
74155 [BZ #369]
74156 [BZ #2678]
74157 [BZ #3866]
74158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74159 x for large integer exponent.
74160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74161 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74162 sign of result as needed afterwards.
74163 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74165 result for underflowing pow the same as for overflow.
74166 (__kernel_standard_l): Handle powl overflow and underflow here
74167 rather than calling __kernel_standard.
74168 * math/libm-test.inc (pow_test): Add more tests.
74169
74170 [BZ #3868]
74171 [BZ #13879]
74172 [BZ #13910]
74173 [BZ #13911]
74174 [BZ #13912]
74175 [BZ #13913]
74176 [BZ #13915]
74177 [BZ #13916]
74178 [BZ #13917]
74179 [BZ #13918]
74180 [BZ #13919]
74181 [BZ #13920]
74182 [BZ #13921]
74183 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74184 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74185 (__kernel_standard_l): New function.
74186 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74187 __kernel_standard.
74188 * math/w_acosl.c (__acosl): Likewise.
74189 * math/w_asinl.c (__asinl): Likewise.
74190 * math/w_atan2l.c (__atan2l): Likewise.
74191 * math/w_atanhl.c (__atanhl): Likewise.
74192 * math/w_coshl.c (__coshl): Likewise.
74193 * math/w_exp10l.c (__exp10l): Likewise.
74194 * math/w_exp2l.c (__exp2l): Likewise.
74195 * math/w_fmodl.c (__fmodl): Likewise.
74196 * math/w_hypotl.c (__hypotl): Likewise.
74197 * math/w_j0l.c (__j0l, __y0l): Likewise.
74198 * math/w_j1l.c (__j1l, __y1l): Likewise.
74199 * math/w_jnl.c (__jnl, __ynl): Likewise.
74200 * math/w_lgammal.c (__lgammal): Likewise.
74201 * math/w_log10l.c (__log10l): Likewise.
74202 * math/w_log2l.c (__log2l): Likewise.
74203 * math/w_logl.c (__logl): Likewise.
74204 * math/w_powl.c (__powl): Likewise.
74205 * math/w_remainderl.c (__remainderl): Likewise.
74206 * math/w_scalbl.c (sysv_scalbl): Likewise.
74207 * math/w_sinhl.c (__sinhl): Likewise.
74208 * math/w_sqrtl.c (__sqrtl): Likewise.
74209 * math/w_tgammal.c (__tgammal): Likewise.
74210 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74211 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74212 * math/libm-test.inc (acos_test): Add more tests.
74213 (acosh_test): Likewise.
74214 (asin_test): Likewise.
74215 (atanh_test): Likewise.
74216 (exp_test): Likewise.
74217 (exp10_test): Likewise.
74218 (exp2_test): Likewise.
74219 (expm1_test): Likewise.
74220 (lgamma_test): Likewise.
74221 (log_test): Likewise.
74222 (log10_test): Likewise.
74223 (log1p_test): Likewise.
74224 (log2_test): Likewise.
74225 (pow_test): Do not allow some spurious overflow exceptions.
74226 (sqrt_test): Add more tests.
74227 (tgamma_test): Likewise.
74228 (y0_test): Likewise.
74229 (y1_test): Likewise.
74230 (yn_test): Likewise.
74231
74232 2012-03-27 Anton Blanchard <anton@samba.org>
74233
74234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74235 MAP_HUGETLB.
74236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74237 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74239
74240 2012-03-27 David S. Miller <davem@davemloft.net>
74241
74242 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74243
74244 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74245 have-as-vis3 check.
74246
74247 2012-03-27 Andreas Jaeger <aj@suse.de>
74248
74249 * sysdeps/x86_64/elf/configure.in: Moved to ...
74250 * sysdeps/x86_64/configure.in: ... here.
74251 * sysdeps/x86_64/elf/start.S: Moved to ...
74252 * sysdeps/x86_64/start.S: ... here.
74253 * sysdeps/x86_64/elf/configure: Delete.
74254
74255 * sysdeps/x86_64/configure.in: Merge contents from
74256 sysdeps/i386/configure.in (without i686 check).
74257
74258 * sysdeps/i386/elf/Versions: Merge into ...
74259 * sysdeps/i386/Versions: ... this.
74260 * sysdeps/i386/elf/Versions: Delete file.
74261 * sysdeps/i386/elf/start.S: Moved to ...
74262 * sysdeps/i386/start.S: ...here.
74263 * sysdeps/i386/elf/configure.in: Merge into...
74264 * sysdeps/i386/configure.in: ...here.
74265 * sysdeps/i386/elf/configure.in: Delete file.
74266 * sysdeps/i386/elf/configure: Delete file.
74267
74268 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74269 * debug/backtracesyms.c: ... here.
74270 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74271 * debug/backtracesymsfd.c: ... here.
74272 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74273 * sysdeps/generic/ifunc-sel.h: ... here.
74274
74275 * sysdeps/unix/i386/start.c: Delete file.
74276 * sysdeps/unix/sparc/start.c: Delete file.
74277 * sysdeps/unix/start.c: Delete file.
74278
74279 * sysdeps/sh/elf/configure.in: Moved to ...
74280 * sysdeps/sh/configure.in: ... here.
74281 * sysdeps/sh/elf/start.S: Moved to ...
74282 * sysdeps/sh/start.S: ... here.
74283 * sysdeps/sh/elf/configure: Delete file.
74284
74285 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74286 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74287 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74288 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74289 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74290 * sysdeps/powerpc/powerpc64/start.S: here.
74291 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74292 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74293 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74294 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74295 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74296
74297 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74298 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74299 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74300 * sysdeps/powerpc/powerpc32/start.S: ... here.
74301 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74302 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74303 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74304
74305 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74306 * sysdeps/powerpc/ifunc-sel.h: ... here.
74307 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74308 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74309
74310 * sysdeps/sparc/elf/configure.in: Moved to ...
74311 * sysdeps/sparc/configure.in: ... here.
74312 * sysdeps/sparc/elf/configure: Delete file.
74313 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74314 * sysdeps/sparc/sparc32/start.S: ... here.
74315 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74316 * sysdeps/sparc/sparc64/start.S: ... here.
74317 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74318 * sysdeps/sparc/sparc32/Makefile: ... this.
74319 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74320 * sysdeps/sparc/sparc64/Makefile: ... this.
74321
74322 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74323 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74324 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74325 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74326 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74327 * sysdeps/s390/s390-32/setjmp.S: ... here.
74328 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74329 * sysdeps/s390/s390-32/configure.in: ... here.
74330 * sysdeps/s390/s390-32/elf/configure: Delete file.
74331 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74332 * sysdeps/s390/s390-32/start.S: ... here.
74333
74334 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74335 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74336 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74337 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74338 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74339 * sysdeps/s390/s390-64/setjmp.S: ... here.
74340 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74341 * sysdeps/s390/s390-64/configure.in: ... here
74342 * sysdeps/s390/s390-64/elf/configure: Delete file.
74343 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74344 * sysdeps/s390/s390-64/start.S: ... here.
74345 * sysdeps/s390/s390-64/elf/configure: Delete.
74346
74347 * configure.in: Remove support for elf directories in sysdeps.
74348
74349 * configure: Regenerated.
74350 * sysdeps/i386/configure: Regenerated.
74351 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74352 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74353 * sysdeps/s390/s390-32/configure: Regenerated.
74354 * sysdeps/s390/s390-64/configure: Regenerated.
74355 * sysdeps/sh/configure: Regenerated.
74356 * sysdeps/sparc/configure: Regenerated.
74357 * sysdeps/x86_64/configure: Regenerated.
74358
74359 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74360
74361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74362
74363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74364 denormal result into account.
74365
74366 2012-03-25 Roland McGrath <roland@hack.frob.com>
74367
74368 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74369 Reported by Allan McRae <allan@archlinux.org>.
74370
74371 2012-03-23 Jeff Law <law@redhat.com>
74372
74373 * nss/getnssent.c (__nss_getent): Fix typo.
74374
74375 2012-03-23 David S. Miller <davem@davemloft.net>
74376
74377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74378
74379 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74380
74381 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74382 to pad to uint64_t for each field.
74383 (dl_tls_index): Replace unsigned long with uint64_t.
74384
74385 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74386 Paul Pluzhnikov <ppluzhnikov@google.com>
74387
74388 [BZ #6528]
74389 * grp/Makefile (otherlibs): Don't set it.
74390 * inet/Makefile (otherlibs): Likewise.
74391 * login/Makefile (otherlibs): Likewise.
74392 * nscd/Makefile (otherlibs): Likewise.
74393 * posix/Makefile (otherlibs): Likewise.
74394 * pwd/Makefile (otherlibs): Likewise.
74395 * rt/Makefile (otherlibs): Likewise.
74396 * sunrpc/Makefile (otherlibs): Likewise.
74397 * nss/Makefile (otherlibs): Likewise.
74398 Add libnss_files to routines and static-only-routines.
74399 ($(objpfx)getent): Remove rule.
74400 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74401 static-only-routines.
74402
74403 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74404
74405 [BZ #13892]
74406 * math/s_cexp.c: Include <float.h>.
74407 (__cexp): Handle exp result overflowing not necessarily
74408 overflowing both real and imaginary parts of result.
74409 * math/s_cexpf.c: Likewise.
74410 * math/s_cexpl.c: Likewise.
74411 * math/libm-test.inc (cexp_test): Add more tests.
74412 * sysdeps/i386/fpu/libm-test-ulps: Update.
74413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74414
74415 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74416
74417 * include/link.h (ELFW): New macro.
74418 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74419 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74420
74421 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74422
74423 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74424 with uint64_t.
74425
74426 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74427
74428 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74429 declaration.
74430 (struct La_x32_retval): Likewise.
74431
74432 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74433
74434 * sysdeps/x86_64/preconfigure.in: New file.
74435 * sysdeps/x86_64/preconfigure: New generated file.
74436
74437 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74438
74439 [BZ #13824]
74440 * math/e_exp2l.c: Include <float.h>.
74441 (__ieee754_exp2l): Handle overflow and underflow cases
74442 separately. Only pass fractional part of argument to
74443 __ieee754_expl.
74444 * math/libm-test.inc (exp2_test): Add more tests.
74445
74446 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74447 negating x to take absolute value.
74448 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74449 Likewise.
74450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74452 Likewise.
74453 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74454 computing low part if x was negated.
74455 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74456
74457 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74458
74459 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74460 la_x32_gnu_pltexit.
74461 (pltexit): Cast int_retval to ptrdiff_t.
74462 * elf/tst-auditmod3b.c: Likewise.
74463 * elf/tst-auditmod4b.c: Likewise.
74464 * elf/tst-auditmod5b.c: Likewise.
74465 * elf/tst-auditmod6b.c: Likewise.
74466 * elf/tst-auditmod6c.c: Likewise.
74467 * elf/tst-auditmod7b.c: Likewise.
74468
74469 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74470 and x32_gnu_pltexit.
74471
74472 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74473 __ELF_NATIVE_CLASS.
74474 (La_x32_regs): New macro.
74475 (La_x32_retval): Likewise.
74476 (la_x32_gnu_pltenter): New function prototype.
74477 (la_x32_gnu_pltexit): Likewise.
74478
74479 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74480
74481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74482 exponent.
74483
74484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74485
74486 * configure.in (libc_cv_cc_nofma): Check for option to disable
74487 generation of FMA instructions.
74488 * configure: Regenerate.
74489 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74490 * sysdeps/ieee754/dbl-64/Makefile: New file.
74491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74492 Remove brandred-fma4.
74493 (CFLAGS-brandred-fma4.c): Remove.
74494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74496 define.
74497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74498 define.
74499
74500 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74501
74502 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74503 LLONG_MAX != LONG_MAX.
74504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74505 (_fitoa_word): Likewise.
74506 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74507 LLONG_MAX != LONG_MAX.
74508 * stdio-common/_itowa.h: Include <_itoa.h>.
74509 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74510 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74511 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74512 only if not defined.
74513 (_ITOA_WORD_TYPE): Likewise.
74514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74515 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74516
74517 2012-03-21 David S. Miller <davem@davemloft.net>
74518
74519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74520
74521 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74522
74523 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74524 of x86_64 when setting libc_cv_slibdir, libdir and
74525 libc_cv_localedir.
74526 * sysdeps/unix/sysv/linux/configure: Regenerated.
74527
74528 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74529
74530 * manual/lang.texi (Old Varargs): Remove section.
74531 (How Variadic): Update menu.
74532 (va_start): Do not mention varargs.h.
74533
74534 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74535 Joseph Myers <joseph@codesourcery.com>
74536
74537 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74538 link test.
74539 * configure: Regenerated.
74540
74541 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74542
74543 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74544 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74545 conformtest.pl
74546
74547 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74548
74549 * NOTES: Remove.
74550 * Makefile (files-for-dist): Remove NOTES.
74551 (NOTES): Remove rule.
74552 * README: Don't refer to NOTES.
74553 * manual/creature.texi: Don't include macros.texi.
74554 * manual/intro.texi (creature.texi): Remove comment referring to
74555 NOTES.
74556
74557 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74558 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74559 * configure: Regenerated.
74560 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74561 LIBC_TRY_CC_OPTION.
74562 (libc_cv_as_i686): Likewise.
74563 (libc_cv_cc_avx): Likewise.
74564 (libc_cv_cc_sse2avx): Likewise.
74565 (libc_cv_cc_fma4): Likewise.
74566 (libc_cv_cc_novzeroupper): Likewise.
74567 * sysdeps/i386/configure: Regenerated.
74568
74569 [BZ #13883]
74570 * sysdeps/i386/fpu/s_cexp.S: Remove.
74571 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74573 * math/libm-test.inc (cexp_test): Add more tests.
74574 * sysdeps/i386/fpu/libm-test-ulps: Update.
74575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74576
74577 2012-03-21 Allan McRae <allan@archlinux.org>
74578
74579 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74580
74581 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74582
74583 [BZ #13871]
74584 * math/w_exp2.c: Do not include <float.h>.
74585 (o_threshold, u_threshold): Remove.
74586 (__exp2): Calculate result before checking finiteness and calling
74587 __kernel_standard.
74588 * math/w_exp2f.c: Likewise.
74589 * math/w_exp2l.c: Likewise.
74590 * math/libm-test.inc (exp2_test): Require overflow exception for
74591 1e6 input.
74592
74593 [BZ #3866]
74594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74595 range of signed 64-bit integers before using fistpll. Remove
74596 checks for whether integers fit in mantissa bits.
74597 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74598 the range of signed 32-bit integers before using fistpl. Remove
74599 checks for whether integers fit in mantissa bits.
74600 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74601 (__ieee754_powl): Test for y outside the range of signed 64-bit
74602 integers before using fistpll. Reduce 64-bit values to 63-bit
74603 ones as needed.
74604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74605 divide-by-zero is raised for zero to large negative powers.
74606 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74607 (__ieee754_powl): Test for y outside the range of signed 64-bit
74608 integers before using fistpll. Reduce 64-bit values to 63-bit
74609 ones as needed.
74610 * math/libm-test.inc (pow_test): Add more tests.
74611
74612 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74613
74614 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74615 <stdio-common/_itoa.h>.
74616 * debug/segfault.c: Likewise.
74617 * elf/dl-cache.c: Likewise.
74618 * elf/dl-minimal.c: Likewise.
74619 * elf/dl-misc.c: Likewise.
74620 * elf/dl-sysdep.c: Likewise.
74621 * elf/dl-version.c: Likewise.
74622 * elf/rtld.c: Likewise.
74623 * hurd/hurdsock.c: Likewise.
74624 * hurd/lookup-retry.c: Likewise.
74625 * malloc/malloc.c: Likewise.
74626 * malloc/mtrace.c: Likewise.
74627 * nscd/nscd_getgr_r.c: Likewise.
74628 * nscd/nscd_getpw_r.c: Likewise.
74629 * nscd/nscd_getserv_r.c: Likewise.
74630 * posix/getopt_init.c: Likewise.
74631 * posix/wordexp.c: Likewise.
74632 * stdio-common/_itoa.c: Likewise.
74633 * stdio-common/printf_fphex.c: Likewise.
74634 * stdio-common/vfprintf.c: Likewise.
74635 * string/_strerror.c: Likewise.
74636 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74637 * sysdeps/i386/i686/hp-timing.h: Likewise.
74638 * sysdeps/mach/_strerror.c: Likewise.
74639 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74640 * sysdeps/mach/hurd/sethostid.c: Likewise.
74641 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74642 * sysdeps/mach/xpg-strerror.c: Likewise.
74643 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74645 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74646 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74647 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74648 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74649 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74650 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74651 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74652 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74653 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74654 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74655 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74656 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74657 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74658 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74659 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74660 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74661 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74662 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74663 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74664
74665 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74666
74667 * stdio-common/_itoa.h: Moved to ...
74668 * sysdeps/generic/_itoa.h: Here.
74669
74670 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74671
74672 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74673 instead of "_itoa.h" and "_itowa.h".
74674 * stdio-common/vfprintf.: Likewise.
74675
74676 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74677
74678 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74679 <bits/wordsize.h>.
74680 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74681 (__signbit): Likewise.
74682 (llrintf): Likewise.
74683 (llrint): Likewise.
74684
74685 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74686
74687 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74688 __WORDSIZE != 64.
74689
74690 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74691
74692 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74693 OVERFLOW_EXCEPTION_OK.
74694 * math/libm-test.inc ("Philosophy"): Update comment about
74695 exception testing.
74696 (OVERFLOW_EXCEPTION): Define.
74697 (OVERFLOW_EXCEPTION_OK): Likewise.
74698 (INVALID_EXCEPTION_OK): Renumber.
74699 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74700 (IGNORE_ZERO_INF_SIGN): Likewise.
74701 (test_exceptions): Handle FE_OVERFLOW.
74702 (exp10_test): Expect overflow exceptions.
74703 (exp2_test): Likewise.
74704 (expm1_test): Likewise.
74705 (nextafter_test): Likewise.
74706 (pow_test): Likewise.
74707 (scalbn_test): Likewise.
74708 (scalbln_test): Likewise.
74709
74710 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74711
74712 * sysdeps/x86_64/bits/atomic.h
74713 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74714 64bit integer.
74715 (atomic_exchange_acq): Likewise.
74716 (__arch_exchange_and_add_body): Likewise.
74717 (__arch_add_body): Likewise.
74718 (atomic_add_negative): Likewise.
74719 (atomic_add_zero): Likewise.
74720
74721 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74722
74723 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74724 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74725
74726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74727
74728 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74729 Check __x86_64__ instead of __WORDSIZE.
74730
74731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74732
74733 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74734
74735 2012-03-19 David S. Miller <davem@davemloft.net>
74736
74737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74738
74739 * sysdeps/sparc/fpu/fenv_private.h: New file.
74740 * sysdeps/sparc/fpu/math_private.h: Use it.
74741 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74742 Remove.
74743 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74744 (libc_feholdexcept_setroundl): Remove.
74745 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74746 Remove.
74747 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74748 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74749
74750 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74751
74752 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74753 int64_t instead of long int.
74754 (INSERT_WORDS64): Likewise.
74755
74756 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74757
74758 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74759 _Unwind_GetCFA return to _Unwind_Ptr first.
74760
74761 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74762
74763 [BZ #13629]
74764 * math/s_clog.c: Include <float.h>.
74765 (__clog): Scale large or subnormal inputs.
74766 * math/s_clogf.c: Likewise.
74767 * math/s_clogl.c: Likewise.
74768 * math/s_clog10.c: Include <float.h>.
74769 (M_LOG10_2): Define.
74770 (__clog10): Scale large or subnormal inputs.
74771 * math/s_clog10f.c: Likewise.
74772 * math/s_clog10l.c: Likewise.
74773 * math/libm-test.inc (clog_test): Add more tests.
74774 (clog10_test): Likewise.
74775 * sysdeps/i386/fpu/libm-test-ulps: Update.
74776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74777
74778 [BZ #11451]
74779 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74780 x and y.
74781 * math/libm-test.inc (atan2_test): Add another test.
74782
74783 * Makerules (common-objdir-compile): Remove.
74784 * sysdeps/unix/Makefile (config-generated): Do not add
74785 $(unix-generated) to variable.
74786 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74787 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74788 Remove rule.
74789 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74790 Likewise.
74791 [generic bits/local_lim.h] (before-compile): Do not append to
74792 variable.
74793 [generic bits/local_lim.h] (common-generated): Likewise.
74794 [generic sys/param.h] (before-compile): Do not append to variable.
74795 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74796 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74797 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74799 include.
74800 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74801 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74802 [generic sys/param.h] ($(addprefix
74803 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74804 [generic sys/param.h] (common-generated): Do not append to
74805 variable.
74806 [generic sys/param.h] (sysdep_headers): Likewise.
74807 [generic bits/errno.h] (before-compile): Do not append to
74808 variable.
74809 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74810 rule.
74811 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74812 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74813 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74814 [generic bits/errno.h] (common-generated): Do not append to
74815 variable.
74816 [generic bits/ioctls.h] (before-compile): Do not append to
74817 variable.
74818 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74819 rule.
74820 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74821 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74822 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74823 rule.
74824 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74825 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74826 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74827 [generic bits/ioctls.h] (common-generated): Do not append to
74828 variable.
74829 [generic sys/syscall.h] (syscall.h): Remove variable.
74830 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74831 rule.
74832 [generic sys/syscall.h] (before-compile): Do not append to
74833 variable.
74834 [generic sys/syscall.h] (common-generated): Likewise.
74835 * sysdeps/unix/errnos-tmpl.c: Remove file.
74836 * sysdeps/unix/errnos.awk: Likewise.
74837 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74838 * sysdeps/unix/ioctls.awk: Likewise.
74839 * sysdeps/unix/mk-local_lim.c: Likewise.
74840 * sysdeps/unix/snarf-ioctls: Likewise.
74841
74842 2012-03-19 Richard Henderson <rth@twiddle.net>
74843
74844 * sysdeps/i386/fpu/fenv_private.h: New file.
74845 * sysdeps/i386/fpu/math_private.h: Use it.
74846 (math_opt_barrier, math_force_eval): Remove.
74847 (libc_feholdexcept_setround_53bit): Remove.
74848 (libc_feupdateenv_53bit): Remove.
74849 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74850 (math_opt_barrier, math_force_eval): Remove.
74851 (libc_feholdexcept): Remove.
74852 (libc_feholdexcept_setround): Remove.
74853 (libc_fetestexcept, libc_fesetenv): Remove.
74854 (libc_feupdateenv_test): Remove.
74855 (libc_feupdateenv, libc_feholdsetround): Remove.
74856 (libc_feresetround): Remove.
74857
74858 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74859 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74860
74861 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74862 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74863 (libc_feupdateenv_testl): New.
74864 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74865 (libc_feupdateenv_testf): New.
74866 (libc_feupdateenv): Use libc_feupdateenv_test.
74867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74869
74870 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74871 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74872 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74873 (libc_feresetround_noex): New.
74874 (libc_feresetround_noexf): New.
74875 (libc_feresetround_noexl): New.
74876 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74877 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74878 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74879 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74880 SET_RESTORE_ROUND.
74881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74883 (__cos): Likewise.
74884 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74885 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74886 SET_RESTORE_ROUND_NOEX.
74887 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74888 SET_RESTORE_ROUND_NOEXF.
74889 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74890 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74891 (libc_feholdsetroundf): New.
74892 (libc_feresetround, libc_feresetroundf): New.
74893
74894 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74895 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74896 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74897
74898 * sysdeps/generic/math_private.h: Include <fenv.h>.
74899 (default_libc_feholdexcept): New.
74900 (default_libc_feholdexcept_setround): New.
74901 (default_libc_fesetenv, default_libc_feupdateenv): New.
74902 (libc_feholdexcept): Only define if undefined.
74903 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74904 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74905 (libc_feholdexcept_setroundl): Likewise.
74906 (libc_feholdexcept_setround_53bit): Likewise.
74907 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74908 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74909 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74910 (libc_feupdateenv_53bit): Likewise.
74911 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74912 (libc_feholdexcept): Convert from macro to inline function.
74913 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74914 (libc_fesetenv, libc_feupdateenv): Likewise.
74915
74916 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74917 not previously defined.
74918 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74919 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74920 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74921 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74922 * sysdeps/ieee754/flt-32/math_private.h: New file.
74923 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74924 math_private.h below SET_FLOAT_WORD.
74925 (__isnan, __isinf_ns, __finite): Remove.
74926 (__isnanf, __isinf_nsf, __finitef): Remove.
74927
74928 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74929
74930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74931
74932 2012-03-17 David S. Miller <davem@davemloft.net>
74933
74934 [BZ #6471]
74935 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74936 for 2.16.
74937
74938 2012-03-16 David S. Miller <davem@davemloft.net>
74939
74940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74941 warnings.
74942
74943 [BZ #6471]
74944 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74945 properly.
74946 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74947 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74948 sysdep_routines when subdir is sysvipc.
74949 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74950 __getshmlba helper.
74951
74952 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74953
74954 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74955
74956 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74957 [__LP64__].
74958
74959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74960
74961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74962 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74963 (__lround): Renamed to ...
74964 (__llround): This. Replace long int with long long int.
74965 Define lround functions as aliases of llround functions.
74966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74967
74968 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74969
74970 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74971 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74972 adresses to uintptr_t. Replace "long int" and "unsigned long
74973 int" with "greg_t" on va_arg.
74974
74975 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74976
74977 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74978 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74979
74980 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74981 Move e_machine check before EI_CLASS check. Handle x32
74982 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74983 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74984 SKIP_EM_IA_64 and include
74985 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74986
74987 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74988 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74989 (add_system_dir): New macro.
74990
74991 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74992 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74993
74994 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74995
74996 [BZ #2551]
74997 [BZ #2552]
74998 [BZ #2553]
74999 [BZ #2554]
75000 [BZ #2562]
75001 [BZ #2563]
75002 [BZ #2565]
75003 [BZ #2566]
75004 [BZ #2576]
75005 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75006 (y0): Likewise.
75007 * math/w_j0f.c (j0f): Likewise.
75008 (y0f): Likewise.
75009 * math/w_j0l.c (__j0l): Likewise.
75010 (__y0l): Likewise.
75011 * math/w_j1.c (j1): Likewise.
75012 (y1): Likewise.
75013 * math/w_j1f.c (j1f): Likewise.
75014 (y1f): Likewise.
75015 * math/w_j1l.c (__j1l): Likewise.
75016 (__y1l): Likewise.
75017 * math/w_jn.c (jn): Likewise.
75018 (yn): Likewise.
75019 * math/w_jnf.c (jnf): Likewise.
75020 (ynf): Likewise.
75021 * math/w_jnl.c (__jnl): Likewise.
75022 (__ynl): Likewise.
75023 * math/libm-test.inc (j0_test): Add more tests.
75024 (j1_test): Likewise.
75025 (jn_test): Likewise. Add trailing semicolon to existing test.
75026 (y0_test): Likewise.
75027 (y1_test): Likewise.
75028 * sysdeps/i386/fpu/libm-test-ulps: Update.
75029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75030
75031 [BZ #13851]
75032 [BZ #13854]
75033 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75034 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75035 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75036 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75037 (__tanl): Set errno for infinite argument.
75038 * sysdeps/i386/fpu/mptan.c: Remove.
75039 * sysdeps/i386/fpu/s_tan.S: Likewise.
75040 * sysdeps/i386/fpu/s_tanl.S: Likewise.
75041 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75042 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75043 * math/libm-test.inc (tan_test): Add more tests and enable more
75044 tests for double and long double.
75045 * sysdeps/i386/fpu/libm-test-ulps: Update.
75046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75047
75048 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
75049
75050 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75051 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75052
75053 2012-03-16 Roland McGrath <roland@hack.frob.com>
75054
75055 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75056 * configure.in: Use it for both main tree and add-ons.
75057 * configure: Regenerated.
75058
75059 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
75060
75061 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75062
75063 2012-03-16 Joseph Myers <joseph@codesourcery.com>
75064
75065 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75066 in comment.
75067
75068 [BZ #13851]
75069 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75070 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75071 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75073 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75074 infinite argument.
75075 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75077 != 0 for prec == 2.
75078 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75079 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75080 * sysdeps/i386/fpu/s_cosl.S: Likewise.
75081 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75082 * sysdeps/i386/fpu/s_sinl.S: Likewise.
75083 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75084 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75085 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75086 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75087 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75088 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75089 * math/libm-test.inc (cos_test): Add more tests and enable more
75090 tests for long double.
75091 (sin_test): Likewise.
75092 (sincos_test): Likewise.
75093 * sysdeps/i386/fpu/libm-test-ulps: Update.
75094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75095
75096 2012-03-16 David S. Miller <davem@davemloft.net>
75097
75098 * sysdeps/sparc/fpu/math_private.h: New file.
75099
75100 2012-03-15 David S. Miller <davem@davemloft.net>
75101
75102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75103 file.
75104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75106 file.
75107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75113 sysdep routines.
75114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75115
75116 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75117 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75118
75119 * sysdeps/sparc/sparc-ifunc.h: New file.
75120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75121 sparc-ifunc.h
75122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75124 Likewise.
75125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75126 Likewise.
75127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75131 Likewise.
75132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75137 Likewise.
75138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75139 Likewise.
75140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75164
75165 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75166
75167 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75168 scaling.
75169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75170
75171 2012-03-15 Andreas Jaeger <aj@suse.de>
75172
75173 [BZ #13852]
75174 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75175 ieee754/flt-32 implementation for sin, cos and sincos.
75176 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75177 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75178 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75179 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75180 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75181 ieee754/flt-32 implementation for tan.
75182
75183 * math/libm-test.inc (cos_test): Enable some large input tests for
75184 float as well
75185 (sin_test): Likewise.
75186 (sincos_test): Likewise.
75187 (tan_test): Add tests for large input.
75188
75189 * sysdeps/i386/fpu/libm-test-ulps: Update.
75190
75191 2012-03-15 Andreas Jaeger <aj@suse.de>
75192
75193 [BZ #13658]
75194 * math/libm-test.inc (cos_test): Add more test cases.
75195 (sin_test): Likewise.
75196 (sincos_test): Likewise.
75197
75198 2012-03-15 Andreas Jaeger <aj@suse.de>
75199
75200 [BZ #13837]
75201 * math/libm-test.inc (cos_test): Add a test case for large input
75202 value.
75203 (sin_test): Likewise.
75204 (sincos_test): Likewise.
75205
75206 2012-03-15 Andreas Jaeger <aj@suse.de>
75207 Joseph Myers <joseph@codesourcery.com>
75208
75209 [BZ #13658]
75210 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75211 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75212 * sysdeps/i386/fpu/branred.c: Likewise.
75213 * sysdeps/i386/fpu/dosincos.c: Likewise.
75214 * sysdeps/i386/fpu/mpa.c: Likewise.
75215 * sysdeps/i386/fpu/s_cos.S: Likewise.
75216 * sysdeps/i386/fpu/s_sin.S: Likewise.
75217 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75218 * sysdeps/i386/fpu/sincos32.c: Likewise.
75219
75220 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75221 Define.
75222 (libc_feupdateenv_53bit): Define.
75223 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75224 Define.
75225 (libc_feupdateenv_53bit): Define.
75226
75227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75228 53 bit (without extend i386 double precision).
75229
75230 * math/libm-test.inc (sincos_test): Add tests for large input.
75231 (sin): Likewise.
75232 (cos): Likewise.
75233
75234 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75235
75236 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75237
75238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75239
75240 2012-03-15 David S. Miller <davem@davemloft.net>
75241
75242 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75243 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75244 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75245 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75258 file.
75259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75261 file.
75262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75264 file.
75265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75267 file.
75268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75270 fmin/fmax sysdep routines.
75271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75272
75273 2012-03-14 David S. Miller <davem@davemloft.net>
75274
75275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75304 routines.
75305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75306 file.
75307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75309 file.
75310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75312 file.
75313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75315 file.
75316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75318 file.
75319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75321 file.
75322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75323 file.
75324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75325 file.
75326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75327 file.
75328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75329 New file.
75330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75331 file.
75332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75333 file.
75334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75336 file.
75337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75339 file.
75340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75342 file.
75343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75345 VIS3 routines.
75346
75347 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75348 New file.
75349
75350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75351
75352 * sysdeps/sparc/configure.in: New file.
75353 * sysdeps/sparc/configure: Generate.
75354 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75355 * configure: Regenerate.
75356 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75357 * config.make.in (have-as-vis3): New.
75358 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75359 available use -Av9d instead of -Av9a.
75360 * sysdeps/sparc/sparc64/Makefile: Likewise.
75361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75363 New file.
75364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75365 file.
75366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75367 New file.
75368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75369 file.
75370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75375
75376 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75377 fzeros/fnegs to load 0x80000000 into a float register instead of
75378 using the stack.
75379 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75380
75381 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75382
75383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75384 bits/syscall.h.
75385 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75386 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75387 ($(inst_includedir)/bits/syscall.h): Remove rule.
75388 ($(objpfx)bits/syscall.d): Include instead of
75389 $(objpfx)syscall-list.d.
75390 (generated): Change syscall-list.h and syscall-list.d to
75391 bits/syscall.h and bits/syscall.d.
75392
75393 2012-03-14 Roland McGrath <roland@hack.frob.com>
75394
75395 [BZ #13846]
75396 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75397
75398 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75399
75400 [BZ #13841]
75401 * math/s_csqrt.c: Include <float.h>.
75402 (__csqrt): Scale large or subnormal inputs.
75403 * math/s_csqrtf.c: Likewise.
75404 * math/s_csqrtl.c: Likewise.
75405 * math/libm-test.inc (csqrt_test): Add more tests.
75406 * sysdeps/i386/fpu/libm-test-ulps: Update.
75407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75408
75409 [BZ #13840]
75410 * math/libm-test.inc (hypot_test): Add more tests.
75411
75412 2012-03-13 David S. Miller <davem@davemloft.net>
75413
75414 [BZ #13840]
75415 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75416 double-precision for the calculation instead of scaling.
75417
75418 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75419
75420 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75421 manipulate bits before adding and subtracting TWO52[sx].
75422 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75424 Likewise.
75425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75426
75427 2012-03-13 David S. Miller <davem@davemloft.net>
75428
75429 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75430 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75432 rtld-global-offsets.h
75433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75434
75435 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75436 large parameters.
75437
75438 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75439
75440 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75441 'err' in the ifdef scope in which it is actually used.
75442
75443 * nss/nss_db/db-init.c: Include string.h
75444
75445 2012-03-12 David S. Miller <davem@davemloft.net>
75446
75447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75448 masking out of the most significant byte of random value used.
75449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75450 Fix coding style in previous change.
75451
75452 * sysdeps/unix/sysv/linux/kernel-features.h
75453 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75454 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75455 expression.
75456 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75457 later.
75458
75459 2012-03-11 David S. Miller <davem@davemloft.net>
75460
75461 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75462 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75464 for 'resultvar' otherwise things get truncated on 64-bit.
75465
75466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75467 Fix masking out of the most significant byte of random value used.
75468
75469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75470
75471 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75472
75473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75474
75475 2012-03-09 David S. Miller <davem@davemloft.net>
75476
75477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75478 variables with appropriate CPP guards.
75479 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75480 from the frame pointer, not the stack pointer. Correct layout
75481 comments. Fix test on resulting framesize and the management of
75482 the outregs buffer for pltexit. Preserve floating point return
75483 values across _dl_call_pltexit call.
75484 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75485 framesize and the management of the outregs buffer for pltexit.
75486 Preserve floating point return values across _dl_call_pltexit
75487 call.
75488 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75489 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75490 (la_sparc64_gnu_pltexit): New functions.
75491 (print_exit): Fix format string for return register value.
75492
75493 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75494
75495 * sunrpc/Makefile (others): Add rpcgen.
75496 ($(objpfx)rpcgen): Remove special build rule and dependency on
75497 libc.
75498 * sunrpc/rpcgen.c: New file.
75499
75500 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75501
75502 [BZ #13673]
75503 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75504 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75505 * sysdeps/i386/crti.S: Likewise.
75506 * sysdeps/i386/crtn.S: Likewise.
75507 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75508 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75509 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75510 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75511 * sysdeps/sh/crti.S: Likewise.
75512 * sysdeps/sh/crtn.S: Likewise.
75513 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75514
75515 [BZ #13673]
75516 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75517 with URL.
75518 * locale/programs/locfile-kw.gperf: Likewise.
75519 * locale/programs/charmap-kw.h: Regenerated.
75520 * locale/programs/locfile-kw.h: Likewise.
75521
75522 [BZ #13673]
75523 * intl/plural.y: Replace FSF snail mail address with URL.
75524 * intl/plural.c: Regenerated.
75525
75526 2012-03-09 Richard Henderson <rth@twiddle.net>
75527
75528 * include/math_private.h: Remove file.
75529 * math/math_private.h: Move file ...
75530 * sysdeps/generic/math_private.h: ... here.
75531
75532 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75533 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75535
75536 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75537 and <math_private.h>.
75538 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75539 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75540 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75541 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75542 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75543 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75546 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75550 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75552 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75553 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75556 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75557 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75560 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75563 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75564 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75570 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75572 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75575 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75576 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75578 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75579 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75581 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75583 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75584 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75585 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75586 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75587 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75588 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75589 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75590 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75591 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75592 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75593 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75594 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75595 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75597 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75598 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75599 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75601 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75602 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75603 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75604 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75605 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75606 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75607 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75608 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75609 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75612 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75618 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75625 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75626 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75627 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75628 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75629 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75631 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75632 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75642 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75643 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75644 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75645 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75651 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75652 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75654 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75655 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75657 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75659 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75660 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75661 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75663 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75665 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75666 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75667 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75668 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75669 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75670 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75671 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75672 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75673 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75674 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75675 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75676 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75679 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75680 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75681 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75682 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75683 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75684 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75685 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75686 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75687 * sysdeps/ieee754/k_standard.c: Likewise.
75688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75695 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75700 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75701 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75702 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75703 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75704 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75707 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75708 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75709 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75711 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75712 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75713 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75718 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75722 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75723 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75726 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75727 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75728 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75729 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75730 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75731 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75732 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75733 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75739 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75740 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75741 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75742 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75743 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75744 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75745 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75746 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75748 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75749 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75750 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75751 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75754 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75755 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75756 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75767 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75768 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75770 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75771 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75772 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75773 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75774 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75776 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75778 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75780 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75781 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75784 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75785 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75787 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75792 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75795 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75796 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75802 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75803 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75804 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75805 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75806 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75807 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75809 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75810 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75811 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75813 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75814 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75815 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75816 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75821 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75824 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75825 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75827 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75828 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75829 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75830 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75831 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75832 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75833 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75834 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75835 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75836 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75837 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75842 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75843 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75844 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75847 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75848 * sysdeps/ieee754/s_lib_version.c: Likewise.
75849 * sysdeps/ieee754/s_matherr.c: Likewise.
75850 * sysdeps/ieee754/s_signgam.c: Likewise.
75851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75853 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75854 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75855 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75856 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75857 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75858 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75859 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75860 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75861 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75862 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75865 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75866 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75867 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75872
75873 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75874
75875 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75876 * sunrpc/rpc_main.c: Likewise.
75877 * sunrpc/rpc_svcout.c: Likewise.
75878
75879 2012-03-09 David S. Miller <davem@davemloft.net>
75880
75881 * include/math_private.h: New file.
75882
75883 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75884
75885 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75886 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75887 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75888 from <bits/socket_type.h>.
75889 (enum __socket_type): Don't define here.
75890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75892 bits/socket_type.h.
75893
75894 [BZ #13566]
75895 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75896 checking __USE_GNU.
75897
75898 * Makerules ($(inst_includedir)/%.h): New rule.
75899 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75900 (install-others): Remove variable setting.
75901 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75902
75903 2012-03-08 Richard Henderson <rth@twiddle.net>
75904
75905 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75906 from macro to inline function; merge with the
75907 !__LIBC_INTERNAL_MATH_INLINES version.
75908 (__ieee754_sqrtf): Likewise.
75909
75910 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75911 to inline function.
75912 (__rintf, __floor, __floorf): Likewise.
75913
75914 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75915 macro to inline function.
75916 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75917
75918 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75919 not <math/math_private.h>.
75920
75921 2012-03-08 David S. Miller <davem@davemloft.net>
75922
75923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75924 copyright year.
75925 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75926
75927 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75928
75929 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75930 normalization.
75931 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75932 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75933
75934 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75935
75936 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75937 be defined individually, they must be defined as a block. Define
75938 S for printing a string instead of hidint the different by using a
75939 macro for adding the 'l'.
75940 * stdio-common/tst-fphex-wide.c: Adjust.
75941
75942 2012-03-07 Marek Polacek <polacek@redhat.com>
75943
75944 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75945
75946 2012-03-08 Marek Polacek <polacek@redhat.com>
75947
75948 [BZ #13806]
75949 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75950 * stdio-common/tst-fphex.c: Define a few macros to make the
75951 test reusable. Use them.
75952 * stdio-common/tst-fphex-wide.c: New file.
75953
75954 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75955
75956 [BZ #6911]
75957 * manual/macros.texi (gnusystems): New macro.
75958 (nongnusystems): Likewise.
75959 (gnulinuxhurdsystems): Likewise.
75960 (gnuhurdsystems): Likewise..
75961 (gnulinuxsystems): Likewise.
75962 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75963 variants of the GNU system, not "GNU system".
75964 * manual/conf.texi: Likewise.
75965 * manual/errno.texi: Likewise. Update example of errno macro
75966 expansion.
75967 * manual/filesys.texi: Likewise.
75968 (getumask): Document as specific to GNU/Hurd.
75969 * manual/install.texi: Likewise. Reword some references to
75970 GNU/Linux.
75971 * manual/intro.texi: Likewise.
75972 * manual/io.texi: Likewise.
75973 (File Name Portability): Detail which constraints are inapplicable
75974 to all GNU systems and which are only inapplicable to GNU/Hurd.
75975 * manual/job.texi: Likewise.
75976 * manual/llio.texi: Likewise.
75977 (O_NOCTTY): Document as present on GNU/Linux.
75978 * manual/maint.texi: Likewise.
75979 * manual/memory.texi: Likewise.
75980 * manual/pattern.texi: Likewise.
75981 * manual/pipe.texi: Likewise.
75982 * manual/process.texi: Likewise.
75983 * manual/resource.texi: Likewise.
75984 (RUSAGE_CHILDREN): Remove statement about specifying a particular
75985 child on GNU/Hurd.
75986 * manual/setjmp.texi: Likewise.
75987 * manual/signal.texi: Likewise.
75988 * manual/startup.texi: Likewise.
75989 * manual/stdio.texi: Likewise.
75990 * manual/terminal.texi: Likewise.
75991 (ONLCR): Document as POSIX.
75992 (OXTABS): Document availability on GNU/Linux as XTABS.
75993 (ONOEOT): Document availability separately from other bits.
75994 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75995 * manual/time.texi: Likewise.
75996 * manual/users.texi: Likewise.
75997 * INSTALL: Regenerated.
75998 * sysdeps/gnu/errlist.c: Regenerated.
75999
76000 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76001 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76002 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
76003 puts.
76004 * configure: Regenerated.
76005
76006 2012-03-07 Joseph Myers <joseph@codesourcery.com>
76007
76008 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76009 default includes instead of AC_HEADER_CHECK.
76010 * sysdeps/i386/configure: Regenerated.
76011
76012 [BZ #10716]
76013 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76014 * math/s_cacoshf.c (__cacoshf): Likewise.
76015 * math/s_cacoshl.c (__cacoshl): Likewise.
76016 * math/s_casinh.c (__casinh): Set signs of result from argument.
76017 * math/s_casinhf.c (__casinhf): Likewise.
76018 * math/s_casinhl.c (__casinhl): Likewise.
76019 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76020 (casinh_test): Add more tests.
76021 * sysdeps/i386/fpu/libm-test-ulps: Update.
76022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76023
76024 2012-03-07 Ulrich Drepper <drepper@gmail.com>
76025
76026 * po/zh_TW.po: Update from translation team.
76027
76028 * login/Makefile (distribute): Remove variable.
76029 * catgets/Makefile: Likewise.
76030 * mach/Makefile: Likewise.
76031 * malloc/Makefile: Likewise.
76032 * misc/Makefile: Likewise.
76033 * iconv/Makefile: Likewise.
76034 * nscd/Makefile: Likewise.
76035 * hurd/Makefile: Likewise.
76036 * manual/Makefile: Likewise.
76037 * locale/Makefile: Likewise.
76038 * intl/Makefile: Likewise.
76039 * conform/Makefile: Likewise.
76040 * nss/Makefile: Likewise.
76041 * time/Makefile: Likewise.
76042 * soft-fp/Makefile: Likewise.
76043 * dirent/Makefile: Likewise.
76044 * gmon/Makefile: Likewise.
76045 * po/Makefile: Likewise.
76046 * rt/Makefile: Likewise.
76047 * socket/Makefile: Likewise.
76048 * math/Makefile: Likewise.
76049 * signal/Makefile: Likewise.
76050 * debug/Makefile: Likewise.
76051 * elf/Makefile: Likewise.
76052 * timezone/Makefile: Likewise.
76053 * stdlib/Makefile: Likewise.
76054 * iconvdata/Makefile: Likewise.
76055 * sunrpc/Makefile: Likewise.
76056 * io/Makefile: Likewise.
76057 * argp/Makefile: Likewise.
76058 * inet/Makefile: Likewise.
76059 * hesiod/Makefile: Likewise.
76060 * grp/Makefile: Likewise.
76061 * csu/Makefile: Likewise.
76062 * wctype/Makefile: Likewise.
76063 * crypt/Makefile: Likewise.
76064 * libio/Makefile: Likewise.
76065 * string/Makefile: Likewise.
76066 * nis/Makefile: Likewise.
76067 * resolv/Makefile: Likewise.
76068 * stdio-common/Makefile: Likewise.
76069 * wcsmbs/Makefile: Likewise.
76070 * dlfcn/Makefile: Likewise.
76071 * posix/Makefile: Likewise.
76072
76073 [BZ #6959]
76074 * timezone/Makefile: Don't install timezone files, just the programs
76075 and scripts.
76076
76077 2012-03-06 Ulrich Drepper <drepper@gmail.com>
76078
76079 * nss/databases.def: Add missing gshadow entry.
76080
76081 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
76082
76083 2012-03-06 Marek Polacek <polacek@redhat.com>
76084
76085 [BZ #13726]
76086 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76087 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76088 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76089 * stdio-common/tst-long-dbl-fphex.c: New file.
76090
76091 2012-03-06 David S. Miller <davem@davemloft.net>
76092
76093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76094 (set_obp_int): New function.
76095 (get_obp_int): New function.
76096 (__get_clockfreq_via_dev_openprom): Likewise.
76097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76098 Avoid unused variable warnings on 'val' and use builtin_expect.
76099 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76100 __builtin_expect.
76101 (INLINE_CLONE_SYSCALL): Likewise.
76102
76103 2012-03-05 David S. Miller <davem@davemloft.net>
76104
76105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76106
76107 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76108
76109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76110
76111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76112 only for |x| >= 40.
76113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76114
76115 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76116
76117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76118 Replace gettimeofday with __vdso_gettimeofday.
76119
76120 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76121 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76122 __vdso_clock_gettime and __vdso_getcpu.
76123
76124 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76125 time with __vdso_time.
76126
76127 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76128
76129 * manual/lang.texi (size_t): Note types to which size_t may be
76130 equivalent with the GNU C Library, but do not describe when
76131 differences between them are significant.
76132
76133 2012-03-05 Andreas Jaeger <aj@suse.de>
76134
76135 * sysdeps/i386/fpu/libm-test-ulps: Update.
76136
76137 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76138
76139 [BZ #3976]
76140 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76141 (__ieee754_pow): Save and restore rounding mode and use
76142 round-to-nearest for main computations.
76143 * math/libm-test.inc (pow_test_tonearest): New function.
76144 (pow_test_towardzero): Likewise.
76145 (pow_test_downward): Likewise.
76146 (pow_test_upward): Likewise.
76147 (main): Call the new functions.
76148 * sysdeps/i386/fpu/libm-test-ulps: Update.
76149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76150
76151 [BZ #3976]
76152 * math/libm-test.inc (cosh_test_tonearest): New function.
76153 (cosh_test_towardzero): Likewise.
76154 (cosh_test_downward): Likewise.
76155 (cosh_test_upward): Likewise.
76156 (sinh_test_tonearest): Likewise.
76157 (sinh_test_towardzero): Likewise.
76158 (sinh_test_downward): Likewise.
76159 (sinh_test_upward): Likewise.
76160 (main): Call the new functions.
76161 * sysdeps/i386/fpu/libm-test-ulps: Update.
76162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76163
76164 2012-03-05 Tom de Vries <tom@codesourcery.com>
76165
76166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76167 default stack guard is set in last bytes.
76168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76169
76170 2012-03-05 Kees Cook <keescook@chromium.org>
76171
76172 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76173
76174 [BZ #13656]
76175 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76176 possibly allocate from heap instead of stack.
76177 * stdio-common/bug-vfprintf-nargs.c: New file.
76178 * stdio-common/Makefile (tests): Add nargs overflow test.
76179
76180 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76181
76182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76183
76184 2012-03-03 Marek Polacek <polacek@redhat.com>
76185
76186 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76187 * math/math_private.h: Likewise.
76188 * stdlib/tst-strtod.c: Likewise.
76189 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76190 * sysdeps/x86_64/bits/atomic.h: Likewise.
76191
76192 2012-03-02 David S. Miller <davem@davemloft.net>
76193
76194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76198 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76199 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76200 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76201 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76202
76203 2012-03-02 Roland McGrath <roland@hack.frob.com>
76204
76205 [BZ #13792]
76206 * manual/examples/README: New file, says the example source files
76207 can be used under GPL>=2.
76208 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76209 line containing just "*/".
76210 * manual/examples/add.c: Add copyright header (GPL>=2).
76211 * manual/examples/argp-ex1.c: Likewise.
76212 * manual/examples/argp-ex2.c: Likewise.
76213 * manual/examples/argp-ex3.c: Likewise.
76214 * manual/examples/argp-ex4.c: Likewise.
76215 * manual/examples/atexit.c: Likewise.
76216 * manual/examples/db.c: Likewise.
76217 * manual/examples/dir.c: Likewise.
76218 * manual/examples/dir2.c: Likewise.
76219 * manual/examples/execinfo.c: Likewise.
76220 * manual/examples/filecli.c: Likewise.
76221 * manual/examples/filesrv.c: Likewise.
76222 * manual/examples/fmtmsgexpl.c: Likewise.
76223 * manual/examples/genpass.c: Likewise.
76224 * manual/examples/inetcli.c: Likewise.
76225 * manual/examples/inetsrv.c: Likewise.
76226 * manual/examples/isockad.c: Likewise.
76227 * manual/examples/longopt.c: Likewise.
76228 * manual/examples/memopen.c: Likewise.
76229 * manual/examples/memstrm.c: Likewise.
76230 * manual/examples/mkfsock.c: Likewise.
76231 * manual/examples/mkisock.c: Likewise.
76232 * manual/examples/mygetpass.c: Likewise.
76233 * manual/examples/pipe.c: Likewise.
76234 * manual/examples/popen.c: Likewise.
76235 * manual/examples/rprintf.c: Likewise.
76236 * manual/examples/search.c: Likewise.
76237 * manual/examples/select.c: Likewise.
76238 * manual/examples/setjmp.c: Likewise.
76239 * manual/examples/sigh1.c: Likewise.
76240 * manual/examples/sigusr.c: Likewise.
76241 * manual/examples/stpcpy.c: Likewise.
76242 * manual/examples/strdupa.c: Likewise.
76243 * manual/examples/strftim.c: Likewise.
76244 * manual/examples/strncat.c: Likewise.
76245 * manual/examples/subopt.c: Likewise.
76246 * manual/examples/swapcontext.c: Likewise.
76247 * manual/examples/termios.c: Likewise.
76248 * manual/examples/testopt.c: Likewise.
76249 * manual/examples/testpass.c: Likewise.
76250 * manual/examples/timeval_subtract.c: Likewise.
76251
76252 [BZ #13792]
76253 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76254 function to ...
76255 * manual/timeval_subtract.c.texi: ... here, new file.
76256
76257 2012-03-02 David S. Miller <davem@davemloft.net>
76258
76259 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76260
76261 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76262
76263 [BZ #3976]
76264 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76265 (__sin): Save and restore rounding mode and use round-to-nearest
76266 for all computations.
76267 (__cos): Save and restore rounding mode and use round-to-nearest
76268 for all computations.
76269 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76270 <fenv.h>.
76271 (tan): Save and restore rounding mode and use round-to-nearest for
76272 all computations.
76273 * math/libm-test.inc (cos_test_tonearest): New function.
76274 (cos_test_towardzero): Likewise.
76275 (cos_test_downward): Likewise.
76276 (cos_test_upward): Likewise.
76277 (sin_test_tonearest): Likewise.
76278 (sin_test_towardzero): Likewise.
76279 (sin_test_downward): Likewise.
76280 (sin_test_upward): Likewise.
76281 (tan_test_tonearest): Likewise.
76282 (tan_test_towardzero): Likewise.
76283 (tan_test_downward): Likewise.
76284 (tan_test_upward): Likewise.
76285 (main): Call the new functions.
76286 * sysdeps/i386/fpu/libm-test-ulps: Update.
76287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76288
76289 [BZ #10135]
76290 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76291 small n, then large n, before computing and testing k+n.
76292 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76294 Likewise.
76295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76296 Likewise.
76297 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76298 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76299 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76300 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76305 * math/libm-test.inc (scalbn_test): Add more tests.
76306 (scalbln_test): Likewise.
76307
76308 * manual/filesys.texi (mode_t): Describe constraints on size and
76309 signedness, not exact equivalence to a particular type.
76310 (ino_t): Likewise.
76311 (ino64_t): Likewise.
76312 (dev_t): Likewise.
76313 (nlink_t): Likewise.
76314 (blkcnt_t): Likewise.
76315 (blkcnt64_t): Likewise.
76316 * manual/llio.texi (off_t): Likewise.
76317
76318 [BZ #3976]
76319 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76320 (__ieee754_exp): Save and restore rounding mode and use
76321 round-to-nearest for all computations.
76322 * math/libm-test.inc (exp_test_tonearest): New function.
76323 (exp_test_towardzero): Likewise.
76324 (exp_test_downward): Likewise.
76325 (exp_test_upward): Likewise.
76326 (main): Call the new functions.
76327 * sysdeps/i386/fpu/libm-test-ulps: Update.
76328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76329
76330 2012-03-01 Chris Demetriou <cgd@google.com>
76331
76332 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76333 have predictable order.
76334
76335 2012-03-01 David S. Miller <davem@davemloft.net>
76336
76337 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76338
76339 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76340 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76341 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76342 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76343
76344 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76345 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76346 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76348 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76349 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76350 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76351 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76352 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76353
76354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76355
76356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76357 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76358 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76359
76360 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76361 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76363 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76364 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76367 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76369 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76370 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76373 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76374 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76376 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76377 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76378 * sysdeps/sparc/elf/configure: Regenerated.
76379
76380 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76381
76382 * configure.in (AS, LD): Require binutils 2.20 or later.
76383 * configure: Regenerated.
76384 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76385 as required minimum version.
76386 * INSTALL: Regenerated.
76387
76388 [BZ #2541]
76389 [BZ #4108]
76390 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76391 before squaring exponent.
76392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76393 bottom long double and 27 bits of top long double before squaring
76394 exponent.
76395 * math/libm-test.inc (erfc_test): Add more tests.
76396 * sysdeps/i386/fpu/libm-test-ulps: Update.
76397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76399
76400 2012-03-01 Kai Tietz <ktietz@redhat.com>
76401
76402 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76403 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76404 containing bit-fields.
76405 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76406 * soft-fp/single.h (_FP_UNION_S): Likewise.
76407 * soft-fp/double.h (_FP_UNION_D): Likewise.
76408
76409 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76410
76411 [BZ #13786]
76412 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76413 not include ../strcmp.S.
76414 [USE_AS_STRNCASECMP_L]: Likewise.
76415 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76416 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76417 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76418 (__strncasecmp_l_ia32): Define as alias to
76419 __strncasecmp_l_nonascii.
76420
76421 [BZ #5794]
76422 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76423 * sysdeps/i386/fpu/libm-test-ulps: Update.
76424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76425
76426 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76428
76429 2012-02-29 Jeff Law <law@redhat.com>
76430
76431 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76432 out of bounds read.
76433
76434 2012-02-29 Marek Polacek <polacek@redhat.com>
76435
76436 [BZ #13706]
76437 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76438 * elf/Makefile: Add rules to run tst-unused-dep.out.
76439
76440 2012-02-28 David S. Miller <davem@davemloft.net>
76441
76442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76446 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76447 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76448
76449 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76450
76451 * math/libm-test.inc (llround_test): Move one test from
76452 lround_test. Use TEST_f_L in moved test.
76453 (lround_test): Move misplaced test to llround_test. Add testcase
76454 from bug 2561.
76455
76456 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76457
76458 * sysdeps/x86_64/fpu/e_expf.S: New file.
76459 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76460
76461 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76462
76463 [BZ #13637]
76464 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76465 of remain_len that may cause incomplete multi-byte character and
76466 false match.
76467 * posix/bug-regex33.c: New file.
76468 * posix/Makefile (tests): Add bug-regex33.
76469
76470 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76471
76472 * manual/macros.texi: New file.
76473 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76474 * manual/libc.texinfo: Include macros.texi.
76475 * manual/creatute.texi: Likewise.
76476 * manual/install.texi: Likewise.
76477 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76478 @glibcadj{} in references to the GNU C Library.
76479 * manual/charset.texi: Likewise.
76480 * manual/conf.texi: Likewise.
76481 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76482 when not using those macros.
76483 * manual/creature.texi: Likewise.
76484 * manual/crypt.texi: Likewise.
76485 * manual/errno.texi: Likewise.
76486 * manual/filesys.texi: Likewise.
76487 * manual/header.texi: Likewise.
76488 * manual/install.texi: Likewise.
76489 * manual/intro.texi: Likewise.
76490 * manual/io.texi: Likewise.
76491 * manual/job.texi: Likewise.
76492 * manual/lang.texi: Likewise.
76493 * manual/libc.texiinfo: Likewise.
76494 * manual/llio.texi: Likewise.
76495 * manual/locale.texi: Likewise.
76496 * manual/maint.texi: Likewise.
76497 * manual/math.texi: Likewise.
76498 * manual/memory.texi: Likewise.
76499 * manual/message.texi: Likewise.
76500 * manual/nss.texi: Likewise.
76501 * manual/pattern.texi: Likewise.
76502 * manual/process.texi: Likewise.
76503 * manual/resource.texi: Likewise.
76504 * manual/search.texi: Likewise.
76505 * manual/setjmp.texi: Likewise.
76506 * manual/signal.texi: Likewise.
76507 * manual/socket.texi: Likewise.
76508 * manual/startup.texi: Likewise.
76509 * manual/stdio.texi: Likewise.
76510 * manual/string.texi: Likewise.
76511 * manual/sysinfo.texi: Likewise.
76512 * manual/syslog.texi: Likewise.
76513 * manual/terminal.texi: Likewise.
76514 * manual/time.texi: Likewise.
76515 * manual/users.texi: Likewise.
76516 * INSTALL: Regenerated.
76517 * NOTES: Regenerated.
76518 * sysdeps/gnu/errlist.c: Regenerated.
76519
76520 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76521
76522 * include/dirent.h: Include <dirstream.h> before
76523 <dirent/dirent.h>.
76524
76525 2012-02-28 David S. Miller <davem@davemloft.net>
76526
76527 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76528 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76529 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76530 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76531
76532 2012-02-27 David S. Miller <davem@davemloft.net>
76533
76534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76536 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76537 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76538
76539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76540 frame pointer instead of stack pointer relative arg slot.
76541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76544
76545 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76546
76547 [BZ #3992]
76548 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76549
76550 2012-02-27 David S. Miller <davem@davemloft.net>
76551
76552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76558 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76559 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76560
76561 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76562
76563 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76564 later. Allow versions 5-9.
76565 * configure: Regenerated.
76566 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76567 required minimum version and 4.6 as recommended version. Do not
76568 mention bugs in GCC 2.7 and 2.8.
76569 * INSTALL: Regenerated.
76570
76571 2012-02-27 David S. Miller <davem@davemloft.net>
76572
76573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76579 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76581
76582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76583 manipulate bits before adding and subtracting TWO112[sx].
76584 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76585
76586 2012-02-27 Roland McGrath <roland@hack.frob.com>
76587
76588 [BZ #13775]
76589 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76590 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76591 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76592 being in POSIX, because they are in 1003.1-2008.
76593
76594 * rt/tst-aio.c: Include <fcntl.h>.
76595 * rt/tst-aio7.c: Likewise.
76596 * rt/tst-aio64.c: Likewise.
76597
76598 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76599
76600 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76601
76602 * manual/install.texi (--with-headers): Describe headers as
76603 interface headers, not private headers.
76604 (Specific advice for GNU/Linux systems): Describe use of headers
76605 from "make headers_install", not private headers from older
76606 kernels.
76607 * INSTALL: Regenerated.
76608 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76609 Change to 2.6.19.
76610 * sysdeps/unix/sysv/linux/configure: Regenerated.
76611
76612 * manual/llio.texi (fclean): Remove documentation.
76613
76614 * manual/Makefile (libc-texi-generated): New variable. Include
76615 version.texi.
76616 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76617 $(libc-texi-generated), not duplicated list of files.
76618 (version.texi, stamp-version): New rules.
76619 (realclean): Remove $(libc-texi-generated), not individual files
76620 from that list. Do not remove dir-add.texinfo.
76621 * manual/libc.texinfo: Comment out uses of edition numbers and
76622 references to printed manual. Remove last-updated dates.
76623 (EDITION): Comment out.
76624 (ISBN): Likewise.
76625 (VERSION, UPDATED): Remove.
76626 (version.texi): Include.
76627
76628 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76629
76630 * sysdeps/posix/spawni.c: Include <signal.h>.
76631 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76632 * sysdeps/pthread/aio_fsync.c: Likewise.
76633
76634 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76635
76636 * conform/Makefile (tests): Run only when not cross-compiling and
76637 when fast-check is not defined.
76638
76639 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76640 * conform/data/limits.h-data: Fixes for POSIX2008.
76641 * conform/run-conformtest.sh: Run all tests.
76642 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76643 headers.
76644 * include/bits/dlfcn.h: Likewise.
76645 * include/langinfo.h: Likewise.
76646 * include/monetary.h: Likewise.
76647 * include/sys/poll.h: Likewise.
76648
76649 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76650 for __USE_GNU.
76651 * posix/spawn.h: Define __need_sigset_t.
76652 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76653 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76654 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76655 to get sigevent_t only.
76656 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76657 only for __USE_GNU.
76658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76659 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76660 process_vm_writev only for __USE_GNU.
76661 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76662
76663 * conform/Makefile: For now ignore errors from run-conformtest.
76664 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76665 POSIX to avoid namespace pollution. Don't prepend headers.
76666 * conform/data/aio.h-data: Fixes for POSIX testing.
76667 * conform/data/fcntl.h-data: Likewise.
76668 * conform/data/glob.h-data: Likewise.
76669 * conform/data/grp.h-data: Likewise.
76670 * conform/data/pthread.h-data: Likewise.
76671 * conform/data/pwd.h-data: Likewise.
76672 * conform/data/signal.h-data: Likewise.
76673 * conform/data/spawn.h-data: Likewise.
76674 * conform/data/stdio.h-data: Likewise.
76675 * conform/data/stdlib.h-data: Likewise.
76676 * conform/data/stropts.h-data: Likewise.
76677 * conform/data/sys/mman.h-data: Likewise.
76678 * conform/data/sys/stat.h-data: Likewise.
76679 * conform/data/sys/types.h-data: Likewise.
76680 * conform/data/sys/wait.h-data: Likewise.
76681 * conform/data/time.h-data: Likewise.
76682 * conform/data/unistd.h-data: Likewise.
76683 * conform/data/utime.h-data: Likewise.
76684
76685 * io/sys/stat.h: fchmod was always in POSIX.
76686 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76687 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76688 * rt/aio.h: Define __need_timespec before including <time.h>.
76689 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76690 struct. Add forward declaration of pthread_attr_t and use it in
76691 sigevent.
76692 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76694 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76695 always remove CLK_TCK definition.
76696
76697 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76698
76699 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76700
76701 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76702
76703 * conform/run-conformtest.sh: New file.
76704 * conform/Makefile: Run run-conformtest for tests.
76705 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76706 support.
76707
76708 * conform/data/uchar.h-data: New file.
76709 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76710 * conform/data/arpa/inet.h-data: Likewise.
76711 * conform/data/assert.h-data: Likewise.
76712 * conform/data/complex.h-data: Likewise.
76713 * conform/data/cpio.h-data: Likewise.
76714 * conform/data/ctype.h-data: Likewise.
76715 * conform/data/dirent.h-data: Likewise.
76716 * conform/data/dlfcn.h-data: Likewise.
76717 * conform/data/errno.h-data: Likewise.
76718 * conform/data/fcntl.h-data: Likewise.
76719 * conform/data/float.h-data: Likewise.
76720 * conform/data/fmtmsg.h-data: Likewise.
76721 * conform/data/fnmatch.h-data: Likewise.
76722 * conform/data/ftw.h-data: Likewise.
76723 * conform/data/glob.h-data: Likewise.
76724 * conform/data/grp.h-data: Likewise.
76725 * conform/data/iconv.h-data: Likewise.
76726 * conform/data/inttypes.h-data: Likewise.
76727 * conform/data/langinfo.h-data: Likewise.
76728 * conform/data/libgen.h-data: Likewise.
76729 * conform/data/limits.h-data: Likewise.
76730 * conform/data/locale.h-data: Likewise.
76731 * conform/data/math.h-data: Likewise.
76732 * conform/data/monetary.h-data: Likewise.
76733 * conform/data/mqueue.h-data: Likewise.
76734 * conform/data/ndbm.h-data: Likewise.
76735 * conform/data/net/if.h-data: Likewise.
76736 * conform/data/netdb.h-data: Likewise.
76737 * conform/data/netinet/in.h-data: Likewise.
76738 * conform/data/nl_types.h-data: Likewise.
76739 * conform/data/poll.h-data: Likewise.
76740 * conform/data/pthread.h-data: Likewise.
76741 * conform/data/pwd.h-data: Likewise.
76742 * conform/data/regex.h-data: Likewise.
76743 * conform/data/sched.h-data: Likewise.
76744 * conform/data/search.h-data: Likewise.
76745 * conform/data/semaphore.h-data: Likewise.
76746 * conform/data/setjmp.h-data: Likewise.
76747 * conform/data/signal.h-data: Likewise.
76748 * conform/data/spawn.h-data: Likewise.
76749 * conform/data/stdarg.h-data: Likewise.
76750 * conform/data/stdio.h-data: Likewise.
76751 * conform/data/stdlib.h-data: Likewise.
76752 * conform/data/string.h-data: Likewise.
76753 * conform/data/strings.h-data: Likewise.
76754 * conform/data/stropts.h-data: Likewise.
76755 * conform/data/sys/ipc.h-data: Likewise.
76756 * conform/data/sys/mman.h-data: Likewise.
76757 * conform/data/sys/msg.h-data: Likewise.
76758 * conform/data/sys/resource.h-data: Likewise.
76759 * conform/data/sys/select.h-data: Likewise.
76760 * conform/data/sys/sem.h-data: Likewise.
76761 * conform/data/sys/shm.h-data: Likewise.
76762 * conform/data/sys/socket.h-data: Likewise.
76763 * conform/data/sys/stat.h-data: Likewise.
76764 * conform/data/sys/statvfs.h-data: Likewise.
76765 * conform/data/sys/time.h-data: Likewise.
76766 * conform/data/sys/timeb.h-data: Likewise.
76767 * conform/data/sys/times.h-data: Likewise.
76768 * conform/data/sys/types.h-data: Likewise.
76769 * conform/data/sys/uio.h-data: Likewise.
76770 * conform/data/sys/un.h-data: Likewise.
76771 * conform/data/sys/utsname.h-data: Likewise.
76772 * conform/data/sys/wait.h-data: Likewise.
76773 * conform/data/syslog.h-data: Likewise.
76774 * conform/data/tar.h-data: Likewise.
76775 * conform/data/termios.h-data: Likewise.
76776 * conform/data/utime.h-data: Likewise.
76777 * conform/data/utmpx.h-data: Likewise.
76778 * conform/data/varargs.h-data: Likewise.
76779 * conform/data/wchar.h-data: Likewise.
76780 * conform/data/wctype.h-data: Likewise.
76781 * conform/data/wordexp.h-data: Likewise.
76782
76783 * include/stropts.h: New file.
76784 * include/uchar.h: New file.
76785 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76786 * include/assert.h: Likewise.
76787 * include/ctype.h: Likewise.
76788 * include/dirent.h: Likewise.
76789 * include/dlfcn.h: Likewise.
76790 * include/fcntl.h: Likewise.
76791 * include/fnmatch.h: Likewise.
76792 * include/glob.h: Likewise.
76793 * include/grp.h: Likewise.
76794 * include/libio.h: Likewise.
76795 * include/locale.h: Likewise.
76796 * include/math.h: Likewise.
76797 * include/net/if.h: Likewise.
76798 * include/netdb.h: Likewise.
76799 * include/netinet/in.h: Likewise.
76800 * include/pthread.h: Likewise.
76801 * include/pwd.h: Likewise.
76802 * include/regex.h: Likewise.
76803 * include/sched.h: Likewise.
76804 * include/search.h: Likewise.
76805 * include/setjmp.h: Likewise.
76806 * include/signal.h: Likewise.
76807 * include/stdio.h: Likewise.
76808 * include/stdlib.h: Likewise.
76809 * include/string.h: Likewise.
76810 * include/sys/cdefs.h: Likewise.
76811 * include/sys/mman.h: Likewise.
76812 * include/sys/msg.h: Likewise.
76813 * include/sys/resource.h: Likewise.
76814 * include/sys/select.h: Likewise.
76815 * include/sys/socket.h: Likewise.
76816 * include/sys/stat.h: Likewise.
76817 * include/sys/statvfs.h: Likewise.
76818 * include/sys/time.h: Likewise.
76819 * include/sys/times.h: Likewise.
76820 * include/sys/uio.h: Likewise.
76821 * include/sys/utsname.h: Likewise.
76822 * include/sys/wait.h: Likewise.
76823 * include/termios.h: Likewise.
76824 * include/time.h: Likewise.
76825 * include/ulimit.h: Likewise.
76826 * include/unistd.h: Likewise.
76827 * include/utime.h: Likewise.
76828 * include/wchar.h: Likewise.
76829 * include/wctype.h: Likewise.
76830 * include/wordexp.h: Likewise.
76831
76832 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76833
76834 * time/time.h: TIME_UTC must be a macro.
76835 Make timespec_get available for ISO C11 only as well.
76836
76837 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76838
76839 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76840 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76841
76842 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76843
76844 * configure.in: Use -o not -a in test for unsupported multi-arch.
76845
76846 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76847
76848 * manual/texinfo.tex: Update to version 2012-01-19.16.
76849
76850 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76851
76852 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76853
76854 2012-02-24 Roland McGrath <roland@hack.frob.com>
76855
76856 [BZ #13738]
76857 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76858 * manual/fdl-1.3.texi: New file.
76859 * manual/fdl-1.1.texi: File removed.
76860
76861 [BZ #13738]
76862 * manual/libc.texinfo (FDL_VERSION): New @set.
76863 Use it for mention of FDL in cover text.
76864 (Documentation License): Use it in @include file name.
76865
76866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76867 Roland McGrath <roland@hack.frob.com>
76868
76869 [BZ #5461]
76870 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76871 (not LONG_LONG_MAX and LONG_LONG_MIN.
76872 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76873 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76874 name.
76875 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76876
76877 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76878
76879 [BZ #2547]
76880 [BZ #11365]
76881 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76882 manipulate bits before adding and subtracting TWO23[sx].
76883 * math/libm-test.inc (nearbyint_test): Add more tests.
76884
76885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76886
76887 [BZ #2548]
76888 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76889 bits before adding and subtracting TWO23[sx].
76890 * math/libm-test.inc (rint_test): Add more tests.
76891 (rint_test_tonearest): Likewise.
76892 (rint_test_towardzero): Likewise.
76893 (rint_test_downward): Likewise.
76894 (rint_test_upward: Likewise.
76895
76896 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76897
76898 [BZ #10110]
76899 * include/stdc-predef.h: New file. Extracted from features.h.
76900 * include/features.h: Include stdc-predef.h.
76901 * Makefile (headers): Add stdc-predef.h.
76902 * CONFORMANCE (Compiler limitations): Update.
76903
76904 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76905
76906 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76907
76908 2012-02-21 David S. Miller <davem@davemloft.net>
76909
76910 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76911 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76912
76913 2012-02-20 David S. Miller <davem@davemloft.net>
76914
76915 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76916 using a normal save/restore sequence, rather than allocating a
76917 dummy stack frame just to store a frame pointer and restore.
76918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76919
76920 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76921
76922 * manual/install.texi: Fix stray word in line-wrapped comment.
76923
76924 2012-02-20 David S. Miller <davem@davemloft.net>
76925
76926 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76927 both binutils and gcc support GOTDATA.
76928
76929 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76930 "rd %pc" in the PIC register setup sequences.
76931
76932 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76933 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76934 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76935 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76941 (SYSCALL_ERROR_HANDLER): Likewise.
76942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76945 (SYSCALL_ERROR_HANDLER): Likewise.
76946
76947 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76948 (HAVE_GCC_GOTDATA): New.
76949 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76950 relocation support in both binutils and gcc.
76951 * sysdeps/sparc/elf/configure: Regenerate.
76952
76953 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76954 * sysdeps/sparc/sparc32/elf/configure: Delete.
76955 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76956 * sysdeps/sparc/sparc64/elf/configure: Delete.
76957 * sysdeps/sparc/elf/configure.in: New file.
76958 * sysdeps/sparc/elf/configure: Generate.
76959
76960 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76961 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76962 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76963 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76964 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76965
76966 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76967
76968 * manual/install.texi: Do not mention specific glibc version
76969 numbers.
76970 * manual/libc.texinfo (VERSION, UPDATED): Update.
76971 (@copying): Use @copyright{} and range of years.
76972
76973 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76974
76975 [BZ #13695]
76976 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76977 [crti.S not in sysdirs] (generated): Do not append.
76978 [crti.S not in sysdirs] (omit-deps): Likewise.
76979 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76980 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76981 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76982 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76983 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76984 Likewise.
76985 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76986 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76987 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76988 * csu/defs.awk: Remove file.
76989 * sysdeps/generic/initfini.c: Likewise.
76990 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76991 variable.
76992 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76993 Likewise.
76994
76995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76996
76997 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76998 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76999 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77000 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77002 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77003 <bits/epoll.h>.
77004 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77005 (__EPOLL_PACKED): Define to empty if not defined by
77006 <bits/epoll.h>.
77007 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77009 bits/epoll.h.
77010
77011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77012
77013 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77014 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77017 <bits/timerfd.h>.
77018 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77020 bits/timerfd.h.
77021
77022 2012-02-20 Joseph Myers <joseph@codesourcery.com>
77023
77024 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77025 in C locale.
77026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77030
77031 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
77032
77033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77034 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77035
77036 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
77037
77038 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77039 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77040 defined.
77041 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77042 Likewise.
77043 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77044 entry for 2.16.
77045
77046 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
77047
77048 * math/w_acos.c: Use non-signaling floating-point comparisons.
77049 * math/w_acosf.c: Likewise.
77050 * math/w_acosh.c: Likewise.
77051 * math/w_acoshf.c: Likewise.
77052 * math/w_acoshl.c: Likewise.
77053 * math/w_acosl.c: Likewise.
77054 * math/w_asin.c: Likewise.
77055 * math/w_asinf.c: Likewise.
77056 * math/w_asinl.c: Likewise.
77057 * math/w_atanh.c: Likewise.
77058 * math/w_atanhf.c: Likewise.
77059 * math/w_atanhl.c: Likewise.
77060 * math/w_exp2.c: Likewise.
77061 * math/w_exp2f.c: Likewise.
77062 * math/w_exp2l.c: Likewise.
77063 * math/w_j0.c: Likewise.
77064 * math/w_j0f.c: Likewise.
77065 * math/w_j0l.c: Likewise.
77066 * math/w_j1.c: Likewise.
77067 * math/w_j1f.c: Likewise.
77068 * math/w_j1l.c: Likewise.
77069 * math/w_jn.c: Likewise.
77070 * math/w_jnf.c: Likewise.
77071 * math/w_log.c: Likewise.
77072 * math/w_log10.c: Likewise.
77073 * math/w_log10f.c: Likewise.
77074 * math/w_log10l.c: Likewise.
77075 * math/w_log2.c: Likewise.
77076 * math/w_log2f.c: Likewise.
77077 * math/w_log2l.c: Likewise.
77078 * math/w_logf.c: Likewise.
77079 * math/w_logl.c: Likewise.
77080 * math/w_sqrt.c: Likewise.
77081 * math/w_sqrtf.c: Likewise.
77082 * math/w_sqrtl.c: Likewise.
77083 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77084 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77088
77089 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77090
77091 [BZ #9739]
77092 * manual/string.texi (strnlen): Use correct parameter name in
77093 equivalent expression.
77094
77095 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77096
77097 [BZ #11174]
77098 * manual/users.texi (seteuid): Consistently use neweuid for
77099 argument name.
77100
77101 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77102
77103 [BZ #13704]
77104 * manual/nss.texi (Services in the NSS configuration): Correct
77105 list of services in example configuration file.
77106
77107 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77108
77109 [BZ #11322]
77110 * manual/arith.texi: Remove statements about negative zero
77111 behaving identically to zero.
77112
77113 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77114
77115 [BZ #5993]
77116 * manual/install.texi: Do not document upgrading from libc5.
77117
77118 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77119
77120 [BZ #4596]
77121 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77122
77123 2012-02-18 David S. Miller <davem@davemloft.net>
77124
77125 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77126 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77127 %o7 across the call.
77128 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77129 instead.
77130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77131 SETUP_PIC_REG_LEAF.
77132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77133 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77134 * sysdeps/sparc/crtn.S: Likewise.
77135
77136 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77137
77138 * aout/Makefile: Remove.
77139
77140 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77141
77142 [BZ #13058]
77143 * manual/examples/argp-ex1.c (main): Format definition in GNU
77144 style.
77145 * manual/examples/argp-ex2.c (main): Likewise.
77146 * manual/examples/argp-ex3.c (main): Likewise.
77147 * manual/examples/argp-ex4.c (main): Likewise.
77148 * manual/examples/longopt.c (main): Use new-style prototype
77149 definition.
77150 * manual/examples/strncat.c (main): Specify return type and use
77151 (void) for arguments.
77152 * manual/examples/subopt.c (main): Use char **argv argument.
77153
77154 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77155
77156 [BZ #5077]
77157 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77158 rounding modes.
77159
77160 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77161
77162 [BZ #6907]
77163 * manual/string.texi (strchr): Change when strchrnul is
77164 recommended.
77165
77166 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77167
77168 [BZ #174]
77169 * manual/locale.texi (setlocale): Document LOCPATH.
77170
77171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77172
77173 [BZ #10210]
77174 * manual/process.texi (execle): Move @dots{} before last argument.
77175
77176 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77177
77178 [BZ #12047]
77179 * manual/charset.texi (Generic Charset Conversion): Fix typo
77180 (LC_TYPE -> LC_CTYPE).
77181
77182 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77183
77184 [BZ #5805]
77185 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77186 (scalbnf): Likewise.
77187 (scalbnl): Likewise.
77188 (scalbln): Likewise.
77189 (scalblnf): Likewise.
77190 (scalblnl): Likewise.
77191 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77192 (vwarnx): Likewise.
77193 (verr): Likewise.
77194 (verrx): Likewise.
77195 * manual/filesys.texi (telldir): Use braces around return type.
77196 * manual/llio.texi (mmap): Add space after comma.
77197 (mmap64): Likewise.
77198 * manual/math.texi (jn): Use @var{} on parameter names.
77199 (jnf): Likewise.
77200 (jnl): Likewise.
77201 (yn): Likewise.
77202 (ynf): Likewise.
77203 (ynl): Likewise.
77204 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77205 line.
77206 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77207 "...".
77208 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77209 (sched_get_priority_max): Likewise.
77210 * manual/signal.texi (sigvec): Add space after comma.
77211 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77212 names.
77213 (if_indextoname): Likewise.
77214 (if_freenameindex): Likewise.
77215 (sendto): Use ',' instead of '.' in prototype.
77216 * manual/startup.texi (syscall): Use @dots{} instead of literal
77217 "...".
77218 * manual/stdio.texi (__fpending): Separate initial words of
77219 paragraph from @deftypefun line.
77220 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77221 "...".
77222 (vsyslog): Use @var{} on parameter names.
77223 * manual/terminal.texi (stty): Use @var{} on parameter names.
77224 * manual/users.texi (getutmp): Use @var{} on parameter names.
77225 (getutmpx): Likewise.
77226
77227 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77228
77229 [BZ #6884]
77230 * manual/stdio.texi (fopen): Fix typos in description of
77231 ",ccs=STRING".
77232
77233 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77234
77235 [BZ #4026]
77236 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77237 get clock_id definition.
77238
77239 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77240
77241 [BZ #4822]
77242 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77243 (madvise): Cast every argument to void on its own.
77244
77245 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77246
77247 [BZ #9902]
77248 * manual/startup.texi (Exit Status): Fix typo.
77249
77250 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77251
77252 [BZ #10140]
77253 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77254 * manual/examples/argp-ex2.c: Likewise.
77255 * manual/examples/argp-ex3.c: Likewise.
77256
77257 2012-02-16 Richard Henderson <rth@redhat.com>
77258
77259 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77260 * sysdeps/s390/s390-32/initfini.c: Remove.
77261 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77262 * sysdeps/s390/s390-64/initfini.c: Remove.
77263
77264 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77265
77266 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77267 compiler output for sysdeps/generic/initfini.c.
77268 * sysdeps/sh/elf/initfini.c: Remove file.
77269
77270 2012-02-16 David S. Miller <davem@davemloft.net>
77271
77272 [BZ #11494]
77273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77274
77275 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77276 * sysdeps/sparc/crti.S: New file.
77277 * sysdeps/sparc/crtn.S: New file.
77278 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77279 * sysdeps/sparc/sparc64/Makefile: Likewise.
77280
77281 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77282
77283 [BZ #3335]
77284 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77285
77286 2012-02-15 Roland McGrath <roland@hack.frob.com>
77287
77288 [BZ #4822]
77289 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77290
77291 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77292 (write, read, close): Likewise.
77293 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77294
77295 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77296
77297 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77298 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77299 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77300 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77301 <bits/signalfd.h>.
77302 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77304 bits/signalfd.h.
77305
77306 2012-02-14 Marek Polacek <polacek@redhat.com>
77307
77308 * sysdeps/x86_64/crti.S: New file.
77309 * sysdeps/x86_64/crtn.S: New file.
77310 * sysdeps/x86_64/elf/initfini.c: Remove file.
77311
77312 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77313
77314 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77315 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77316 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77317 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77318 <bits/inotify.h>.
77319 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77321 bits/inotify.h.
77322
77323 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77324
77325 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77326 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77327 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77328 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77329 <bits/eventfd.h>.
77330 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77332 bits/eventfd.h.
77333
77334 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77335
77336 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77337 __feraiseexcept instead of feraiseexcept.
77338
77339 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77340 nanosleep invocations.
77341 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77342 strings, and add error checking for a nanosleep invocations.
77343
77344 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77345
77346 Replace FSF snail mail address with URLs, as per GNU coding standards.
77347 Most of the snail mail addresses were wrong anyway, and omitting
77348 them makes the source code easier to maintain. Almost all of the
77349 changes are to license notices and to locale LC_IDENTIFICATION
77350 addresses, except for this one:
77351 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77352 not its snail mail address.
77353
77354 2012-02-09 Richard Henderson <rth@twiddle.net>
77355
77356 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77357 of kernel-features.h.
77358
77359 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77360
77361 2012-02-08 Marek Polacek <polacek@redhat.com>
77362
77363 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77364 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77365 * sysdeps/gnu/_G_config.h: Likewise.
77366 * sysdeps/generic/_G_config.h: Likewise.
77367
77368 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77369
77370 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77371 tests.
77372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77373
77374 * sysdeps/powerpc/powerpc32/crti.S: New file.
77375 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77376 * sysdeps/powerpc/powerpc64/crti.S: New file.
77377 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77378
77379 * Makeconfig (have-initfini): Don't set.
77380 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77381 * configure.in (nopic_initfini): Don't substitute.
77382 * config.h.in (HAVE_INITFINI): Don't #undef.
77383 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77384 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77385
77386 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77387
77388 Support crti.S and crtn.S provided directly by architectures.
77389 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77390 [crti.S in sysdirs] (omit-deps): Likewise.
77391 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77392 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77393 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77394 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77395 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77396 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77397 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77398 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77399 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77400 compiler output for sysdeps/generic/initfini.c.
77401 * sysdeps/i386/elf/Makefile: Remove file.
77402 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77403
77404 2012-02-07 Marek Polacek <polacek@redhat.com>
77405
77406 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77407 * sysdeps/gnu/_G_config.h: Likewise.
77408 * sysdeps/mach/hurd/_G_config.h: Likewise.
77409
77410 2012-02-07 Marek Polacek <polacek@redhat.com>
77411
77412 * math/Makefile (tests): Add tst-CMPLX2.
77413 * math/tst-CMPLX2.c: New file.
77414
77415 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77416
77417 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77418
77419 * math/libm-test.inc (jn_test): Add missing L suffix.
77420
77421 2012-02-06 Marek Polacek <polacek@redhat.com>
77422
77423 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77424 * sysdeps/i386/fpu/e_powf.S: Likewise.
77425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77426 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77428 * sysdeps/i386/fpu/e_pow.S: Likewise.
77429 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77431 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77432 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77433 * sysdeps/i386/fpu/e_log2.S: Likewise.
77434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77435 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77436 * sysdeps/i386/fpu/e_powl.S: Likewise.
77437 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77438 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77439 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77440 * sysdeps/i386/fpu/e_logl.S: Likewise.
77441 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77442 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77443 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77444 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77445 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77447 * sysdeps/i386/fpu/e_log.S: Likewise.
77448 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77449 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77450 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77451 * sysdeps/i386/fpu/e_logf.S: Likewise.
77452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77454 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77455 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77456 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77457 * sysdeps/i386/fpu/e_log10.S: Likewise.
77458 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77459 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77460 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77461 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77463 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77464 * sysdeps/i386/asm-syntax.h: Likewise.
77465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77466 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77467 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77468 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77469 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77470 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77471 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77472 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77473 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77474 * sysdeps/powerpc/sysdep.h: Likewise.
77475 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77476 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77477
77478 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77479
77480 [BZ #411]
77481 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77482
77483 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77484
77485 * sysdeps/i386/sysdep.h: Include <features.h>.
77486 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77487 version.
77488
77489 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77490
77491 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77492 Define.
77493 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77494 LOAD_PIC_REG_STR.
77495
77496 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77497
77498 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77499 (SETUP_PIC_REG): Use GET_PC_THUNK.
77500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77501 macro.
77502
77503 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77504
77505 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77506 for non-PIC compilation.
77507 (SETUP_PIC_REG): Add .p2align directive.
77508 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77509 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77510 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77511 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77512 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77513 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77514 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77516 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77517 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77518 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77519 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77520 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77521 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77522 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77523 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77524 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77525 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77526 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77527 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77530 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77531 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77535 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77536 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77537 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77538 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77540 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77541 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77542 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77544 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77547 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77548 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77549
77550 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77551
77552 * math/tst-CMPLX.c: Include <stdio.h>.
77553
77554 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77555
77556 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77557 float.
77558 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77559 * sysdeps/sparc/bits/mathdef.h: Likewise.
77560
77561 2012-01-31 Marek Polacek <polacek@redhat.com>
77562
77563 * libio/libio.h: Don't define _PARAMS.
77564 * locale/programs/config.h: Don't define PARAMS.
77565 * stdlib/strtol_l.c: Likewise.
77566 (__strtol_l): Remove PARAMS from the prototype.
77567
77568 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77569
77570 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77571 names. Just use the correct names. Remove unnecessary wrapper
77572 functions.
77573 * malloc/arena.c: Likewise.
77574 * malloc/hooks.c: Likewise.
77575
77576 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77577 ARENA_TEST says not to. Simplify test for creation of a new arena.
77578 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77579
77580 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77581
77582 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77583 into tail calls.
77584 (update_get_addr): New function.
77585 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77586 GET_ADDR_MODULE parameter.
77587
77588 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77589
77590 * crypt/cert.c: Remove __STDC__ conditionals.
77591 * crypt/crypt-entry.c: Likewise.
77592 * crypt/crypt_util.c: Likewise.
77593 * libio/filedoalloc.c: Likewise.
77594 * libio/fileops.c: Likewise.
77595 * libio/genops.c: Likewise.
77596 * libio/iofclose.c: Likewise.
77597 * libio/iofdopen.c: Likewise.
77598 * libio/iofopen.c: Likewise.
77599 * libio/iofopen64.c: Likewise.
77600 * libio/iogetdelim.c: Likewise.
77601 * libio/iopopen.c: Likewise.
77602 * libio/obprintf.c: Likewise.
77603 * libio/oldfileops.c: Likewise.
77604 * libio/oldiofclose.c: Likewise.
77605 * libio/oldiofdopen.c: Likewise.
77606 * libio/oldiofopen.c: Likewise.
77607 * libio/oldiopopen.c: Likewise.
77608 * libio/wfiledoalloc.c: Likewise.
77609 * libio/wgenops.c: Likewise.
77610 * locale/programs/xmalloc.c: Likewise.
77611 * misc/syslog.c: Likewise.
77612 * stdio-common/xbug.c: Likewise.
77613 * string/memchr.c: Likewise.
77614 * string/memcmp.c: Likewise.
77615 * string/memrchr.c: Likewise.
77616 * string/rawmemchr.c: Likewise.
77617 * sysdeps/posix/getcwd.c: Likewise.
77618 * time/strftime_l.c: Likewise.
77619
77620 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77621
77622 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77623 * config.make.in (config-cflags-sse2avx): Define.
77624 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77625 Fix typo.
77626
77627 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77628
77629 * scripts/config.guess: Update from upstream config git repository.
77630 * scripts/config.sub: Likewise.
77631
77632 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77633
77634 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77635 (EM_NUM): Update.
77636 (R_TILEPRO_*, R_TILEGX_*): New macros.
77637
77638 * scripts/firstversions.awk: Fix bug in version range handling.
77639
77640 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77641
77642 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77643
77644 * include/sys/epoll.h: New file.
77645 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77646 libc_hidden_def.
77647
77648 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77649
77650 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77651 Avoid unnecessary __WORDSIZE == 64 test.
77652 (fmaxf): Use VEX format if possible.
77653 (fmax): Likewise.
77654 (fminf): Likewise.
77655 (fmin): Likewise.
77656
77657 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77658 * math/math_private.h: Remove libc_fegetround* and
77659 libc_fesetround*.
77660 * sysdeps/i386/configure.in: Check for -msse2avx.
77661 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77662 also if SSE2AVX is defined.
77663 Remove libc_fegetround* and libc_fesetround*.
77664 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77665 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77666 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77667 of HAS_YMM_USABLE.
77668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77673
77674 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77675
77676 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77677
77678 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77679 size is not set.
77680 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77681
77682 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77683
77684 [BZ #13618]
77685 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77686 relocation.
77687 * Makeconfig (libm): Define.
77688 * elf/Makefile: Add rules to build and run tst-relsort1.
77689 * elf/tst-relsort1.c: New file.
77690 * elf/tst-relsort1mod1.c: New file.
77691 * elf/tst-relsort1mod2.c: New file.
77692
77693 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77694
77695 * math/s_ldexp.c: Remove __STDC__ conditionals.
77696 * math/s_ldexpf.c: Likewise.
77697 * math/s_ldexpl.c: Likewise.
77698 * math/s_nextafter.c: Likewise.
77699 * math/s_nexttowardf.c: Likewise.
77700 * math/s_significand.c: Likewise.
77701 * math/s_significandf.c: Likewise.
77702 * math/s_significandl.c: Likewise.
77703 * math/w_jnl.c: Likewise.
77704 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77705 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77706 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77707 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77708 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77710 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77713 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77714 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77716 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77721 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77723 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77724 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77731 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77732 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77733 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77734 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77735 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77736 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77737 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77738 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77742 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77743 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77744 * sysdeps/ieee754/k_standard.c: Likewise.
77745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77746 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77747 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77749 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77750 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77752 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77753 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77754 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77755 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77757 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77759 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77761 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77770 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77776 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77781 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77785 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77795 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77801 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77804 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77805 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77806 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77807 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77808 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77809 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77810 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77811 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77812 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77814 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77815 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77816 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77817 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77820 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77821 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77822 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77823 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77824 * sysdeps/ieee754/s_matherr.c: Likewise.
77825 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77826 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77829
77830 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77831
77832 * crypt/md5.h: Remove __STDC__ conditionals.
77833 * libio/libioP.h: Likewise.
77834 * locale/programs/config.h: Likewise.
77835 * sysdeps/generic/sysdep.h: Likewise.
77836 * sysdeps/i386/asm-syntax.h: Likewise.
77837 * sysdeps/s390/asm-syntax.h: Likewise.
77838 * sysdeps/unix/sysdep.h: Likewise.
77839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77841
77842 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77843
77844 * libio/libio.h: Remove __STDC__ conditionals.
77845 * malloc/obstack.h: Likewise.
77846 * math/complex.h: Likewise.
77847 * math/math.h: Likewise.
77848 * sysdeps/generic/_G_config.h: Likewise.
77849 * sysdeps/gnu/_G_config.h: Likewise.
77850 * sysdeps/mach/hurd/_G_config.h: Likewise.
77851 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77852 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77853 * sysdeps/sparc/bits/mathdef.h: Likewise.
77854
77855 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77856
77857 [BZ #13583]
77858 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77859 Clean up HAS_* macros.
77860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77861 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77862 possible.
77863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77864 HAS_AVX.
77865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77870
77871 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77872
77873 * elf/tst-unique3.cc (gets): Remove declaration.
77874 * elf/tst-unique3lib.cc (gets): Likewise.
77875 * elf/tst-unique3lib2.cc (gets): Likewise.
77876 * elf/tst-unique4.cc (gets): Likewise.
77877
77878 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77879
77880 * include/stdio.h: Add C++ protection. Add gets declarations and
77881 definitions.
77882 * debug/tst-chk1.c: Don't declare gets here.
77883 * stdio-common/tst-gets.c: Likewise.
77884
77885 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77886
77887 * posix/glob: Remove directory.
77888
77889 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77890
77891 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77892
77893 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77894
77895 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77896 of the non-standard EPFNOSUPPORT.
77897
77898 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77899
77900 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77901 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77902 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77903
77904 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77905
77906 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77907
77908 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77909
77910 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77911 transient errors.
77912 * nscd/grpcache.c (cache_addgr): Likewise.
77913 * nscd/hstcache.c (cache_addhst): Likewise.
77914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77915 * nscd/pwdcache.c (cache_addpw): Likewise.
77916 * nscd/servicescache.c (cache_addserv): Likewise.
77917
77918 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77919
77920 * malloc/malloc.c: Various cleanups.
77921 * malloc/hooks.c: Likewise.
77922
77923 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77924 * stdlib/bug-fmtmsg1.c: New file.
77925
77926 * stdlib/fmtmsg.c (init): Add missing unlock.
77927 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77928
77929 2012-01-12 Marek Polacek <polacek@redhat.com>
77930
77931 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77932 and _GNU_SOURCE.
77933
77934 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77935
77936 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77937 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77938 macro to ensure uniqueness of label name.
77939 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77940 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77941
77942 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77943
77944 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77945
77946 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77948 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77950
77951 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77952
77953 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77954
77955 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77956 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77958
77959 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77960
77961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77963 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77965
77966 * math/bits/math-finite.h: Add ldexp support.
77967
77968 2012-01-10 Marek Polacek <polacek@redhat.com>
77969
77970 * locale/programs/localedef.h (show_archive_content): Add noreturn
77971 attribute.
77972
77973 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77974
77975 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77976
77977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77978
77979 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77980
77981 * io/Makefile (headers): Add bits/poll2.h.
77982
77983 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
77984
77985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77986 typo #include statement.
77987
77988 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77989
77990 * include/sys/cdefs.h: Define __attribute_alloc_size.
77991 * catgets/gencat.c: Add alloc_size attribute and apply consistently
77992 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77993 * elf/pldd.c: Likewise.
77994 * iconv/iconv_charmap.c: Likewise.
77995 * iconv/iconvconfig.c: Likewise.
77996 * iconv/strtab.c: Likewise.
77997 * locale/programs/locale.c: Likewise.
77998 * locale/programs/localedef.h: Likewise.
77999 * locale/programs/simple-hash.c: Likewise.
78000 * nscd/nscd.h: Likewise.
78001 * nss/makedb.c: Likewise.
78002 * sysdeps/generic/ldconfig.h: Likewise.
78003 * locale/programs/localedef.c: Remove xmalloc prototype.
78004 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78005
78006 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
78007
78008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78009 appropriate.
78010
78011 2012-01-08 Ulrich Drepper <drepper@gmail.com>
78012
78013 * math/Makefile (tests): Add tst-CMPLX.
78014 * math/tst-CMPLX.c: New file.
78015
78016 * math/complex.h (CMPLXL): Fix typo.
78017
78018 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78019 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78020 GLIBC_2.16.
78021 * debug/tst-chk1.c: Add poll and ppoll tests.
78022 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78023 * include/sys/poll.h: Add hidden proto for ppoll.
78024 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78025 * sysdeps/mach/hurd/ppoll.c: Likewise.
78026 * io/ppoll.c: Likewise.
78027 * debug/poll_chk.c: New file.
78028 * debug/ppoll_chk.c: New file.
78029 * include/bits/poll2.h: New file.
78030 * io/bits/poll2.h: New file.
78031
78032 [BZ #1350]
78033 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78034
78035 * configure.in: static is always set to yes. Remove.
78036 * config.make.in: Don't set build-static.
78037 * Makeconfig: Remove use of build-static.
78038 * dlfcn/Makefile: Likewise.
78039 * elf/Makefile: Likewise.
78040 * math/Makefile: Likewise.
78041 * misc/Makefile: Likewise.
78042 * nptl/Makefile: Likewise.
78043 * sysdeps/mach/hurd/Makefile: Likewise.
78044
78045 * configure.in: PWD_P is not used anymore.
78046 * config.make.in: Remove PWD_P entry.
78047
78048 * configure.in: Remove last remnants of RANLIB.
78049 No need to check for signed size_t anymore.
78050 Don't set libc_commonpagesize and libc_relro_required here for Alpha
78051 and IA-64.
78052 Remove __builtin_expect test because we require at least gcc 3.4.
78053 * aclocal.m4: Likewise.
78054
78055 * wcsmbs/mbrtoc16.c: Implement using towc function.
78056 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78057 * wcsmbs/wcsmbsload.c: Likewise.
78058 * iconv/gconv_simple.c: Likewise.
78059 * iconv/gconv_int.h: Likewise.
78060 * iconv/gconv_builtin.h: Likewise.
78061 * iconv/iconv_prog.c: Remove CHAR16 handling.
78062
78063 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78064
78065 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78066
78067 * configure.in: Remove --with-elf and --enable-bounded options.
78068 Dont set base_machine for ia64. More non-ELF conditions removed.
78069 Remove testing and setting of leading underscore information.
78070 * config.make.in (build-bounded): Set to no.
78071 * config.h.in: Remove NO_UNDERSCORES entry.
78072 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
78073 them.
78074 * csu/start.c: Remove !NO_UNDERSCORE code.
78075 * locale/localeinfo.h: Likewise.
78076 * sysdeps/generic/machine-gmon.h: Likewise.
78077 * sysdeps/generic/sysdep.h: Likewise.
78078 * sysdeps/i386/sysdep.h: Likewise.
78079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78080 * sysdeps/mach/sysdep.h: Likewise.
78081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78083 * sysdeps/sh/sysdep.h: Likewise.
78084 * sysdeps/sparc/sparc32/alloca.S: Likewise.
78085 * sysdeps/unix/i386/sysdep.S: Likewise.
78086 * sysdeps/unix/sparc/start.c: Likewise.
78087 * sysdeps/unix/sparc/sysdep.S: Likewise.
78088 * sysdeps/unix/sparc/sysdep.h: Likewise.
78089 * sysdeps/unix/start.c: Likewise.
78090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78091 * sysdeps/x86_64/sysdep.h: Likewise.
78092
78093 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78094
78095 [BZ #13553]
78096 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78097 for non-gcc.
78098 * argp/argp-fmtstream.h: Use const instead __const.
78099 * argp/argp.h: Likewise.
78100 * assert/assert.h: Likewise.
78101 * bits/fenv.h: Likewise.
78102 * bits/sched.h: Likewise.
78103 * bits/sigset.h: Likewise.
78104 * bits/sigthread.h: Likewise.
78105 * catgets/nl_types.h: Likewise.
78106 * conform/data/pthread.h-data: Likewise.
78107 * crypt/crypt-private.h: Likewise.
78108 * crypt/crypt.h: Likewise.
78109 * crypt/crypt_util.c: Likewise.
78110 * ctype/ctype.h: Likewise.
78111 * debug/execinfo.h: Likewise.
78112 * debug/mbsnrtowcs_chk.c: Likewise.
78113 * debug/mbsrtowcs_chk.c: Likewise.
78114 * debug/wcsnrtombs_chk.c: Likewise.
78115 * debug/wcsrtombs_chk.c: Likewise.
78116 * debug/wcstombs_chk.c: Likewise.
78117 * dirent/dirent.h: Likewise.
78118 * dlfcn/dlfcn.h: Likewise.
78119 * elf/neededtest4.c: Likewise.
78120 * grp/grp.h: Likewise.
78121 * gshadow/gshadow.h: Likewise.
78122 * iconv/gconv.h: Likewise.
78123 * iconv/gconv_int.h: Likewise.
78124 * iconv/gconv_simple.c: Likewise.
78125 * iconv/iconv.h: Likewise.
78126 * iconv/loop.c: Likewise.
78127 * iconv/skeleton.c: Likewise.
78128 * include/aio.h: Likewise.
78129 * include/aliases.h: Likewise.
78130 * include/argz.h: Likewise.
78131 * include/arpa/inet.h: Likewise.
78132 * include/assert.h: Likewise.
78133 * include/dirent.h: Likewise.
78134 * include/dlfcn.h: Likewise.
78135 * include/execinfo.h: Likewise.
78136 * include/fcntl.h: Likewise.
78137 * include/fenv.h: Likewise.
78138 * include/glob.h: Likewise.
78139 * include/grp.h: Likewise.
78140 * include/libintl.h: Likewise.
78141 * include/mntent.h: Likewise.
78142 * include/netdb.h: Likewise.
78143 * include/pwd.h: Likewise.
78144 * include/rpc/netdb.h: Likewise.
78145 * include/sched.h: Likewise.
78146 * include/search.h: Likewise.
78147 * include/shadow.h: Likewise.
78148 * include/signal.h: Likewise.
78149 * include/stdio.h: Likewise.
78150 * include/stdlib.h: Likewise.
78151 * include/string.h: Likewise.
78152 * include/sys/socket.h: Likewise.
78153 * include/sys/stat.h: Likewise.
78154 * include/sys/statfs.h: Likewise.
78155 * include/sys/statvfs.h: Likewise.
78156 * include/sys/syslog.h: Likewise.
78157 * include/sys/time.h: Likewise.
78158 * include/sys/uio.h: Likewise.
78159 * include/time.h: Likewise.
78160 * include/unistd.h: Likewise.
78161 * include/utmp.h: Likewise.
78162 * include/wchar.h: Likewise.
78163 * include/wctype.h: Likewise.
78164 * inet/aliases.h: Likewise.
78165 * inet/arpa/inet.h: Likewise.
78166 * inet/netinet/ether.h: Likewise.
78167 * inet/netinet/in.h: Likewise.
78168 * intl/libintl.h: Likewise.
78169 * io/bits/fcntl2.h: Likewise.
78170 * io/fcntl.h: Likewise.
78171 * io/ftw.h: Likewise.
78172 * io/sys/poll.h: Likewise.
78173 * io/sys/stat.h: Likewise.
78174 * io/sys/statfs.h: Likewise.
78175 * io/sys/statvfs.h: Likewise.
78176 * io/utime.h: Likewise.
78177 * libio/bits/stdio.h: Likewise.
78178 * libio/bits/stdio2.h: Likewise.
78179 * libio/libio.h: Likewise.
78180 * libio/libioP.h: Likewise.
78181 * libio/stdio.h: Likewise.
78182 * locale/lc-ctype.c: Likewise.
78183 * locale/locale.h: Likewise.
78184 * login/utmp.h: Likewise.
78185 * malloc/arena.c: Likewise.
78186 * malloc/malloc.c: Likewise.
78187 * malloc/malloc.h: Likewise.
78188 * malloc/mcheck.c: Likewise.
78189 * malloc/mtrace.c: Likewise.
78190 * math/bits/mathcalls.h: Likewise.
78191 * math/fenv.h: Likewise.
78192 * math/math_private.h: Likewise.
78193 * misc/bits/error.h: Likewise.
78194 * misc/bits/syslog.h: Likewise.
78195 * misc/err.h: Likewise.
78196 * misc/error.h: Likewise.
78197 * misc/fstab.h: Likewise.
78198 * misc/mntent.h: Likewise.
78199 * misc/regexp.h: Likewise.
78200 * misc/search.h: Likewise.
78201 * misc/sgtty.h: Likewise.
78202 * misc/sys/mman.h: Likewise.
78203 * misc/sys/syslog.h: Likewise.
78204 * misc/sys/uio.h: Likewise.
78205 * misc/sys/xattr.h: Likewise.
78206 * misc/ttyent.h: Likewise.
78207 * nis/rpcsvc/ypclnt.h: Likewise.
78208 * nss/nss.h: Likewise.
78209 * posix/bits/unistd.h: Likewise.
78210 * posix/fnmatch.h: Likewise.
78211 * posix/glob.h: Likewise.
78212 * posix/sched.h: Likewise.
78213 * posix/spawn.h: Likewise.
78214 * posix/sys/wait.h: Likewise.
78215 * posix/unistd.h: Likewise.
78216 * posix/wordexp.h: Likewise.
78217 * pwd/pwd.h: Likewise.
78218 * resolv/netdb.h: Likewise.
78219 * resource/sys/resource.h: Likewise.
78220 * rt/aio.h: Likewise.
78221 * rt/bits/mqueue2.h: Likewise.
78222 * rt/mqueue.h: Likewise.
78223 * shadow/shadow.h: Likewise.
78224 * signal/signal.h: Likewise.
78225 * socket/send.c: Likewise.
78226 * socket/sendto.c: Likewise.
78227 * socket/sys/socket.h: Likewise.
78228 * stdio-common/printf.h: Likewise.
78229 * stdlib/bits/stdlib.h: Likewise.
78230 * stdlib/fmtmsg.h: Likewise.
78231 * stdlib/monetary.h: Likewise.
78232 * stdlib/stdlib.h: Likewise.
78233 * stdlib/ucontext.h: Likewise.
78234 * streams/stropts.h: Likewise.
78235 * string/argz.h: Likewise.
78236 * string/bits/string2.h: Likewise.
78237 * string/string.h: Likewise.
78238 * string/strings.h: Likewise.
78239 * sunrpc/rpc/auth.h: Likewise.
78240 * sunrpc/rpc/auth_des.h: Likewise.
78241 * sunrpc/rpc/clnt.h: Likewise.
78242 * sunrpc/rpc/netdb.h: Likewise.
78243 * sunrpc/rpc/pmap_clnt.h: Likewise.
78244 * sunrpc/rpc/xdr.h: Likewise.
78245 * sysdeps/generic/inttypes.h: Likewise.
78246 * sysdeps/generic/net/if.h: Likewise.
78247 * sysdeps/generic/sys/swap.h: Likewise.
78248 * sysdeps/gnu/net/if.h: Likewise.
78249 * sysdeps/gnu/utmpx.h: Likewise.
78250 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78251 * sysdeps/i386/i486/bits/string.h: Likewise.
78252 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78253 * sysdeps/s390/bits/string.h: Likewise.
78254 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78255 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78256 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78257 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78258 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78259 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78260 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78261 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78262 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78263 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78264 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78265 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78266 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78267 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78268 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78269 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78270 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78275 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78276 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78277 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78278 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78279 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78280 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78281 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78282 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78284 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78285 * sysvipc/sys/ipc.h: Likewise.
78286 * sysvipc/sys/msg.h: Likewise.
78287 * sysvipc/sys/sem.h: Likewise.
78288 * sysvipc/sys/shm.h: Likewise.
78289 * termios/termios.h: Likewise.
78290 * time/sys/time.h: Likewise.
78291 * time/time.h: Likewise.
78292 * wcsmbs/bits/wchar2.h: Likewise.
78293 * wcsmbs/uchar.h: Likewise.
78294 * wcsmbs/wchar.h: Likewise.
78295 * wctype/wctype.h: Likewise.
78296
78297 [BZ #13551]
78298 * Makeconfig: Remove all but ELF support including AIX support.
78299 * Makerules: Likewise.
78300 * config.h.in: Likewise.
78301 * config.make.in: Likewise.
78302 * configure: Likewise.
78303 * configure.in: Likewise.
78304 * csu/Makefile: Likewise.
78305 * csu/version.c: Likewise.
78306 * debug/Makefile: Likewise.
78307 * dlfcn/Makefile: Likewise.
78308 * elf/Makefile: Likewise.
78309 * extra-lib.mk: Likewise.
78310 * iconv/Makefile: Likewise.
78311 * include/libc-symbols.h: Likewise.
78312 * include/shlib-compat.h: Likewise.
78313 * resolv/Makefile: Likewise.
78314 * resolv/res_libc.c: Likewise.
78315 * rt/Makefile: Likewise.
78316 * sysdeps/i386/asm-syntax.h: Likewise.
78317 * sysdeps/i386/sysdep.h: Likewise.
78318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78319 * sysdeps/mach/sysdep.h: Likewise.
78320 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78321 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78322 * sysdeps/s390/asm-syntax.h: Likewise.
78323 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78325 * sysdeps/sh/sysdep.h: Likewise.
78326 * sysdeps/unix/sparc/sysdep.h: Likewise.
78327 * sysdeps/wordsize-32/divdi3.c: Likewise.
78328 * sysdeps/x86_64/sysdep.h: Likewise.
78329
78330 * argp/Versions: Remove _argp_unlock_xxx.
78331
78332 [BZ #13559]
78333 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78334 * abilist/libBrokenLocale.abilist: Likewise.
78335 * abilist/libanl.abilist: Likewise.
78336 * abilist/libc.abilist: Likewise.
78337 * abilist/libcrypt.abilist: Likewise.
78338 * abilist/libdl.abilist: Likewise.
78339 * abilist/libm.abilist: Likewise.
78340 * abilist/libnsl.abilist: Likewise.
78341 * abilist/libpthread.abilist: Likewise.
78342 * abilist/libresolv.abilist: Likewise.
78343 * abilist/librt.abilist: Likewise.
78344 * abilist/libthread_db.abilist: Likewise.
78345 * abilist/libutil.abilist: Likewise.
78346 * abilist/libnss_db.abilist: New file.
78347
78348 * scripts/abilist.awk: Add support for indirect functions.
78349
78350 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78351
78352 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78353
78354 * shlib-versions: Remove entries for ports architectures.
78355
78356 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78357 files in ports.
78358 * elf/stackguard-macros.h: Remove support for IA-64.
78359 * elf/tst-auditmod1.c: Likewise.
78360 * sysdeps/generic/ldsodefs.h: Likewise.
78361
78362 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78363 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78364 configure files.
78365
78366 [BZ #13552]
78367 * configure.in: Remove --enable-omitfp support.
78368 * FAQ.in: Adjust.
78369 * config.make.in: Likewise.
78370 * Makeconfig: Likewise.
78371 * manual/install.texi: Likewise.
78372
78373 In case anyone cares, the IA-64 architecture could move to ports.
78374 * sysdeps/ia64/*: Removed.
78375 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78376 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78377
78378 [BZ #13555]
78379 * configure.in: Remove entries for unsupported architectures.
78380
78381 [BZ #13533]
78382 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78383 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78384 routines.
78385 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78386 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78387 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78388 fall back to using wcrtomb.
78389 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78390 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78391 renaming.
78392 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78393 * wcsmbs/tst-c16c32-1.c: New file.
78394
78395 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78396 local variable.
78397
78398 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78399
78400 * elf/tst-unique3.cc: Add explicit declaration of gets.
78401 * elf/tst-unique3lib.cc: Likewise.
78402 * elf/tst-unique3lib2.cc: Likewise.
78403 * elf/tst-unique4.cc: Likewise.
78404
78405 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78406
78407 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78408
78409 [BZ #13566]
78410 * assert/assert.h (static_assert): Don't define for C++.
78411 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78412 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78413
78414 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78415
78416 * iconv/loop.c (single loop): Fix assertion in storing of
78417 remaining bytes.
78418
78419 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78420
78421 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78422
78423 * posix/getconf.c: Update copyright year.
78424 * nss/getent.c: Likewise.
78425 * nss/makedb.c: Likewise.
78426 * iconv/iconvconfig.c: Likewise.
78427 * iconv/iconv_prog.c: Likewise.
78428 * elf/ldconfig.c: Likewise.
78429 * elf/pldd.c: Likewise.
78430 * elf/sotruss.ksh: Likewise.
78431 * catgets/gencat.c: Likewise.
78432 * csu/version.c: Likewise.
78433 * elf/ldd.bash.in: Likewise.
78434 * elf/sprof.c (print_version): Likewise.
78435 * locale/programs/locale.c: Likewise.
78436 * locale/programs/localedef.c: Likewise.
78437 * login/programs/pt_chown.c: Likewise.
78438 * nscd/nscd.c (print_version): Likewise.
78439 * debug/xtrace.sh: Likewise.
78440 * malloc/memusage.sh: Likewise.
78441 * malloc/mtrace.pl: Likewise.
78442 * debug/catchsegv.sh: Likewise.
78443
78444 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78445
78446 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78447 pure attribute.
78448
78449 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78450
78451 [BZ #13533]
78452 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78453 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78454 transformations.
78455 * iconv/gconv_int.h: Likewise.
78456 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78457 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78458 from libc for GLIBC_2.16.
78459 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78460 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78461 * wcsmbs/uchar.h: Really define mbstate_t.
78462 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78463 * wcsmbs/c16rtomb.c: New file.
78464 * wcsmbs/mbrtoc16.c: New file.
78465 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78466 for C/POSIX locale.
78467 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78468 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78469
78470 * wcsmbs/wchar.h: Add missing __restrict.
78471
78472 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78473
78474 [BZ #13532]
78475 * time/Makefile (routines): Add timespec_get.
78476 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78477 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78478 timespec for ISO C11.
78479 * time/timespec_get.c: New file.
78480 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78481 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78482
78483 [BZ #13531]
78484 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78485 * stdlib/stdlib.h: Declare aligned_alloc.
78486 * Versions.def: Add GLIBC_2.16 for libc.
78487 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78488
78489 [BZ 13527]
78490 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78491 ISO C11.
78492
78493 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78494 code.
78495
78496 [BZ #13528]
78497 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78498
78499 [BZ #13529]
78500 * assert/assert.h (static_assert): Define.
78501
78502 * version.h: Update for 2.16 development version.
78503
78504 [BZ #13526]
78505 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78506 _ISOC11_SOURCE.
78507
78508 * version.h (RELEASE): Bump for 2.15 release.
78509 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78510
78511 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78512 Patch by Marek Polacek <mpolacek@redhat.com>.
78513
78514 * bits/byteswap.h: Protect long long constants with __extension__.
78515 * sysdeps/i386/bits/byteswap.h: Likewise.
78516 * sysdeps/ia64/bits/byteswap.h: Likewise.
78517 * sysdeps/s390/bits/byteswap.h: Likewise.
78518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78519
78520 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78521
78522 [BZ #13540]
78523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78524 destination buffer.
78525 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78526
78527 2011-12-23 Marek Polacek <polacek@redhat.com>
78528
78529 * elf/dl-addr.c (determine_info): Add inline keyword.
78530 * elf/tst-auditmod4b.c (check_avx): Likewise.
78531 * elf/tst-auditmod6b.c (check_avx): Likewise.
78532 * elf/tst-auditmod6c.c (check_avx): Likewise.
78533 * elf/tst-auditmod7b.c (check_avx): Likewise.
78534
78535 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78536
78537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78538 !__SSE_MATH__.
78539
78540 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78541
78542 [BZ #13540]
78543 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78544 processing for last bytes.
78545
78546 2011-08-06 Bruno Haible <bruno@clisp.org>
78547
78548 [BZ #13061]
78549 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78550 U+0385, not to U+1FEE.
78551
78552 [BZ #13062]
78553 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78554 entry for U+00A5 U+0301.
78555
78556 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78557
78558 [BZ #13166]
78559 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78560 buffer for the output is too small.
78561
78562 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78563 optimization.
78564
78565 [BZ #13185]
78566 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78567 SSE flags if possible.
78568
78569 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78570
78571 [BZ #13540]
78572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78573 processing for last bytes.
78574
78575 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78576
78577 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78578 (syscall-list-default-options, syscall-list-default-condition)
78579 (syscall-list-includes): Define.
78580 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78581 list of ABIs and options and #if conditions for each ABI. Do not
78582 handle common syscalls between ABIs specially.
78583 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78584 Remove.
78585 (syscall-list-variants, syscall-list-32bit-options)
78586 (syscall-list-32bit-condition, syscall-list-64bit-options)
78587 (syscall-list-64bit-condition): Define.
78588 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78589 (syscall-list-variants, syscall-list-32bit-options)
78590 (syscall-list-32bit-condition, syscall-list-64bit-options)
78591 (syscall-list-64bit-condition): Define.
78592 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78593 Remove.
78594 (syscall-list-variants, syscall-list-32bit-options)
78595 (syscall-list-32bit-condition, syscall-list-64bit-options)
78596 (syscall-list-64bit-condition): Define.
78597 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78598 Remove.
78599 (syscall-list-variants, syscall-list-32bit-options)
78600 (syscall-list-32bit-condition, syscall-list-64bit-options)
78601 (syscall-list-64bit-condition): Define.
78602
78603 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78604
78605 * locale/iso-639.def: Add brx entry.
78606
78607 [BZ #13328]
78608 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78609 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78610
78611 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78612 __feraiseexcept_renamed.
78613
78614 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78615
78616 [BZ #13538]
78617 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78618 EPOLLET with unsigned values.
78619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78621
78622 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78623 to large cancellation.
78624 * math/s_cacoshf.c: Likewise.
78625 * math/s_cacoshl.c: Likewise.
78626
78627 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78628
78629 [BZ #13305]
78630 [BZ #12786]
78631 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78632 * math/s_cacoshf.c: Likewise.
78633 * math/s_cacoshl.c: Likewise.
78634
78635 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78636
78637 [BZ #13439]
78638 * iconv/gconv.h: Define __GCONV_SWAP.
78639 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78640 * iconvdata/utf-16.c: Likewise.
78641 * iconvdata/utf-32.c: Likewise.
78642
78643 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78644
78645 [BZ #13524]
78646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78647 numerator after shifting it by one limb.
78648
78649 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78650
78651 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78652 under [__USE_EXTERN_INLINES].
78653
78654 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78655
78656 [BZ #13446]
78657 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78658
78659 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78660
78661 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78662 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78663 optimized code.
78664 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78666 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78667 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78668 for strncasecmp/strncasecmp_l compilation.
78669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78670 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78671
78672 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78673
78674 [BZ #13484]
78675 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78676 of __asm__.
78677
78678 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78679
78680 [BZ #13506]
78681 * time/tzfile.c (__tzfile_read): Check values from file header.
78682
78683 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78684
78685 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78686 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78687 * powerpc/powerpc32/dl-start.S: Likewise.
78688 * powerpc/powerpc32/elf/start.S: Likewise.
78689 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78690 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78691 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78692 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78693 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78694 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78695 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78696 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78697 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78698 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78699 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78700 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78701 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78702 * powerpc/powerpc32/memset.S: Likewise.
78703 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78704 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78705 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78706 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78707 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78708 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78709 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78710 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78711 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78712 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78713 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78714 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78715 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78716
78717 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78718
78719 * math/libm-test.inc: Added more nearbyint tests.
78720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78724
78725 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78726
78727 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78728 FD_CLOEXEC.
78729
78730 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78731
78732 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78733 Add wcscpy-ssse3 wcscpy-c.
78734 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78735 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78736 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78737 * sysdeps/x86_64/wcschr.S: New file.
78738 * sysdeps/x86_64/wcsrchr.S: New file.
78739 * string/test-strcmp.c: Remove checking of wcscmp function for
78740 wrong alignments.
78741 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78742 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78743 wcsrchr-sse2 wcsrchr-c.
78744 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78745 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78746 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78747 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78748 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78749 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78750 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78751 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78752 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78753 * wcsmbc/wcschr.c (WCSCHR): New macro.
78754
78755 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78756
78757 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78758 * wcsmbs/test-wcsrchr.c: New file.
78759 * string/test-strrchr.c: Add wcsrchr support.
78760 (WIDE): New macro.
78761 * wcsmbs/test-wcscpy.c: New file.
78762 * string/test-strcpy.c: Add wcscpy support.
78763 (WIDE): New macro.
78764
78765 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78766
78767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78768 the inner loop.
78769
78770 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78771
78772 [BZ #13472]
78773 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78774
78775 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78776
78777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78778 Minor optimizations.
78779
78780 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78781 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78782 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78783
78784 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78785
78786 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78787 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78788 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78789 for gcc to avoid warnings.
78790 * inet/Makefile (tests): Add tst-checks.
78791 * inet/tst-checks.c: New file.
78792
78793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78794 warning.
78795
78796 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78797 __wmemcmp_sse2.
78798
78799 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78800 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78801
78802 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78803
78804 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78805
78806 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78807 problem.
78808
78809 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78810
78811 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78812
78813 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78814 conditional on GCC version.
78815 (__arch_compare_and_exchange_val_8_acq)
78816 (__arch_compare_and_exchange_val_16_acq)
78817 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78818 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78819 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78820
78821 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78822
78823 * sysdeps/sh/backtrace.c: New file.
78824
78825 2011-12-02 Andreas Schwab <schwab@redhat.com>
78826
78827 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78828 parenthesis.
78829
78830 2011-12-01 Andreas Schwab <schwab@redhat.com>
78831
78832 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78833 falling back to utime.
78834
78835 2011-11-30 Andreas Schwab <schwab@redhat.com>
78836
78837 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78838 expectations for float.
78839
78840 2011-11-29 Andreas Schwab <schwab@redhat.com>
78841
78842 * locale/weight.h (findidx): Add parameter len.
78843 * locale/weightwc.h (findidx): Likewise.
78844 * posix/fnmatch_loop.c (FCT): Adjust caller.
78845 * posix/regcomp.c (build_equiv_class): Likewise.
78846 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78847 * posix/regexec.c (check_node_accept_bytes): Likewise.
78848 * string/strcoll_l.c (STRCOLL): Likewise.
78849 * string/strxfrm_l.c (STRXFRM): Likewise.
78850
78851 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78852
78853 * Makefile.in: Remove CVSOPT handling.
78854 * configure.in: Remove use of AC_REVISION.
78855 * iconvdata/Makefile (distribute): No need to filter out CVS.
78856 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78857 handling.
78858
78859 2011-11-16 Andreas Schwab <schwab@redhat.com>
78860
78861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78862 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78863 [USE_AS_STRNCASECMP_L]: Likewise.
78864 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78865 NO_TLS_DIRECT_SEG_REFS.
78866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78867 Fix argument offsets for non-PIC.
78868 [USE_AS_STRNCASECMP_L]: Likewise.
78869 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78870 NO_TLS_DIRECT_SEG_REFS.
78871
78872 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78873
78874 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78875 O_CLOEXEC.
78876 * locale/loadlocale.c (_nl_load_locale): Likewise.
78877
78878 2011-11-15 Andreas Schwab <schwab@redhat.com>
78879
78880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78881 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78883 (SYSCALL_GETTIME): Set errno on error.
78884
78885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78886 count references to noai6ai_cached.
78887
78888 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78889
78890 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78891
78892 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78893 FD_CLOEXEC for /proc/self/maps.
78894
78895 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78896 FD_CLOEXEC for /proc/meminfo.
78897
78898 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78899 gai.conf.
78900
78901 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78902 FD_CLOEXEC for given file.
78903
78904 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78905
78906 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78907 FD_CLOEXEC for /etc/hosts.
78908 (_gethtent): Likewise.
78909
78910 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78911
78912 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78913 cancellation and set FD_CLOEXEC for /etc/netgroup.
78914
78915 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78916 reading /etc/publickey.
78917
78918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78919 allow cancellation when reading /etc/group.
78920
78921 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78922 cancellation.
78923 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78924
78925 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78926 when using data file.
78927
78928 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78929
78930 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78931 (write_nis_obj): Use "c" and "e" in fopen.
78932
78933 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78934
78935 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78936
78937 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78938
78939 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78940
78941 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78942 locale.alias.
78943
78944 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78945
78946 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78947
78948 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78949
78950 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78951 file parsing and set FD_CLOEXEC.
78952
78953 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78954
78955 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78956
78957 2011-11-14 Andreas Schwab <schwab@redhat.com>
78958
78959 * malloc/arena.c (arena_get2): Don't call reused_arena when
78960 _int_new_arena failed.
78961
78962 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78963
78964 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78965 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78970 to compile strcasecmp and strncasecmp.
78971 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78972 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78973
78974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78975
78976 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78977
78978 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78979 locale-defines.sym to gen-as-const-headers.
78980 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78981 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78983 to compile strcasecmp and strncasecmp.
78984 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78985 strcasecmp_l and strncasecmp_l.
78986 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78987 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78988 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78989 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78990 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78991 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78992 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78993 * sysdeps/i386/i686/multiarch/strncase.S: New file.
78994 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78995 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78996 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78997
78998 2011-11-12 Ulrich Drepper <drepper@gmail.com>
78999
79000 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79001 result of SYSDEP_GETTIME_CPU to retval.
79002 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79003 parameter list to macro. Remove trailing semicolon. Adjust users.
79004
79005 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79006 variable.
79007
79008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79009 mantissa words.
79010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79011
79012 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79013 from unused variable.
79014
79015 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79016 DWARF definitions.
79017 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79018 for assembling.
79019
79020 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79021 over namespaces.
79022
79023 * sunrpc/rpc_prot.c (rejected): Fix case value.
79024
79025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79026 unsigned long long int to avoid warnings in shift.
79027
79028 * posix/regex_internal.c (re_string_reconstruct): Actually use result
79029 of use of trans.
79030 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79031 variable tmp.
79032
79033 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79034 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79035 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79036
79037 * nis/nis_table.c (nis_list): Use variable of correct type for
79038 result of __follow_path call.
79039
79040 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79041
79042 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79043 of math functions ceil, trunc, floor, round, and sqrt, when
79044 avaliable on the platform.
79045 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79046 name clash.
79047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79048 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79049 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79050
79051 2011-10-30 Marek Polacek <mpolacek@redhat.com>
79052
79053 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79054 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79055
79056 2011-11-11 Roland McGrath <roland@hack.frob.com>
79057
79058 * include/unistd.h: Fix __readlink return type.
79059 Reported by Chris Metcalf <cmetcalf@tilera.com>.
79060
79061 2011-11-11 Ulrich Drepper <drepper@gmail.com>
79062
79063 * stdlib/ucontext.h: Undo last change for makecontext.
79064
79065 2011-11-11 Andreas Schwab <schwab@redhat.com>
79066
79067 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79068
79069 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79070 * setjmp/setjmp.h: Mark functions as non-leaf.
79071 * setjmp/bits/setjmp2.h: Likewise.
79072 * stdlib/ucontext.h: Likewise.
79073
79074 2011-11-10 Andreas Schwab <schwab@redhat.com>
79075
79076 * malloc/arena.c (_int_new_arena): Don't increment narenas.
79077 (reused_arena): Don't check arena limit.
79078 (arena_get2): Atomically check arena limit.
79079
79080 2011-11-08 Ulrich Drepper <drepper@gmail.com>
79081
79082 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79083 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79084
79085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79086 instructions.
79087
79088 2011-11-07 Andreas Schwab <schwab@redhat.com>
79089
79090 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79091 handler when locking.
79092
79093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79094 Fix size of allocated buffer.
79095
79096 2011-11-04 Andreas Schwab <schwab@redhat.com>
79097
79098 [BZ #10103]
79099 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79100 declarations for long double functions.
79101 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79102
79103 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79104
79105 2011-11-03 Andreas Schwab <schwab@redhat.com>
79106
79107 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79108 installed.
79109
79110 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79111 is disabled.
79112
79113 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79114
79115 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79116
79117 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79118
79119 * include/alloca.h (stackinfo_alloca_round): Define.
79120 (extend_alloca): Use it.
79121 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79122 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79123 here.
79124
79125 * scripts/check-local-headers.sh: Ignore libaudit.h.
79126
79127 * nscd/Makefile (extra-objs): Make recursively expanded.
79128
79129 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79130
79131 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79133
79134 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79135 * posix/tst-rfc3484-2.c: Likewise.
79136 * posix/tst-rfc3484-3.c: Likewise.
79137
79138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79139 process_vm_writev.
79140 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79141 process_vm_writev.
79142 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79143 process_vm_writev from libc using GLIBC_2.15 version.
79144
79145 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79146
79147 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79148
79149 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79150 stack usage.
79151
79152 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79153
79154 [BZ #13367]
79155 * nss/getent.c (initgroups_keys): Show error message in case no group
79156 names are given.
79157
79158 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79159 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79160 __bump_nl_timestamp.
79161 * nscd/connections (nscd_init): When host database is served open
79162 netlink socket and request notification about configuration changes.
79163 (main_loop_poll): Track netlink file descriptor and bump timestamp
79164 in case data becomes available.
79165 (main_loop_epoll): Likewise.
79166 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79167 (database_pers_head): Add extra_data fileds.
79168 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79169 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79170 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79171 Adjust caller.
79172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79173 in6ai data, call __free_in6ai.
79174 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79175 Add -DHAVE_NETLINK.
79176 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79177 interface information. Reuse previous data if netlink timestamp
79178 is not changed.
79179 (__bump_nl_timestamp): New function.
79180 (__free_in6ai): New function.
79181
79182 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79183
79184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79185 close_not_cancel_no_status here.
79186 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79187
79188 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79189
79190 [BZ #13276]
79191 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79192 return value.
79193
79194 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79195 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79196 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79197
79198 2011-07-03 Andreas Jaeger <aj@suse.de>
79199
79200 [BZ #10709]
79201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79202 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79203 * math/libm-test.inc (sin_test): Add test case.
79204
79205 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79206
79207 [BZ #13337]
79208 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79209 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79210
79211 * elf/chroot_canon.c (chroot_canon): Cleanups.
79212
79213 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79214
79215 [BZ #13335]
79216 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79218
79219 * string/test-strchr.c: Make usable for strchrnul testing.
79220 * string/test-strchrnul.c: New file.
79221 * string/Makefile (strop-tests): Add strchrnul.
79222
79223 * po/it.po: Update from translation team.
79224 * po/es.po: Likewise.
79225
79226 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79227
79228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79229 the three constants needed as parameters. Drop the others.
79230 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79231 __m128i_strloadu_tolower.
79232 Create and initialize variable zero and use it in all the places
79233 where _mm_setzero_si128 was used.
79234
79235 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79236 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79237 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79239 anymore.
79240 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79241 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79242 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79243 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79244 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79245 __mpranred, __mptan.
79246 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79247 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79248 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79249 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79250 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79251 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79254 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79255
79256 2011-10-28 Andreas Schwab <schwab@redhat.com>
79257
79258 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79259 redefine if SHARED.
79260 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79261
79262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79263 wide char related routines to wcsmbs subdir.
79264
79265 2011-10-27 Andreas Schwab <schwab@redhat.com>
79266
79267 [BZ #13344]
79268 * misc/sys/cdefs.h (__THROWNL): Define.
79269 * posix/unistd.h: Use __THREADNL instead of __THREAD
79270 for memory synchronization functions.
79271
79272 2011-10-26 Roland McGrath <roland@hack.frob.com>
79273
79274 [BZ #13349]
79275 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79276 doesn't exist.
79277 * manual/stdio.texi (Obstack Streams): Node removed.
79278
79279 2011-10-26 Andreas Schwab <schwab@redhat.com>
79280
79281 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79284
79285 * math/math_private.h (math_force_eval): Allow non-addressable
79286 arguments.
79287 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79288
79289 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79290
79291 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79292 file is not needed.
79293
79294 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79296 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79297 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79298 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79300 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79301 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79302 Add AVX variants.
79303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79307 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79308 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79309 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79313 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79314 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79316 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79317 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79318 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79320 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79321 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79322
79323 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79324 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79325
79326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79327 place. Use VEX encoding when compiling for AVX.
79328
79329 2011-10-25 Andreas Schwab <schwab@redhat.com>
79330
79331 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79332 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79333
79334 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79335
79336 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79337
79338 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79339 useless if() expression.
79340 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79351 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79352 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79354 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79359
79360 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79361
79362 2011-10-25 Andreas Schwab <schwab@redhat.com>
79363
79364 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79365 condition.
79366 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79367
79368 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79369
79370 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79371 .text section. Avoid duplicate constants.
79372 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79380 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79381 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79383 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79384 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79385 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79386 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79388 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79389 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79390 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79392 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79393 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79394 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79396 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79397 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79398 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79399 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79400 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79401 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79402 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79403 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79404 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79405 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79406 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79407 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79408 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79410 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79411 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79414 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79416 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79417
79418 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79419
79420 * sysdeps/x86_64/dla.h: Move to ...
79421 * sysdeps/x86_64/fpu/dla.h: ...here.
79422 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79423 situations. Use __builtin_fma only for gcc 4.6 and up.
79424
79425 * config.make.in: Add have-mfma4 entry.
79426 * configure.in: Substitute libc_cv_cc_fma4.
79427 * math/Makefile (dbl-only-routines): Add sincostab.
79428 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79429 Use __sincostab not sincos.
79430 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79431 name is a macro.
79432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79436 using __copysign.
79437 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79438 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79439 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79440 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79441 and __inv.
79442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79443 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79444 __copysign.
79445 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79446 define aliases when function name is a macro.
79447 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79448 sysdeps/ieee754/dbl-64/sincos.tbl.
79449 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79450 fma4-enabled routines.
79451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79452 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79453 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79454 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79460 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79461 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79462 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79463 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79474 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79478 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79480 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79481
79482 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79483 rename.
79484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79492
79493 2011-10-24 Andreas Schwab <schwab@redhat.com>
79494
79495 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79496
79497 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79498
79499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79500
79501 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79502 prediction.
79503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79504
79505 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79506 Remove unused variable magic_bits.
79507 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79508
79509 * string/strnlen.c: Define and use STRNLEN macro.
79510 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79511 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79513 * wcsmbs/wcslen.c: Define and use WCSLEN.
79514 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79515 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79516 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79517 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79518 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79519 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79520 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79521
79522 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79523
79524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79525 strnlen-sse2-no-bsf.
79526 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79528 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79529 Add strnlen support.
79530 (USE_AS_STRNLEN): New macro.
79531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79533 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79534 * sysdeps/x86_64/wcslen.S: New file.
79535
79536 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79537
79538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79539 XMM-moves are used for copying on small sizes.
79540
79541 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79542
79543 * wcsmbs/Makefile (strop-tests): Add wcschr.
79544 * wcsmbs/test-wcschr.c: New file.
79545 * string/test-strchr.c: Update.
79546 Add wcschr support.
79547 (WIDE): New macro.
79548
79549 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79550
79551 * wcsmbs/Makefile (strop-tests): Add wcslen.
79552 * wcsmbs/test-wcslen.c: New file.
79553 * string/test-strlen.c: Update.
79554 Add wcslen support.
79555 (WIDE): New macro.
79556
79557 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79558
79559 * po/it.po: Update from translation team.
79560
79561 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79562
79563 * sysdeps/x86_64/wcscmp.S: Update.
79564 Fix wrong comparison semantics.
79565 wcscmp shall use signed comparison not unsigned.
79566 Don't use substraction to avoid overflow bug.
79567 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79568 * wcsmbc/wcscmp.c: Likewise.
79569 * string/test-strcmp.c: Likewise.
79570 Add new tests to check cases with negative values.
79571
79572 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79573
79574 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79575 * sysdeps/x86_64/dla.h: ...here. New file.
79576 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79585
79586 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79587
79588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79589 __ynl_finite aliases.
79590
79591 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79592
79593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79594
79595 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79596 define DLA_FMA.
79597 [DLA_FMA] (EMULV): Use DLA_FMA.
79598 [DLA_FMA] (MUL12): Use EMULV.
79599 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79600 that are not needed.
79601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79608
79609 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79610
79611 * math/s_nan.c: Undef __nan.
79612 * math/s_nanf.c: Undef __nanf.
79613 * math/s_nanl.c: Undef __nanl.
79614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79615 "math_private.h".
79616
79617 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79618
79619 * math/s_catan.c: Add branch predictions.
79620 * math/s_catanf.c: Likewise.
79621 * math/s_catanh.c: Likewise.
79622 * math/s_catanhf.c: Likewise.
79623 * math/s_catanhl.c: Likewise.
79624 * math/s_catanl.c: Likewise.
79625 * math/s_cexp.c: Likewise.
79626 * math/s_cexpf.c: Likewise.
79627 * math/s_cexpl.c: Likewise.
79628 * math/s_clog.c: Likewise.
79629 * math/s_clog10.c: Likewise.
79630 * math/s_clog10f.c: Likewise.
79631 * math/s_clog10l.c: Likewise.
79632 * math/s_clogf.c: Likewise.
79633 * math/s_clogl.c: Likewise.
79634 * math/s_csqrt.c: Likewise.
79635 * math/s_csqrtf.c: Likewise.
79636 * math/s_csqrtl.c: Likewise.
79637 * math/s_ctanf.c: Likewise.
79638 * math/s_ctanh.c: Likewise.
79639 * math/s_ctanhf.c: Likewise.
79640 * math/s_ctanhl.c: Likewise.
79641 * math/s_ctanl.c: Likewise.
79642
79643 * math/math_private.h: Define __nan, __nanf, __nanl.
79644 * math/s_cacosh.c: Include <math_private.h>.
79645 * math/s_cacoshl.c: Likewise.
79646 * math/s_casinh.c: Likewise.
79647 * math/s_casinhf.c: Likewise.
79648 * math/s_casinhl.c: Likewise.
79649 * math/s_ccos.c: Rely entire on ccosh.
79650 * math/s_ccosf.c: Rely entire on ccoshf.
79651 * math/s_ccosl.c: Rely entirely on ccoshl.
79652 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79653 Remove tests for FE_INVALID.
79654 * math/s_ccoshf.c: Likewise.
79655 * math/s_ccoshl.c: Likewise.
79656 * math/s_csin.c: Likewise.
79657 * math/s_csinf.c: Likewise.
79658 * math/s_csinh.c Likewise.
79659 * math/s_csinhf.c: Likewise.
79660 * math/s_csinhl.c: Likewise.
79661 * math/s_csinl.c: Likewise.
79662 * math/s_ctan.c: Likewise.
79663 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79664 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79665 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79666
79667 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79668
79669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79670 compilation problems.
79671
79672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79673 __builtin_expect.
79674
79675 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79676
79677 * sysdeps/i386/configure.in: Test for -mfma4 option.
79678 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79679 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79680 COMMON_CPUID_INDEX_80000001.
79681 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79682 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79683 use it if FMA3 is not supported.
79684 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79685
79686 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79688
79689 2011-10-20 Andreas Schwab <schwab@redhat.com>
79690
79691 [BZ #12892]
79692 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79693 it would create a cycle with a link time dependency.
79694
79695 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79696
79697 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79698 instruction.
79699 * string/Makefile (strop-tests): Add rawmemchr.
79700 * string/test-rawmemchr.c: New file.
79701
79702 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79704 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79705 when compiling str{,n}casecmp and when AVX is available. Hook up
79706 new optimized code in initializers.
79707
79708 2011-10-19 Andreas Schwab <schwab@redhat.com>
79709
79710 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79711 __feraiseexcept instead of feraiseexcept.
79712
79713 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79714
79715 * math/math_private.h: Define defaults for libc_fetestexcept and
79716 libc_feupdateenv.
79717 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79718 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79720 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79722 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79723 libc_fetestexcept and libc_feupdateenv.
79724
79725 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79726 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79727 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79728 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79729 libc_feholdexcept_setround.
79730
79731 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79732 Add s_nearbyint-c and s_nearbyintf-c.
79733 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79734 nearbyintf inlines.
79735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79739
79740 * math/math_private.h: Define defaults for libc_fegetround,
79741 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79742 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79743 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79745 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79746 standard functions.
79747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79748 Remove comments and hacks for old compiler versions.
79749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79750 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79751 libc_feholdexceptl.
79752
79753 2011-10-18 Andreas Schwab <schwab@redhat.com>
79754
79755 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79756 (__feraiseexcept_renamed): Add __NTH.
79757 (feraiseexcept): Add __NTH. Rename local variables to fix
79758 namespace violations.
79759
79760 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79761
79762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79763
79764 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79765
79766 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79767 recently added interfaces.
79768 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79769
79770 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79771 about macro parameter expansion.
79772
79773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79774 __NO_MATH_INLINES is defined. Cleanups.
79775
79776 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79777 and __floorf is target has SSE4.1.
79778 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79779 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79780 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79782
79783 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79784 name.
79785 (floorf): Likewise.
79786
79787 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79788
79789 2011-10-17 Andreas Schwab <schwab@redhat.com>
79790
79791 * misc/sys/cdefs.h: Fix last change.
79792
79793 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79794 database lookup.
79795
79796 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79797
79798 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79799
79800 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79802 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79803 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79806 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79809 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79810 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79811 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79812 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79813 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79814 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79815 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79817 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79819 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79820 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79821 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79822
79823 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79824 ceil, ceilf, floor, floorf.
79825
79826 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79827 Perform IRELATIVE relocations last.
79828
79829 * elf/do-rel.h: Add another parameter nrelative, replacing the
79830 local variable with the same name. Change name of the function
79831 to end in Rel or Rela (uppercase).
79832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79833 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79834 elf_dynamic_do_##reloc function.
79835
79836 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79837
79838 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79839 is sufficient, at least on modern CPUs.
79840
79841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79842
79843 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79844 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79845
79846 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79847 __expl_finite.
79848 * math/bits/math-finite.h: Add entries for exp.
79849 * math/e_expl.c: Add __*_finite alias.
79850 * sysdeps/i386/fpu/e_exp.S: Likewise.
79851 * sysdeps/i386/fpu/e_expf.S: Likewise.
79852 * sysdeps/i386/fpu/e_expl.c: Likewise.
79853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79857 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79858 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79859 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79860
79861 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79862 is sufficient, at least on modern CPUs.
79863
79864 * ctype/ctype-info.c (__ctype_init): Define.
79865 * include/ctype.h (__ctype_init): Declare.
79866 (__ctype_b_loc): The variable is always initialized.
79867 (__ctype_toupper_loc): Likewise.
79868 (__ctype_tolower_loc): Likewise.
79869 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79870 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79871
79872 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79873
79874 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79875
79876 * configure.in: Also look in $cxxmachine/include for C++ system
79877 headers.
79878
79879 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79880
79881 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79882 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79883 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79884 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79886 (USE_AS_WMEMCMP): New macro.
79887 Fixing indents.
79888 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79889 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79890 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79891 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79893 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79894 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79895 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79896 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79897 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79898 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79899 (USE_AS_WMEMCMP): New macro.
79900 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79901 * sysdeps/string/test-memcmp.c: Update.
79902 Fix simple_wmemcmp.
79903 Add new tests.
79904 * wcsmbs/wmemcmp.c: Update.
79905 (WMEMCMP): New macro.
79906 Fix overflow bug.
79907
79908 2011-10-12 Andreas Jaeger <aj@suse.de>
79909
79910 [BZ #13268]
79911 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79912
79913 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79914
79915 * libio/iofwide.c (do_length): Avoid warning.
79916
79917 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79918
79919 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79920
79921 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79922
79923 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79924 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79925 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79926 * sysdeps/i386/i686/fpu/e_log.S: New file.
79927 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79928 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79929
79930 * ctype/ctype.h: Add support for inlined isXXX functions when
79931 compiling C++ code.
79932
79933 2011-10-14 Andreas Schwab <schwab@redhat.com>
79934
79935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79936
79937 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79938
79939 2011-10-13 Roland McGrath <roland@hack.frob.com>
79940
79941 [BZ #13291]
79942 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79943
79944 2011-10-13 Andreas Schwab <schwab@redhat.com>
79945
79946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79947 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79948 feraiseexcept.
79949
79950 * sysdeps/x86_64/memrchr.S: Check for zero size.
79951
79952 * string/stratcliff.c: Add memrchr tests.
79953
79954 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79955
79956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79957 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79958 rawmemchr-sse2 rawmemchr-sse2-bsf.
79959 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79960 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79961 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79962 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79963 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79964 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79965 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79966 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79969 * string/memrchr.c (MEMRCHR): New macro.
79970
79971 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79972
79973 Add integration with gcc's -ffinite-math-only and optimize wrapper
79974 functions in libm.
79975 * Versions.def: Define GLIBC_2.15 version for libm.
79976 * math/Makefile (headers): Add bits/math-finite.h.
79977 * math/bits/math-finite.h: New file.
79978 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79979 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79980 * math/e_acoshl.c: Add __*_finite alias.
79981 * math/e_acosl.c: Likewise.
79982 * math/e_asinl.c: Likewise.
79983 * math/e_atan2l.c: Likewise.
79984 * math/e_atanhl.c: Likewise.
79985 * math/e_coshl.c: Likewise.
79986 * math/e_exp10.c: Likewise.
79987 * math/e_exp10f.c: Likewise.
79988 * math/e_exp10l.c: Likewise.
79989 * math/e_exp2l.c: Likewise.
79990 * math/e_fmodl.c: Likewise.
79991 * math/e_gammal_r.c: Likewise.
79992 * math/e_hypotl.c: Likewise.
79993 * math/e_j0l.c: Likewise.
79994 * math/e_j1l.c: Likewise.
79995 * math/e_jnl.c: Likewise.
79996 * math/e_lgammal_r.c: Likewise.
79997 * math/e_log10l.c: Likewise.
79998 * math/e_log2l.c: Likewise.
79999 * math/e_logl.c: Likewise.
80000 * math/e_powl.c: Likewise.
80001 * math/e_sinhl.c: Likewise.
80002 * math/e_sqrtl.c: Likewise.
80003 * math/e_scalb.c: Completely rewritten and optimized.
80004 * math/e_scalbf.c: Likewise.
80005 * math/e_scalbl.c: Likewise.
80006 * math/w_acos.c: Likewise.
80007 * math/w_acosf.c: Likewise.
80008 * math/w_acosl.c: Likewise.
80009 * math/w_acosh.c: Likewise.
80010 * math/w_acoshf.c: Likewise.
80011 * math/w_acoshl.c: Likewise.
80012 * math/w_asin.c: Likewise.
80013 * math/w_asinf.c: Likewise.
80014 * math/w_asinl.c: Likewise.
80015 * math/w_atan2.c: Likewise.
80016 * math/w_atan2f.c: Likewise.
80017 * math/w_atan2l.c: Likewise.
80018 * math/w_atanh.c: Likewise.
80019 * math/w_atanhf.c: Likewise.
80020 * math/w_atanhl.c: Likewise.
80021 * math/w_exp10.c: Likewise.
80022 * math/w_exp10f.c: Likewise.
80023 * math/w_exp10l.c: Likewise.
80024 * math/w_fmod.c: Likewise.
80025 * math/w_fmodf.c: Likewise.
80026 * math/w_fmodl.c: Likewise.
80027 * math/w_j0.c: Likewise.
80028 * math/w_j0f.c: Likewise.
80029 * math/w_j0l.c: Likewise.
80030 * math/w_j1.c: Likewise.
80031 * math/w_j1f.c: Likewise.
80032 * math/w_j1l.c: Likewise.
80033 * math/w_jn.c: Likewise.
80034 * math/w_jnf.c: Likewise.
80035 * math/w_log.c: Likewise.
80036 * math/w_logf.c: Likewise.
80037 * math/w_logl.c: Likewise.
80038 * math/w_log10.c: Likewise.
80039 * math/w_log10f.c: Likewise.
80040 * math/w_log10l.c: Likewise.
80041 * math/w_log2.c: Likewise.
80042 * math/w_log2f.c: Likewise.
80043 * math/w_log2l.c: Likewise.
80044 * math/w_pow.c: Likewise.
80045 * math/w_powf.c: Likewise.
80046 * math/w_powl.c: Likewise.
80047 * math/w_remainder.c: Likewise.
80048 * math/w_remainderf.c: Likewise.
80049 * math/w_remainderl.c: Likewise.
80050 * math/w_scalb.c: Likewise.
80051 * math/w_scalbf.c: Likewise.
80052 * math/w_scalbl.c: Likewise.
80053 * math/w_sqrt.c: Likewise.
80054 * math/w_sqrtf.c: Likewise.
80055 * math/w_sqrtl.c: Likewise.
80056 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80057 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
80058 used.
80059 * math/math_private.h: Declare __kernel_standard_f.
80060 * math/w_cosh.c: Remove cruft and optimize a bit.
80061 * math/w_coshf.c: Likewise.
80062 * math/w_coshl.c: Likewise.
80063 * math/w_exp2.c: Likewise.
80064 * math/w_exp2f.c: Likewise.
80065 * math/w_exp2l.c: Likewise.
80066 * math/w_hypot.c: Likewise.
80067 * math/w_hypotf.c: Likewise.
80068 * math/w_hypotl.c: Likewise.
80069 * math/w_lgamma.c: Likewise.
80070 * math/w_lgamma_r.c: Likewise.
80071 * math/w_lgammaf.c: Likewise.
80072 * math/w_lgammaf_r.c: Likewise.
80073 * math/w_lgammal.c: Likewise.
80074 * math/w_lgammal_r.c: Likewise.
80075 * math/w_sinh.c: Likewise.
80076 * math/w_sinhf.c: Likewise.
80077 * math/w_sinhl.c: Likewise.
80078 * math/w_tgamma.c: Likewise.
80079 * math/w_tgammaf.c: Likewise.
80080 * math/w_tgammal.c: Likewise.
80081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80083 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80084 Minor optimizations. Pretty printing. Remove cruft.
80085 * sysdeps/i386/fpu/e_acosf.S: Likewise.
80086 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80087 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80089 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80090 * sysdeps/i386/fpu/e_asin.S: Likewise.
80091 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80092 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80093 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80094 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80095 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80096 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80097 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80098 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80099 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80100 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80101 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80102 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80103 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80104 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80105 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80106 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80107 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80108 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80109 * sysdeps/i386/fpu/e_log.S: Likewise.
80110 * sysdeps/i386/fpu/e_log10.S: Likewise.
80111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80113 * sysdeps/i386/fpu/e_log2.S: Likewise.
80114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80116 * sysdeps/i386/fpu/e_logf.S: Likewise.
80117 * sysdeps/i386/fpu/e_logl.S: Likewise.
80118 * sysdeps/i386/fpu/e_pow.S: Likewise.
80119 * sysdeps/i386/fpu/e_powf.S: Likewise.
80120 * sysdeps/i386/fpu/e_powl.S: Likewise.
80121 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80122 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80123 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80124 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80125 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80126 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80127 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80128 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80129 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80130 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80139 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80140 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80143 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80144 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80151 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80154 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80155 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80157 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80158 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80159 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80160 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80161 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80162 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80164 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80165 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80166 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80167 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80168 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80169 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80170 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80171 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80172 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80173 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80175 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80176 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80177 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80178 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80179 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80180 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80181 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80182 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80183 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80185 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80186 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80187 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80188 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80189 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80190 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80200 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80204 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80207 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80209 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80210 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80211 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80213 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80215 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80216 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80217 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80218 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80219 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80220 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80225 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80226 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80227 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80228 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80229 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80230 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80231 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80232 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80233 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80236 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80238 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80240 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80241 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80242 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80243 (__isnanf): Likewise.
80244 (__isinf_ns): Likewise.
80245 (__isinf_nsf): Likewise.
80246 (__finite): Likewise.
80247 (__finitef): Likewise.
80248 (__ieee754_sqrt): Define as macro.
80249 (__ieee754_sqrtf): Define as macro.
80250 (__ieee754_sqrtl): Define as macro.
80251 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80252 inlined copy.
80253 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80254 __FINITE_MATH_ONLY__ consistent.
80255 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80256
80257 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80258
80259 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80260 of rawmemchr.
80261
80262 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80263
80264 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80265
80266 * po/ja.po: Update from translation team.
80267
80268 2011-10-08 Roland McGrath <roland@hack.frob.com>
80269
80270 * locale/programs/locarchive.c (prepare_address_space): New function.
80271 (create_archive, enlarge_archive, open_archive): Use it.
80272
80273 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80274 inside [SHARED], where it is used.
80275
80276 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80277
80278 * nss/getent.c (netgroup_keys): Remove unused variable.
80279 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80280
80281 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80282
80283 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80284 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80288 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80289 * math/Makefile (libm-calls): Add s_isinf_ns.
80290 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80291 * math/multc3.c: Likewise.
80292 * math/s_casin.c: Likewise.
80293 * math/s_casinf.c: Likewise.
80294 * math/s_casinl.c: Likewise.
80295 * math/s_ccos.c: Likewise.
80296 * math/s_ccosf.c: Likewise.
80297 * math/s_ccosl.c: Likewise.
80298 * math/s_ctan.c: Likewise.
80299 * math/s_ctanf.c: Likewise.
80300 * math/s_ctanh.c: Likewise.
80301 * math/s_ctanhf.c: Likewise.
80302 * math/s_ctanhl.c: Likewise.
80303 * math/s_ctanl.c: Likewise.
80304 * math/w_fmod.c: Likewise.
80305 * math/w_fmodf.c: Likewise.
80306 * math/w_fmodl.c: Likewise.
80307 * math/w_remainder.c: Likewise.
80308 * math/w_remainderf.c: Likewise.
80309 * math/w_remainderl.c: Likewise.
80310 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80311 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80312 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80314 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80315 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80316 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80317 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80318
80319 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80320 of the number.
80321 * stdio-common/printf_fphex.c: Likewise.
80322 * stdio-common/printf_size.c: Likewise.
80323
80324 * math/e_exp10.c: Include math_private.h using <...> not "...".
80325 * math/e_exp10f.c: Likewise.
80326 * math/e_exp10l.c: Likewise.
80327 * math/e_exp2l.c: Likewise.
80328 * math/e_j0l.c: Likewise.
80329 * math/e_j1l.c: Likewise.
80330 * math/e_jnl.c: Likewise.
80331 * math/e_lgammal_r.c: Likewise.
80332 * math/e_rem_pio2l.c: Likewise.
80333 * math/e_scalb.c: Likewise.
80334 * math/e_scalbf.c: Likewise.
80335 * math/e_scalbl.c: Likewise.
80336 * math/k_cosl.c: Likewise.
80337 * math/k_sinl.c: Likewise.
80338 * math/k_tanl.c: Likewise.
80339 * math/s_cacoshf.c: Likewise.
80340 * math/s_catan.c: Likewise.
80341 * math/s_catanf.c: Likewise.
80342 * math/s_catanh.c: Likewise.
80343 * math/s_catanhf.c: Likewise.
80344 * math/s_catanhl.c: Likewise.
80345 * math/s_catanl.c: Likewise.
80346 * math/s_ccosh.c: Likewise.
80347 * math/s_ccoshf.c: Likewise.
80348 * math/s_ccoshl.c: Likewise.
80349 * math/s_cexp.c: Likewise.
80350 * math/s_cexpf.c: Likewise.
80351 * math/s_cexpl.c: Likewise.
80352 * math/s_clog.c: Likewise.
80353 * math/s_clog10.c: Likewise.
80354 * math/s_clog10f.c: Likewise.
80355 * math/s_clog10l.c: Likewise.
80356 * math/s_clogf.c: Likewise.
80357 * math/s_clogl.c: Likewise.
80358 * math/s_csin.c: Likewise.
80359 * math/s_csinf.c: Likewise.
80360 * math/s_csinh.c: Likewise.
80361 * math/s_csinhf.c: Likewise.
80362 * math/s_csinhl.c: Likewise.
80363 * math/s_csinl.c: Likewise.
80364 * math/s_csqrt.c: Likewise.
80365 * math/s_csqrtf.c: Likewise.
80366 * math/s_csqrtl.c: Likewise.
80367 * math/s_ctan.c: Likewise.
80368 * math/s_ctanf.c: Likewise.
80369 * math/s_ctanh.c: Likewise.
80370 * math/s_ctanhf.c: Likewise.
80371 * math/s_ctanhl.c: Likewise.
80372 * math/s_ctanl.c: Likewise.
80373 * math/s_ldexp.c: Likewise.
80374 * math/s_ldexpf.c: Likewise.
80375 * math/s_ldexpl.c: Likewise.
80376 * math/s_significand.c: Likewise.
80377 * math/s_significandf.c: Likewise.
80378 * math/s_significandl.c: Likewise.
80379 * math/w_acos.c: Likewise.
80380 * math/w_acosf.c: Likewise.
80381 * math/w_acosh.c: Likewise.
80382 * math/w_acoshf.c: Likewise.
80383 * math/w_acoshl.c: Likewise.
80384 * math/w_acosl.c: Likewise.
80385 * math/w_asin.c: Likewise.
80386 * math/w_asinf.c: Likewise.
80387 * math/w_asinl.c: Likewise.
80388 * math/w_atan2.c: Likewise.
80389 * math/w_atan2f.c: Likewise.
80390 * math/w_atan2l.c: Likewise.
80391 * math/w_atanh.c: Likewise.
80392 * math/w_atanhf.c: Likewise.
80393 * math/w_atanhl.c: Likewise.
80394 * math/w_cosh.c: Likewise.
80395 * math/w_coshf.c: Likewise.
80396 * math/w_coshl.c: Likewise.
80397 * math/w_dremf.c: Likewise.
80398 * math/w_exp10.c: Likewise.
80399 * math/w_exp10f.c: Likewise.
80400 * math/w_exp10l.c: Likewise.
80401 * math/w_exp2.c: Likewise.
80402 * math/w_exp2f.c: Likewise.
80403 * math/w_fmod.c: Likewise.
80404 * math/w_fmodf.c: Likewise.
80405 * math/w_fmodl.c: Likewise.
80406 * math/w_hypot.c: Likewise.
80407 * math/w_hypotf.c: Likewise.
80408 * math/w_hypotl.c: Likewise.
80409 * math/w_j0.c: Likewise.
80410 * math/w_j0f.c: Likewise.
80411 * math/w_j0l.c: Likewise.
80412 * math/w_j1.c: Likewise.
80413 * math/w_j1f.c: Likewise.
80414 * math/w_j1l.c: Likewise.
80415 * math/w_jn.c: Likewise.
80416 * math/w_jnf.c: Likewise.
80417 * math/w_jnl.c: Likewise.
80418 * math/w_lgamma.c: Likewise.
80419 * math/w_lgamma_r.c: Likewise.
80420 * math/w_lgammaf.c: Likewise.
80421 * math/w_lgammaf_r.c: Likewise.
80422 * math/w_lgammal.c: Likewise.
80423 * math/w_lgammal_r.c: Likewise.
80424 * math/w_log.c: Likewise.
80425 * math/w_log10.c: Likewise.
80426 * math/w_log10f.c: Likewise.
80427 * math/w_log10l.c: Likewise.
80428 * math/w_log2.c: Likewise.
80429 * math/w_log2f.c: Likewise.
80430 * math/w_log2l.c: Likewise.
80431 * math/w_logf.c: Likewise.
80432 * math/w_logl.c: Likewise.
80433 * math/w_pow.c: Likewise.
80434 * math/w_powf.c: Likewise.
80435 * math/w_powl.c: Likewise.
80436 * math/w_remainder.c: Likewise.
80437 * math/w_remainderf.c: Likewise.
80438 * math/w_remainderl.c: Likewise.
80439 * math/w_scalb.c: Likewise.
80440 * math/w_scalbf.c: Likewise.
80441 * math/w_scalbl.c: Likewise.
80442 * math/w_sinh.c: Likewise.
80443 * math/w_sinhf.c: Likewise.
80444 * math/w_sinhl.c: Likewise.
80445 * math/w_sqrt.c: Likewise.
80446 * math/w_sqrtf.c: Likewise.
80447 * math/w_sqrtl.c: Likewise.
80448 * math/w_tgamma.c: Likewise.
80449 * math/w_tgammaf.c: Likewise.
80450 * math/w_tgammal.c: Likewise.
80451
80452 * po/ja.po: Update from translation team.
80453
80454 2011-09-29 Andreas Jaeger <aj@suse.de>
80455
80456 [BZ #13179]
80457 * sunrpc/netname.c (netname2host): Fix logic.
80458
80459 [BZ #6779]
80460 [BZ #6783]
80461 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80462 correctly.
80463 * math/w_remainder.c (__remainder): Likewise.
80464 * math/w_remainderf.c (__remainderf): Likewise.
80465 * math/libm-test.inc (remainder_test): Add test cases.
80466
80467 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80468
80469 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80470 sdiv_qrnnd.
80471
80472 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80473
80474 * string/test-memcmp.c: Avoid unncessary #defines.
80475 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80476
80477 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80478
80479 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80480 Use new sse2 version for core i3 - i7 as it's faster
80481 than sse42 version.
80482 (bit_Prefer_PMINUB_for_stringop): New.
80483 * sysdeps/x86_64/rawmemchr.S: Update.
80484 Replace with faster SSE2 version.
80485 * sysdeps/x86_64/memrchr.S: New file.
80486 * sysdeps/x86_64/memchr.S: Update.
80487 Replace with faster SSE2 version.
80488
80489 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80490
80491 * elf/dl-load.c (lose): Add cast to avoid warning.
80492
80493 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80494
80495 * po/ca.po: Update from translation team.
80496
80497 * inet/getnetgrent_r.c: Hook up nscd.
80498 * nscd/Makefile (routines): Add nscd_netgroup.
80499 (nscd-modules): Add netgroupcache.
80500 (CFLAGS-netgroupcache.c): Define.
80501 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80502 (cache_search): Add const to second parameter.
80503 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80504 INNETGR.
80505 (dbs): Add netgrdb entry.
80506 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80507 (verify_persistent_db): Handle netgrdb.
80508 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80509 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80510 GETFDNETGR.
80511 (netgroup_response_header): Define.
80512 (innetgroup_response_header): Define.
80513 (datahead): Add netgroup_response_header and innetgroup_response_header
80514 elements.
80515 * nscd/nscd.conf: Add entries for netgroup cache.
80516 * nscd/nscd.h (dbtype): Add netgrdb.
80517 (_PATH_NSCD_NETGROUP_DB): Define.
80518 (netgroup_iov_disabled): Declare.
80519 (xmalloc, xcalloc, xrealloc): Move declarations here.
80520 (cache_search): Adjust prototype.
80521 Add netgroup-related prototypes.
80522 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80523 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80524 (__nscd_innetgr): Declare.
80525 * nscd/selinux.c (perms): Use access_vector_t as element type and
80526 add netgroup-related initializers.
80527 * nscd/netgroupcache.c: New file.
80528 * nscd/nscd_netgroup.c: New file.
80529 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80530 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80531 For four parameters use innetgr.
80532 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80533 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80534 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80535 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80536
80537 * nscd/connections.c (register_traced_file): Don't register file
80538 for disabled databases.
80539
80540 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80541
80542 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80543
80544 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80545 from tree and freeing node.
80546
80547 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80548
80549 * nss/nsswitch.c (__nss_database_lookup): Handle
80550 nss_parse_service_list out of memory case.
80551
80552 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80553
80554 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80555 out of memory case.
80556
80557 2011-10-04 Andreas Schwab <schwab@redhat.com>
80558
80559 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80560 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80561 pass it down.
80562 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80563 elf_machine_rela, elf_machine_lazy_rel.
80564 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80565 (ELF_DYNAMIC_DO_REL): Likewise.
80566 (ELF_DYNAMIC_DO_RELA): Likewise.
80567 (ELF_DYNAMIC_RELOCATE): Likewise.
80568 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80569 to ELF_DYNAMIC_DO_REL.
80570 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80571 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80572 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80573 elf_machine_rela.
80574 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80575 skip_ifunc, don't call ifunc function if non-zero.
80576 (elf_machine_rela): Likewise.
80577 (elf_machine_lazy_rel): Likewise.
80578 (elf_machine_lazy_rela): Likewise.
80579 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80580 (elf_machine_lazy_rel): Likewise.
80581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80582 Likewise.
80583 (elf_machine_lazy_rel): Likewise.
80584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80585 Likewise.
80586 (elf_machine_lazy_rel): Likewise.
80587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80588 (elf_machine_lazy_rel): Likewise.
80589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80590 (elf_machine_lazy_rel): Likewise.
80591 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80592 (elf_machine_lazy_rel): Likewise.
80593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80594 (elf_machine_lazy_rel): Likewise.
80595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80596 (elf_machine_lazy_rel): Likewise.
80597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80598 (elf_machine_lazy_rel): Likewise.
80599
80600 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80601
80602 * nss/nss_files/files-init.c (_nss_files_init): Use static
80603 initialization for all the *_traced_file variables.
80604
80605 2011-09-28 Andreas Schwab <schwab@redhat.com>
80606
80607 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80608
80609 2011-09-27 Roland McGrath <roland@hack.frob.com>
80610
80611 [BZ #13226]
80612 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80613
80614 2011-09-27 Andreas Schwab <schwab@redhat.com>
80615
80616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80617 Reread the line before reparsing it.
80618
80619 2011-09-26 Andreas Schwab <schwab@redhat.com>
80620
80621 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80622
80623 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80624 Maxim Kuvyrkov <maxim@codesourcery.com>
80625 Joseph Myers <joseph@codesourcery.com>
80626
80627 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80628 if needed for __stack_chk_guard.
80629
80630 2011-09-19 Roland McGrath <roland@hack.frob.com>
80631
80632 * sysdeps/posix/spawni.c (script_execute): Always define it.
80633 It will be optimized away if unused.
80634 (maybe_script_execute): New function.
80635 (__spawni): Call it.
80636
80637 * Makerules: Don't include tls.make.
80638 (config-tls): Always set to thread.
80639 * tls.make.c: File removed.
80640
80641 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80642
80643 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80644 * config.make.in (CPPFLAGS-config): New substituted variable.
80645
80646 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80647
80648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80649
80650 [BZ #13192]
80651 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80652 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80653
80654 2011-09-15 Roland McGrath <roland@hack.frob.com>
80655
80656 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80657 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80659 (CALL_FAIL): Likewise.
80660 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80661 (CALL_FAIL): Macro removed.
80662 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80663
80664 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80665
80666 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80667 for __FINITE_MATH_ONLY__ == 1.
80668
80669 2011-09-15 Andreas Schwab <schwab@redhat.com>
80670
80671 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80672 __ieee754_sqrt instead of sqrt.
80673 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80674 __ieee754_sqrtf instead of sqrtf.
80675 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80676 __floorf instead of floorf.
80677 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80678 __floorf, __truncf instead of floorf, truncf.
80679
80680 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80681
80682 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80683
80684 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80685 __extern_always_inline.
80686 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80687 32-bit.
80688
80689 2011-09-14 Andreas Schwab <schwab@redhat.com>
80690
80691 * elf/rtld.c (dl_main): Also relocate in dependency order when
80692 doing symbol dependency testing.
80693
80694 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80695
80696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80697 Always define `refsym'.
80698
80699 2011-09-13 Andreas Schwab <schwab@redhat.com>
80700
80701 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80702 (__FD_ELT): Renamed from __FDELT.
80703 * misc/bits/select2.h (__FD_ELT): Likewise.
80704 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80705 __FD_MASK instead of __FDELT, __FDMASK.
80706 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80707 Likewise.
80708 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80709 Likewise.
80710
80711 * elf/Makefile (gen-ldd): Fix pattern.
80712
80713 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80714 (init_tls): Likewise.
80715
80716 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80717
80718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80719
80720 2011-09-12 Andreas Schwab <schwab@redhat.com>
80721
80722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80723 `struct cmsghdr *' instead of `void *'.
80724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80725 Likewise.
80726
80727 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80728
80729 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80730 if non-absolute.
80731 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80732 ldd_rewrite_script.
80733
80734 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80735
80736 * configure.in: Remove --with-tls option.
80737 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80738 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80739 out in case it is missing.
80740 * sysdeps/ia64/elf/configure.in: Likewise.
80741 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80742 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80743 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80744 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80745 * sysdeps/sh/elf/configure.in: Likewise.
80746 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80748 * sysdeps/x86_64/elf/configure.in: Likewise.
80749 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80750 * sysdeps/mach/hurd/tls.h: Likewise.
80751
80752 [BZ #13067]
80753 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80754
80755 [BZ #13090]
80756 * configure.in: Fix use of AC_INIT.
80757
80758 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80759
80760 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80761
80762 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80763 __set_errno.
80764 * malloc/hooks.c: Likewise.
80765
80766 [BZ #11929]
80767 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80768 variables statically.
80769 (narenas): Initialize.
80770 (list_lock): Initialize.
80771 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80772 initializtion of main_arena and list_lock. Small cleanups.
80773 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80774 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80775 Add initializers to main_arena and mp_.
80776 (malloc_state): Remove pagesize member. Change all users to use
80777 GLRO(dl_pagesize).
80778
80779 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80780 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80781 is always initialized.
80782
80783 * malloc/malloc.c: Removed unused configurations and dead code.
80784 * malloc/arena.c: Likewise.
80785 * malloc/hooks.c: Likewise.
80786 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80787
80788 * include/tls.h: Removed. USE___THREAD must always be defined.
80789 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80790 * elf/dl-libc.c: Likewise.
80791 * elf/dl-tsd.c: Likewise.
80792 * include/errno.h: Likewise.
80793 * include/netdb.h: Likewise.
80794 * include/resolv.h: Likewise.
80795 * inet/herrno-loc.c: Likewise.
80796 * inet/herrno.c: Likewise.
80797 * malloc/arena.c: Likewise.
80798 * malloc/hooks.c: Likewise.
80799 * malloc/malloc.c: Likewise.
80800 * resolv/res-state.c: Likewise.
80801 * resolv/res_libc.c: Likewise.
80802 * sysdeps/i386/dl-machine.h: Likewise.
80803 * sysdeps/ia64/dl-machine.h: Likewise.
80804 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80806 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80807 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80808 * sysdeps/sh/dl-machine.h: Likewise.
80809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80810 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80811 * sysdeps/unix/i386/sysdep.S: Likewise.
80812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80813 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80818 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80823 * sysdeps/x86_64/dl-machine.h: Likewise.
80824 * tls.make.c: Likewise.
80825
80826 * configure.in: Remove --with-__thread option. Make tests for
80827 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80828 tls_model attribute fail if no support is available. Remove
80829 USE_IN_LIBIO.
80830 * Makeconfig: Adjust for dropped configure option. All features are
80831 now mandatory.
80832 * Makerules: Likewise.
80833 * Versions.def: Likewise.
80834 * argp/argp-fmtstream.c: Likewise.
80835 * argp/argp-fmtstream.h: Likewise.
80836 * argp/argp-help.c: Likewise.
80837 * assert/assert.c: Likewise.
80838 * config.h.in: Likewise.
80839 * config.make.in: Likewise.
80840 * configure: Likewise.
80841 * configure.in: Likewise.
80842 * csu/Versions: Likewise.
80843 * csu/init.c: Likewise.
80844 * elf/tst-audit2.c: Likewise.
80845 * elf/tst-tls10.c: Likewise.
80846 * elf/tst-tls10.h: Likewise.
80847 * elf/tst-tls11.c: Likewise.
80848 * elf/tst-tls12.c: Likewise.
80849 * elf/tst-tls14.c: Likewise.
80850 * elf/tst-tlsmod11.c: Likewise.
80851 * elf/tst-tlsmod12.c: Likewise.
80852 * elf/tst-tlsmod13.c: Likewise.
80853 * elf/tst-tlsmod13a.c: Likewise.
80854 * elf/tst-tlsmod14a.c: Likewise.
80855 * elf/tst-tlsmod15b.c: Likewise.
80856 * elf/tst-tlsmod16a.c: Likewise.
80857 * elf/tst-tlsmod16b.c: Likewise.
80858 * elf/tst-tlsmod7.c: Likewise.
80859 * elf/tst-tlsmod8.c: Likewise.
80860 * elf/tst-tlsmod9.c: Likewise.
80861 * gmon/gmon.c: Likewise.
80862 * grp/fgetgrent_r.c: Likewise.
80863 * grp/putgrent.c: Likewise.
80864 * hurd/fopenport.c: Likewise.
80865 * include/libc-symbols.h: Likewise.
80866 * include/tls.h: Likewise.
80867 * intl/gettextP.h: Likewise.
80868 * intl/loadinfo.h: Likewise.
80869 * locale/global-locale.c: Likewise.
80870 * locale/localeinfo.h: Likewise.
80871 * mach/devstream.c: Likewise.
80872 * malloc/arena.c: Likewise.
80873 * malloc/set-freeres.c: Likewise.
80874 * misc/err.c: Likewise.
80875 * misc/getttyent.c: Likewise.
80876 * misc/mntent_r.c: Likewise.
80877 * posix/getopt.c: Likewise.
80878 * posix/wordexp.c: Likewise.
80879 * pwd/fgetpwent_r.c: Likewise.
80880 * resolv/Versions: Likewise.
80881 * resolv/res_hconf.c: Likewise.
80882 * shadow/fgetspent_r.c: Likewise.
80883 * shadow/putspent.c: Likewise.
80884 * stdio-common/printf_fphex.c: Likewise.
80885 * stdio-common/tmpfile.c: Likewise.
80886 * stdlib/abort.c: Likewise.
80887 * stdlib/fmtmsg.c: Likewise.
80888 * sunrpc/auth_unix.c: Likewise.
80889 * sunrpc/clnt_perr.c: Likewise.
80890 * sunrpc/clnt_tcp.c: Likewise.
80891 * sunrpc/clnt_udp.c: Likewise.
80892 * sunrpc/clnt_unix.c: Likewise.
80893 * sunrpc/openchild.c: Likewise.
80894 * sunrpc/svc_simple.c: Likewise.
80895 * sunrpc/svc_tcp.c: Likewise.
80896 * sunrpc/svc_udp.c: Likewise.
80897 * sunrpc/svc_unix.c: Likewise.
80898 * sunrpc/xdr.c: Likewise.
80899 * sunrpc/xdr_array.c: Likewise.
80900 * sunrpc/xdr_rec.c: Likewise.
80901 * sunrpc/xdr_ref.c: Likewise.
80902 * sunrpc/xdr_stdio.c: Likewise.
80903
80904 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80905
80906 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80907
80908 2011-07-03 Andreas Jaeger <aj@suse.de>
80909
80910 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80911 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80912 regenerate with gen-libm-tests.pl.
80913
80914 2010-05-12 Petr Baudis <pasky@suse.cz>
80915
80916 [BZ #11589]
80917 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80918 around j0() zero points by switching to j1().
80919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80923
80924 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80925
80926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80927 instead of 0.
80928 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80929 instead of 0.
80930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80931 Patch in part by Pavel Roskin <proski@gnu.org>.
80932
80933 [BZ #13138]
80934 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80935 realloc.
80936 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80937 Free memory block if necessary.
80938
80939 [BZ #12847]
80940 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80941 be NULL. Don't lock in this case.
80942
80943 2011-09-09 Roland McGrath <roland@hack.frob.com>
80944
80945 * elf/elf.h (ELFOSABI_GNU): New macro.
80946 (ELFOSABI_LINUX): Define to that.
80947
80948 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80949
80950 * string/strncat.c (strncat): Undef the symbol in case it has been
80951 defined in bits/string.h.
80952
80953 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80954
80955 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80956
80957 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80958 link map.
80959
80960 2011-08-17 Andreas Jaeger <aj@suse.de>
80961
80962 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80963
80964 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80965 Ian Lance Taylor <iant@google.com>
80966
80967 * math/libm-test.inc (lround_test): New testcase.
80968 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80969
80970 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80971
80972 * Makefile: Remove support for automatic cvs check-ins.
80973 * Makerules: Likewise.
80974 * config.make.in: Likewise.
80975 * configure.in: Likewise.
80976 * intl/Makefile: Likewise.
80977 * locale/Makefile: Likewise.
80978 * po/Makefile: Likewise.
80979 * posix/Makefile: Likewise.
80980 * sysdeps/gnu/Makefile: Likewise.
80981 * sysdeps/mach/hurd/Makefile: Likewise.
80982 * sysdeps/sparc/sparc32/Makefile: Likewise.
80983
80984 [BZ #13118]
80985 * posix/Makefile (bug-regex32-ENV): Define.
80986 Patch by John Stanley <jpsinthemix@verizon.net>.
80987
80988 * misc/Makefile (headers): Add bits/select2.h.
80989 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80990 * misc/bits/select2.h: New file.
80991 * include/bits/select2.h: New file.
80992 * debug/Makefile (routines): Add fdelt_chk.
80993 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80994 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80995 FD_ISSET.
80996 * debug/fdelt_chk.c: New file.
80997
80998 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
80999 * wcsmbs/test-wmemcmp.c: Likewise.
81000 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81001 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81002
81003 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81004
81005 * string/Makefile (strop-tests): Add memcmp.
81006 * string/test-wmemcmp.c: New file.
81007 * string/test-memcmp.c: Add wmemcmp support.
81008
81009 2011-09-08 Roland McGrath <roland@hack.frob.com>
81010
81011 [BZ #13153]
81012 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81013 2011-07-19 change.
81014
81015 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81016 garbage value in a __mach_port_mod_refs call in the cases of the
81017 task-self and thread-self ports.
81018
81019 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
81020
81021 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81022
81023 2011-09-08 Andreas Schwab <schwab@redhat.com>
81024
81025 * elf/dl-load.c (lose): Check for non-null L.
81026
81027 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81028
81029 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81030
81031 * elf/dl-libc.c (dlerror_run): Pass back error code from
81032 dl_catch_error.
81033
81034 [BZ #13123]
81035 * elf/dl-load.c (lose): Free l_origin if it is valid.
81036
81037 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81038 names.
81039 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81043 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81044 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81045
81046 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81047
81048 * sysdeps/powerpc/fpu/e_hypot.c: New file.
81049 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81052 * sysdeps/powerpc/fpu/k_cosf.c: New file.
81053 * sysdeps/powerpc/fpu/k_sinf.c: New file.
81054 * sysdeps/powerpc/fpu/s_cosf.c: New file.
81055 * sysdeps/powerpc/fpu/s_sinf.c: New file.
81056 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81057 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81058
81059 2011-08-15 Alan Modra <amodra@gmail.com>
81060
81061 [BZ #13092]
81062 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81063 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81064 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
81065 ppc_mcount to static-only-routines.
81066 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81067 __mcount_internal.
81068 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81069 __mcount_internal with usual JUMPTARGET. Remove useless nop.
81070
81071 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
81072
81073 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81074 for finite and infinity parameters.
81075
81076 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
81077
81078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81079 and add nop instructions for throughput optimization.
81080 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81081
81082 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
81083
81084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81085 aligned copy for power7 with vector-scalar instructions.
81086 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81087
81088 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81089
81090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81091 AVX check.
81092
81093 2011-09-07 Andreas Schwab <schwab@redhat.com>
81094
81095 [BZ #13144]
81096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81097 last change.
81098
81099 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81100
81101 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81102 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81103 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81104 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81105 clock_gettime.
81106
81107 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81108
81109 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81110 Forgot to demangle the pointer.
81111
81112 * sysdeps/i386/sysdep.h: Define atom_text_section.
81113 * sysdeps/x86_64/sysdep.h: Likewise.
81114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81115 section with atom_text_section.
81116 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81118 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81120 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81121
81122 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81123 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81124 already be defined. Change to take two parameters and don't assign
81125 result to variable. Adjust all users.
81126 Define INTERNAL_GETTIME if not already defined.
81127 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81128 call.
81129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81130 HAVE_CLOCK_GETTIME_VSYSCALL.
81131 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81132
81133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81134 gettimeofday vsyscall, just use time.
81135
81136 2011-09-06 Andreas Schwab <schwab@redhat.com>
81137
81138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81139 <errno.h>.
81140
81141 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81142
81143 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81144 syscall on x86-64.
81145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81146 syscall.
81147 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81149 syscall if possible.
81150
81151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81152
81153 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81154 e_ident. Don't pass to find_mapsXX.
81155 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81156
81157 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81158
81159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81160 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81161 * sysdeps/x86_64/multiarch/strchr.S: Update.
81162 Check bit_slow_BSF bit.
81163 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81164 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81165 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81166
81167 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81168
81169 [BZ #13134]
81170 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81171 before glibc 2.15.
81172 (tryshell): Define.
81173 (__spawni): Change last parameter to be flag. Test
81174 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81175 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81176 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81177 * posix/spawni.c: Likewise.
81178 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81179 * posix/spawnp.c: Likewise. Change normal version to use
81180 SPAWN_XFLAGS_USE_PATH.
81181 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81182 SPAWN_XFLAGS_TRY_SHELL.
81183
81184 [BZ #13150]
81185 * posix/glob.h: Remove gcc 1.x support.
81186
81187 [BZ #13068]
81188 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81189
81190 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81191
81192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81193 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81194 strrchr-sse2-bsf
81195 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81196 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81197 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81199 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81201
81202 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81203
81204 * sysdeps/x86_64/wcscmp.S: New file.
81205
81206 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81207 wcscmp-c wcscmp-sse2
81208 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81209 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81211 * wcsmbs/wcscmp.c: Allow renaming.
81212
81213 2011-09-05 David S. Miller <davem@davemloft.net>
81214
81215 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81216 stack slot, rather than the struct return pointer slot.
81217 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81218 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81220 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81221
81222 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81223
81224 * po/ja.po: Update from translation team.
81225
81226 [BZ #13144]
81227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81228 kernel in 64-bit binaries.
81229
81230 2011-09-01 David S. Miller <davem@davemloft.net>
81231
81232 * elf/elf.h (HWCAP_SPARC_*): Move to..
81233 * sysdeps/sparc/sysdep.h: this new file and add new values.
81234 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81235 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81236 _DL_HWCAP_COUNT to 24.
81237 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81238 entries.
81239 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81240 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81241 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81243 instead of magic constants.
81244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81245
81246 2011-08-31 David S. Miller <davem@davemloft.net>
81247
81248 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81250 Reimplement to do errno handling inline.
81251 (SYSCALL_ERROR_HANDLER): New macro.
81252 (__SYSCALL_STRING): Do not do errno handling in asm.
81253 (__CLONE_SYSCALL_STRING): Delete.
81254 (__INTERNAL_SYSCALL_STRING): Delete.
81255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81256 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81257 (PSEUDO): Reimplement to do errno handling inline.
81258 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81259 (SYSCALL_ERROR_HANDLER): New macro.
81260 (__SYSCALL_STRING): Do not do errno handling in asm.
81261 (__CLONE_SYSCALL_STRING): Delete.
81262 (__INTERNAL_SYSCALL_STRING): Delete.
81263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81264 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81265 i386.
81266 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81267 (inline_syscall*): Add 'err' argument.
81268 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81269 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81270 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81271 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81272
81273 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81275
81276 2011-08-30 Andreas Schwab <schwab@redhat.com>
81277
81278 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81279
81280 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81281
81282 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81283 directive.
81284
81285 2011-08-24 David S. Miller <davem@davemloft.net>
81286
81287 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81288
81289 2011-08-24 Andreas Schwab <schwab@redhat.com>
81290
81291 * elf/Makefile: Add rules to build and run unload8 test.
81292 * elf/unload8.c: New file.
81293 * elf/unload8mod1.c: New file.
81294 * elf/unload8mod1x.c: New file.
81295 * elf/unload8mod2.c: New file.
81296 * elf/unload8mod3.c: New file.
81297
81298 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81299 it wasn't used.
81300
81301 2011-08-23 David S. Miller <davem@davemloft.net>
81302
81303 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81304 subtract stack bias.
81305 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81306 %sp not %fp in calculations.
81307 (_JMPBUF_UNWINDS_ADJ): Likewise.
81308
81309 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81310 (aio_suspend): Call it to force an exception region around the
81311 AIO_MISC_WAIT() invocation.
81312
81313 2011-08-23 Andreas Schwab <schwab@redhat.com>
81314
81315 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81316 backslash.
81317
81318 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81319
81320 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81321 protection macro.
81322 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81323 and <dl-machine.h>.
81324 (Elf64_FuncDesc): Remove.
81325
81326 2011-08-22 David S. Miller <davem@davemloft.net>
81327
81328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81329 sigaltstack check, add missing cfi directives.
81330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81331 missing cfi directives, and sigaltstack handling.
81332
81333 2011-08-16 Andreas Schwab <schwab@redhat.com>
81334
81335 [BZ #11724]
81336 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81337 object is seen twice.
81338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81339
81340 * elf/Makefile (distribute): Add tst-initorder2.c.
81341 (tests): Add tst-initorder2.
81342 (modules-names): Add tst-initorder2a tst-initorder2b
81343 tst-initorder2c tst-initorder2d. Add rules to build them.
81344 ($(objpfx)tst-initorder2.out): New rule.
81345 * elf/tst-initorder2.c: New file.
81346 * elf/tst-initorder2.exp: New file.
81347
81348 2011-08-22 Andreas Schwab <schwab@redhat.com>
81349
81350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81351
81352 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81353 dependencies back to end of function.
81354
81355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81356 $(elfobjdir)/ld.so.
81357
81358 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81359
81360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81361 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81363 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81364 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81365 of __vdso_gettimeofday.
81366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81367 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81368 attribute_hidden.
81369 (_libc_vdso_platform_setup): Remove initialization of
81370 __vdso_gettimeofday and __vdso_time.
81371
81372 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81373
81374 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81375 and fgetc_unlocked.
81376 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81377 getc_unlocked.
81378
81379 * elf/dl-open.c (add_to_global): Report additions to the global scope
81380 for LD_DEBUG=scopes.
81381 (dl_open_worker): Also print scope of newly loaded dependencies.
81382 (_dl_show_scope): Indicate if there is no scope.
81383
81384 [BZ #13114]
81385 * stdio-common/Makefile (tests): Add bug24.
81386 * stdio-common/bug24.c: New file.
81387
81388 2011-08-19 Andreas Jaeger <aj@suse.de>
81389
81390 [BZ #13114]
81391 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81392 non-existant file when using close-on-exec mode.
81393
81394 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81395
81396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81397 the very first instruction.
81398
81399 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81400 the CFI state in the end.
81401 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81402 inclusion of dl-trampoline.h.
81403 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81404
81405 2011-08-19 Andreas Schwab <schwab@redhat.com>
81406
81407 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81408 expectations for long double.
81409
81410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81411 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81412
81413 2011-08-14 David S. Miller <davem@davemloft.net>
81414
81415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81416 artificual limit depends upon the system page size.
81417
81418 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81419
81420 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81421 * resolv/Makefile: Define CFLAGS-libresolv.
81422
81423 2011-08-17 Andreas Schwab <schwab@redhat.com>
81424
81425 * nss/makedb.c (compute_tables): Make variables used in nested
81426 function static.
81427
81428 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81429
81430 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81431 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81432 if buffer was too small.
81433
81434 * elf/pldd.c (main): Attach to all threads in the process.
81435 Rewrite /proc handling to use *at functions.
81436
81437 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81438
81439 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81440 specifies first scope to show.
81441 (dl_open_worker): Update callers. Move printing scope of new
81442 object to before the relocation.
81443 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81444 * sysdeps/generic/ldsodefs.h: Update declaration.
81445
81446 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81447 string for the scope number.
81448
81449 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81450
81451 * nscd/servicescache.c (cache_addserv): Make sure written is always
81452 initialized.
81453
81454 2011-08-14 Roland McGrath <roland@hack.frob.com>
81455
81456 * sysdeps/i386/i486/bits/atomic.h
81457 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81458 statement expression, so as to suppress "set but not used" warning.
81459 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81460
81461 * string/strncat.c (STRNCAT): Use prototype definition.
81462
81463 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81464 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81465 -Iprograms here.
81466 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81467 (localedef-modules): Add localedef.
81468 (locale-modules): Add locale.
81469
81470 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81471 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81472 to avoid a warning.
81473
81474 2011-08-14 David S. Miller <davem@davemloft.net>
81475
81476 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81477 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81478
81479 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81480
81481 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81482 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81483 * elf/rtld.c (dl_main): Set l_name of vDSO.
81484 Call _dl_show_scope when DL_DEBUG_SCOPES.
81485 (process_dl_debug): Recognize scopes flag and also set it for all.
81486 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81487 Declare _dl_show_scope.
81488
81489 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81490 (do_dlopen): Pass caller_dlopen to dl_open.
81491 (__libc_dlopen_mode): Initialize caller_dlopen.
81492
81493 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81494 of libc. Make tolower call locale-independent. Optimize a bit by
81495 using isdigit instead of isalnum.
81496 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81497
81498 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81499
81500 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81501 was a dependency or dynamically loaded.
81502
81503 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81504
81505 * intl/l10nflist.c: Allow architecture-specific pop function.
81506 * sysdeps/x86_64/l10nflist.c: New file.
81507
81508 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81509 classification.
81510
81511 2011-08-10 Andreas Schwab <schwab@redhat.com>
81512
81513 * include/dirent.h: Add libc_hidden_proto for scandirat and
81514 scandirat64. Don't declare __scandirat64.
81515 * dirent/scandirat.c: Add libc_hidden_def.
81516 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81517 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81518
81519 2011-08-10 David S. Miller <davem@davemloft.net>
81520
81521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81522 enum.
81523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81526
81527 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81528
81529 * Versions.def [libc]: Add GLIBC_2.15.
81530 * dirent/Makefile (routines): Add scandirat and scandirat64.
81531 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81532 GLIBC_2.15.
81533 * dirent/dirent.h: Declare scandirat and scandirat64.
81534 * dirent/scandirat.c: New file.
81535 * dirent/scandirat64.c: New file.
81536 * sysdeps/wordsize-64/scandirat.c: New file.
81537 * sysdeps/wordsize-64/scandirat64.c: New file.
81538 * dirent/opendir.c: Define opendirat.
81539 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81540 using scandirat.
81541 * dirent/scandir64.c: Adjust for scandir.c change.
81542 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81543 __scandirat64, and __scandir_cancel_handler.
81544 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81545 additional parameter and use openat instead of open (outside of ld.so).
81546 Add new __opendir as wrapper around __opendirat.
81547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81548 here without requiring old scandirat implementation.
81549
81550 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81551
81552 * dirent/scandir.c (cancel_handler): Renamed to
81553 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81554 defined. Adjust users.
81555 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81557
81558 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81559
81560 * string/test-string.h (IMPL): Use __STRING to expand name and then
81561 stringify it.
81562
81563 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81564 of cleanups.
81565
81566 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81567
81568 * string/Makefile: Update.
81569 (strop-tests): Append strncat.
81570 * string/test-wcscmp.c: New file.
81571 New comprehensive test for wcscmp.
81572 * string/test-strcmp.c: Update.
81573 (WIDE): New define.
81574
81575 2011-07-22 Andreas Schwab <schwab@redhat.com>
81576
81577 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81578 line.
81579
81580 2011-07-26 Andreas Schwab <schwab@redhat.com>
81581
81582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81583 encoding to ACE if AI_IDN.
81584
81585 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81586
81587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81588 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81589
81590 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81591
81592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81593 Fix overflow bug in strncat.
81594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81595
81596 * string/test-strncat.c: Update.
81597 Add new tests for checking overflow bugs.
81598
81599 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81600
81601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81602 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81603 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81604 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81605 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81606 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81607 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81608 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81609 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81610
81611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81612 (USE_AS_STRCAT): Define.
81613 Add strcat and strncat support.
81614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81615
81616 2011-07-25 Andreas Schwab <schwab@redhat.com>
81617
81618 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81619 __n bigger than INT_MAX+1.
81620 (__strncmp_g): Likewise.
81621
81622 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81623
81624 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81625 * libio/stido.h: Likewise.
81626
81627 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81628 (AF_NFC): Define.
81629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81630 (AF_NFC): Define.
81631
81632 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81637
81638 [BZ #13021]
81639 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81640 installed.
81641
81642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81643 typo.
81644 (_dl_x86_64_save_sse): Likewise.
81645
81646 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81647
81648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81649 OSXSAVE.
81650 (_dl_x86_64_save_sse): Likewise.
81651
81652 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81653
81654 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81655
81656 2011-07-21 Andreas Schwab <schwab@redhat.com>
81657
81658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81659 change.
81660 (_dl_x86_64_save_sse): Use correct AVX check.
81661
81662 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81663
81664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81665 bug in strncpy/strncat.
81666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81667
81668 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81669
81670 * string/tester.c (test_strcat): Add tests for different alignments
81671 of source and destination.
81672 (test_strncat): Likewise.
81673
81674 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81675
81676 [BZ #12852]
81677 * posix/glob.c (glob): Check passed in values before using them in
81678 expressions to avoid some overflows.
81679 (glob_in_dir): Likewise.
81680
81681 [BZ #13007]
81682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81683 check for AVX enablement so that we don't crash with old kernels and
81684 new hardware.
81685 * elf/tst-audit4.c: Add same checks here.
81686 * elf/tst-audit6.c: Likewise.
81687
81688 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81689
81690 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81691
81692 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81693
81694 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81695
81696 * po/cs.po: Update from translation team.
81697 * po/bg.po: Likewise.
81698
81699 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81700
81701 * misc/sys/cdefs.h: Add support for const attribute.
81702 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81703 to gnu_dev_{major,minor,makedev} functions.
81704
81705 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81706
81707 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81708
81709 2011-07-20 Andreas Schwab <schwab@redhat.com>
81710
81711 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81712 strlen results.
81713
81714 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81715
81716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81717 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81718 register in order to avoid conflicts with the soft frame pointer
81719 being held in r11 when necessary.
81720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81721 (INTERNAL_VSYSCALL_NCS): Likewise.
81722
81723 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81724
81725 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81726 * elf/dl-fini.c (_dl_fini): Adjust caller.
81727 * elf/dl-close.c (_dl_close_worker): Likewise.
81728 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81729
81730 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81731
81732 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81733 "aux_cache->nlibs < 0".
81734
81735 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81736 in the reload-count case.
81737
81738 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81739
81740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81741 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81742 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81743 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81744 * sysdeps/x86_64/multiarch/strcat.S: New file.
81745 * sysdeps/x86_64/multiarch/strncat.S: New file.
81746 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81747 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81748 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81749 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81751 (USE_AS_STRCAT): Define.
81752 Add strcat and strncat support.
81753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81755 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81756 * string/strncat.c: Update.
81757 (USE_AS_STRNCAT): Define.
81758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81759 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81760 and i7.
81761 * sysdeps/x86_64/multiarch/init-arch.h
81762 (bit_Prefer_PMINUB_for_stringop): New.
81763 (index_Prefer_PMINUB_for_stringop): Likewise.
81764 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81765 bit_Prefer_PMINUB_for_stringop.
81766
81767 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81768
81769 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81770 buffer64.
81771 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81772 of casting of buffer.
81773 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81774 buffer32 and buffer64.
81775 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81776 writes instead of casting of buffer.
81777 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81778 buffer32.
81779 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81780 casting of buffer.
81781
81782 2011-07-19 Andreas Schwab <schwab@redhat.com>
81783
81784 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81785
81786 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81787
81788 * nscd/nscd.c (termination_handler): Don't do anything for a database
81789 if it has not yet been initialized.
81790
81791 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81792
81793 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81794
81795 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81796
81797 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81798
81799 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81800
81801 * po/nl.po: Update from translation team.
81802 * po/sv.po: Likewise.
81803
81804 2011-07-16 Roland McGrath <roland@hack.frob.com>
81805
81806 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81807 now disallowed by GCC.
81808
81809 * configure.in (use-default-link): Default to yes if a test -shared
81810 link meets our qualifications.
81811 * configure: Regenerated.
81812
81813 * config.make.in (output-format): New variable.
81814 * configure.in: Check for ld --print-output-format support.
81815 * configure: Regenerated.
81816 * Makerules ($(common-objpfx)format.lds)
81817 [$(output-format) != unknown]: Just use $(output-format),
81818 instead of the linker-script munging.
81819
81820 2011-07-14 Roland McGrath <roland@hack.frob.com>
81821
81822 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81823 of $(common-objpfx)shlib.lds.
81824 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81825
81826 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81827 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81828
81829 * configure.in (-z relro check): Adjust test code to add a large
81830 writable data section after it.
81831 * configure: Regenerated.
81832
81833 2011-07-11 Roland McGrath <roland@hack.frob.com>
81834
81835 * configure.in (-z relro check): Fix test code to make the variable
81836 truly const.
81837 * configure: Regenerated.
81838
81839 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81840
81841 * nscd/nscd.h (struct traced_file): Define.
81842 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81843 elements. Add traced_files.
81844 (inotify_fd): Declare.
81845 (register_traced_file): Declare.
81846 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81847 (inotify_fd): Export.
81848 (resolv_conf_descr): Remove.
81849 (nscd_init): Move inotify descriptor creation to main.
81850 Don't register files for notification here.
81851 (register_traced_file): New function.
81852 (invalidate_cache): Don't use reset_res to determine whether to call
81853 res_init, go through the list of registered files.
81854 (main_loop_poll): The inotify descriptors are now stored in the
81855 structures for the traced files.
81856 (main_loop_epoll): Likewise.
81857 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81858 to __nss_disable_nscd.
81859 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81860 for a database anymore. Check the records for all the registered
81861 files instead.
81862 * nss/Makefile (libnss_files-routines): Add files-init.
81863 (libnss_db-routines): Add db-init.
81864 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81865 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81866 * nss/nss_db/db-init.c: New file.
81867 * nss/nss_files/files-init.c: New file.
81868 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81869 __nss_lookup_function.
81870 (__nss_lookup_function): Call nss_load_library.
81871 (nss_load_all_libraries): New function.
81872 (__nss_disable_nscd): Take parameter with callback function for files
81873 to register. Set is_nscd. Load all the DSOs for the NSS modules
81874 used for the cached services.
81875 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81876 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81877 options for features to all the files in nscd.
81878
81879 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81880
81881 2011-07-10 Roland McGrath <roland@hack.frob.com>
81882
81883 * csu/elf-init.c (__libc_csu_init): Comment typo.
81884
81885 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81886
81887 * po/pl.po: Update from translation team.
81888 * po/ja.po: Likewise.
81889 * po/ru.po: Likewise.
81890 * po/ko.po: Likewise.
81891 * po/fr.po: Likewise.
81892
81893 2011-07-09 Roland McGrath <roland@hack.frob.com>
81894
81895 * configure.in (.ctors/.dtors header and trailer check):
81896 Use an empirical test on a built program.
81897 * configure: Regenerated.
81898
81899 * configure.in (-z relro check): Use an empirical test on a built DSO.
81900 Detect, but do not require, on ia64.
81901 * configure: Regenerated.
81902
81903 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81904 Update tests that use readelf to use $READELF instead.
81905 * configure: Regenerated.
81906
81907 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81908
81909 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81910 if the result is not used.
81911
81912 2011-07-05 Andreas Jaeger <aj@suse.de>
81913
81914 [BZ#9696]
81915 * stdlib/tst-strtod.c: Add testcase.
81916
81917 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81918
81919 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81920 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81921 The latter has a higher limit. Take additional parameter to pass to
81922 the new function.
81923 (__pathconf): Pass file to __statfs_link_max.
81924 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81925 __statfs_link_max.
81926 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81927 __statfs_link_max.
81928
81929 [BZ #12868]
81930 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81931 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81932 Handle Lustre.
81933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81934 (__statfs_filesize_max): Likewise.
81935 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81936
81937 2011-07-05 Andreas Jaeger <aj@suse.de>
81938
81939 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81940
81941 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81942
81943 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81944 `status' variable.
81945 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81946 Likewise.
81947
81948 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81949
81950 * Makefile (strop-tests): Add strncat.
81951 * string/test-strncat.c: New file.
81952
81953 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81954
81955 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81956
81957 2011-06-21 Andreas Jaeger <aj@suse.de>
81958
81959 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81960 Copy rule from iconvdata/Makefile.
81961
81962 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81963
81964 [BZ #12922]
81965 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81966 but no long options are defined, just return 'W'.
81967
81968 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81969
81970 [BZ #9696]
81971 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81972
81973 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81974
81975 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81976 netgroups to read.
81977 (innetgr): Likewise.
81978
81979 2011-07-05 Roland McGrath <roland@hack.frob.com>
81980
81981 * config.make.in (install_root): Default to $(DESTDIR).
81982
81983 2011-07-05 Ulrich Drepper <drepper@gmail.com>
81984
81985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81986
81987 2011-07-02 Roland McGrath <roland@hack.frob.com>
81988
81989 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81990
81991 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81992 containing directory rather than embedding absolute directory names.
81993
81994 * scripts/check-local-headers.sh: Rewritten using awk.
81995 Match by word, not by line. Print error messages for matches.
81996 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81997
81998 * Makerules [shlib-lds-flags empty]:
81999 ($(common-objpfx)libc_pic.opts): New target.
82000 ($(common-objpfx)libc_pic.os.clean): New target.
82001 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82002
82003 * config.make.in (OBJCOPY): New variable.
82004 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82005 * configure: Regenerated.
82006
82007 * config.make.in (use-default-link): New variable.
82008 * configure.in (use_default_link): Grok --with-default-link to set it.
82009 * configure: Regenerated.
82010 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82011 (shlib-lds, shlib-lds-flags): Define to empty.
82012
82013 * Makerules (shlib-lds): New variable.
82014 (shlib-lds-flags): New variable.
82015 (build-shlib, build-moduile, build-module-asneeded): Use it.
82016 ($(common-objpfx)libc.so): Use $(shlib-lds).
82017 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82018 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82019
82020 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82021 DT_FLAGS/DT_FLAGS_1 with zero flags.
82022
82023 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82024 linker script munging.
82025
82026 2011-07-02 Ulrich Drepper <drepper@gmail.com>
82027
82028 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82029 as 128-bit value.
82030 * crypt/sha512.c (sha512_process_block): Perform total addition using
82031 128-bit if possible.
82032 (__sha512_finish_ctx): Likewise.
82033 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82034 as 64-bit value.
82035 * crypt/sha256.c (SWAP64): Define.
82036 (sha256_process_block): Perform total addition using 64-bit if
82037 possible.
82038 (__sha256_finish_ctx): Likewise.
82039
82040 2011-07-01 Ulrich Drepper <drepper@gmail.com>
82041
82042 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
82043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82044 * nscd/hstcache.c (cache_addhst): Likewise.
82045 * nscd/grpcache.c (cache_addgr): Likewise.
82046 * nscd/aicache.c (addhstaiX): Likewise.
82047 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82048
82049 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
82050
82051 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
82053 * nscd/hstcache.c (cache_addhst): Likewise.
82054 * nscd/grpcache.c (cache_addgr): Likewise.
82055 * nscd/aicache.c (addhstaiX): Likewise.
82056
82057 2011-07-01 Andreas Schwab <schwab@redhat.com>
82058
82059 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82060 domain only when needed.
82061
82062 2011-06-30 Andreas Schwab <schwab@redhat.com>
82063
82064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82065 is always restored.
82066
82067 2011-06-29 Ulrich Drepper <drepper@gmail.com>
82068
82069 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82070 are re-adding the entry.
82071 * nscd/servicescache.c (cache_addserv): Likewise.
82072
82073 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
82074
82075 * sysdeps/generic/dl-irel.h: fix protection against multiple
82076 inclusions.
82077 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82078
82079 2011-06-28 Ulrich Drepper <drepper@gmail.com>
82080
82081 [BZ #12935]
82082 * malloc/memusage.sh: Fix quoting in message.
82083 * debug/xtrace.sh: Likewise.
82084
82085 * configure.in: Remove support for --experimental-malloc option, make
82086 it the default.
82087 * config.make.in: Likewise.
82088 * malloc/Makefile: Likewise.
82089
82090 2011-06-27 Andreas Schwab <schwab@redhat.com>
82091
82092 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82093 two-byte characters.
82094
82095 2011-06-27 Roland McGrath <roland@hack.frob.com>
82096
82097 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82098 AC_CACHE_CHECK invocation.
82099 * configure: Regenerated.
82100
82101 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82102
82103 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82104
82105 [BZ #12350]
82106 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82107 bit from old_res_options.
82108
82109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82110
82111 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82112 value type for setfct.
82113
82114 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82115
82116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82117 __gettimeofday instead of gettimeofday.
82118
82119 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82120
82121 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82122
82123 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82124
82125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82126
82127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82128 info.
82129
82130 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82131
82132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82133 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82134 strcpy-sse2-unaligned strncpy-sse2-unaligned
82135 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82136 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82137 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82138 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82139 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82140 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82142 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82143 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82144 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82145 (STRCPY): Support SSE2 and SSSE3 versions.
82146
82147 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82148
82149 [BZ #12874]
82150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82151 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82152 kernels which artificially limit size of requests.
82153
82154 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82155
82156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82157 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82158 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82159 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82160 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82161 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82162 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82163 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82166 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82167 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82168 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82169 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82170 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82172 Enable unaligned load optimization for Intel Core i3, i5 and i7
82173 processors.
82174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82175 Define.
82176 (index_Fast_Unaligned_Load): Define.
82177 (HAS_FAST_UNALIGNED_LOAD): Define.
82178
82179 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82180
82181 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82182
82183 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82184
82185 [BZ #12907]
82186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82187 until it is clear that the information is realy needed.
82188 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82189
82190 2011-06-22 Andreas Schwab <schwab@redhat.com>
82191
82192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82193
82194 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82195
82196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82197 /sys/devices/system/cpu/online if it is usable.
82198
82199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82200 reading the information from the /proc filesystem to once a second.
82201
82202 2011-06-21 Andreas Jaeger <aj@suse.de>
82203
82204 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82205 NULL after inclusion of kernel headers.
82206
82207 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82208
82209 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82210 calls to internal_setent.
82211
82212 [BZ #12885]
82213 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82214 addresses using gethostbyname4_r ignore IPv4 addresses.
82215
82216 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82217 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82218
82219 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82220
82221 2011-06-20 David S. Miller <davem@davemloft.net>
82222
82223 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82224 inclusions.
82225 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82226
82227 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82228 (elf_irel): Use it.
82229 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82230 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82231 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82232 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82233 * sysdeps/x86_64/dl-irel.h: Likewise.
82234
82235 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82236 * elf/dl-sym.c: Likewise.
82237
82238 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82239
82240 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82241 need to dereference resplen2.
82242
82243 2011-06-14 Andreas Schwab <schwab@redhat.com>
82244
82245 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82246
82247 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82248
82249 * Makeconfig: Define vardbdir and inst_vardbdir.
82250 * nss/Makefile: Add rules to install db-Makefile.
82251
82252 * nss/nss_db/db-XXX.c: Cleanup.
82253
82254 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82255 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82256 GLIBC_PRIVATE.
82257 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82258 * nss/makedb.c: Implement -g option to specify that value strings
82259 are generated and should not be added to table iterated over for
82260 get*ent calls.
82261 * nss/nss_db/db-initgroups.c: New file.
82262
82263 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82264 interface.
82265
82266 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82267 (internal_getgrouplist): Adjust to name change.
82268 Update use_initgroups_entry if this is not the first call.
82269 * nss/databases.def: Add initgroups entry.
82270
82271 * nss/makedb.c (compute_tables): Check result of multiple hash table
82272 sizes to minimize maximum chain length.
82273
82274 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82275
82276 * Versions.def: Add entry for libnss_db.
82277 * shlib-versions: Likewise.
82278 * nss/Makefile: Add rules to build libnss_db.
82279 * nss/Versions: Add libnss_db information. Organize libnss_files
82280 entries better.
82281 * nss/db-Makefile: Add gshadow support. Change rules for the new
82282 makedb progra. Some minor improvements to generate smaller files.
82283 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82284 here from...
82285 * nss/makedb.c: ...here.
82286 Improve database format to be smaller and require less memory at
82287 runtime.
82288 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82289 db anymore.
82290 * nss/nss_db/db-netgrp.c: Likewise.
82291 * nss/nss_db/db-open.c: Likewise.
82292 * nss/nss_files/flies-XXX.x: Adjust comments.
82293 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82294 * nss/nss_files/files-grp.c: Likewise.
82295 * nss/nss_files/files-hosts.c: Likewise.
82296 * nss/nss_files/files-network.c: Likewise.
82297 * nss/nss_files/files-proto.c: Likewise.
82298 * nss/nss_files/files-pwd.c: Likewise.
82299 * nss/nss_files/files-rpc.c: Likewise.
82300 * nss/nss_files/files-service.c: Likewise.
82301 * nss/nss_files/files-sgrp.c: Likewise.
82302 * nss/nss_files/files-spwd.c: Likewise.
82303 * nss/nss_db/db-alias.c: Removed.
82304 * nss/nss_db/dummy-db.h: Removed.
82305
82306 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82307
82308 * nss/makedb.c: Rewritten to not use database library.
82309 * nss/Makefile: Update to build new makedb program.
82310
82311 2011-06-14 Andreas Jaeger <aj@suse.de>
82312
82313 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82314 memset declaration.
82315
82316 2011-06-10 Andreas Schwab <schwab@redhat.com>
82317
82318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82319 tmpbuf.
82320
82321 2011-06-10 Roland McGrath <roland@hack.frob.com>
82322
82323 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82324 * elf/Makefile ($(objpfx)ld.so): Likewise.
82325
82326 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82327 Don't list ld.so twice in dependencies.
82328
82329 * posix/bug-regex31.c: Include <stdlib.h>.
82330
82331 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82332
82333 * nis/nss_compat/compat-spwd.c
82334 (getspent_next_nss_netgr): Remove unused variable.
82335 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82336
82337 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82338 nonmembers" output to use the right array.
82339
82340 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82341
82342 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82343
82344 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82345 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82346 * catgets/gencat.c (read_input_file): Likewise.
82347 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82348
82349 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82350 variable definition inside #if's controlling its use.
82351
82352 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82353
82354 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82355
82356 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82357
82358 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82359 unreachable code.
82360
82361 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82362
82363 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82364 * configure: Regenerated.
82365
82366 * Makerules: Revert last change.
82367 * elf/Makefile: Likewise.
82368
82369 2011-06-09 Roland McGrath <roland@hack.frob.com>
82370
82371 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82372 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82373 (reloc-link): Likewise.
82374
82375 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82376
82377 * elf/Makefile: Add rules to build pldd.
82378 * elf/pldd.c: New file.
82379 * elf/pldd-xx.c: New file.
82380
82381 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82382
82383 * version.h: Update for 2.15 development version.
82384
82385 2011-06-07 David S. Miller <davem@davemloft.net>
82386
82387 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82388 ifuncs.
82389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82390 elf_machine_lazy_rel): Likewise.
82391 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82393 elf_machine_lazy_rel): Likewise.
82394 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82395 dl_hwcap via passed in argument.
82396 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82397 Likewise.
82398
82399 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82400
82401 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82402
82403 2011-06-06 Roland McGrath <roland@hack.frob.com>
82404
82405 [BZ #12849]
82406 * manual/fdl-1.1.texi: New file, verbatim from:
82407 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82408 * manual/lgpl-2.1.texi: New file, verbatim from:
82409 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82410 * manual/Makefile (licenses): New variable, list those new file names.
82411 (texis): Use it.
82412 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82413
82414 * manual/fdl.texi: File removed.
82415 * manual/lesser.texi: File removed.
82416 * manual/libc.texinfo (Copying, Documentation License):
82417 Use new @include file names, put @appendix directive before @include.
82418
82419 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82420
82421 [BZ #12841]
82422 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82423 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82424 (mq_open): Add __NTH.
82425
82426 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82427
82428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82429 Assume Intel Core i3/i5/i7 processor if AVX is available.
82430
82431 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82432
82433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82434 typo.
82435
82436 2011-05-31 Andreas Schwab <schwab@redhat.com>
82437
82438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82439 memory. Use alloca_account. Fix memory leak when retrying.
82440
82441 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82442
82443 * version.h (RELEASE): Bump for 2.14 release.
82444 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82445
82446 * config.make.in (RANLIB): Remove entry.
82447
82448 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82449
82450 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82451 (libc.pot): Work around missing support for .ksh extension in xgettext.
82452
82453 [BZ #12684]
82454 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82455 if both request failed.
82456 (send_dg): In case of server errors clear resplen or *resplen2.
82457
82458 [BZ #12454]
82459 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82460 when there are multiple maps.
82461 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82462 (_dl_fini): Remove test here.
82463
82464 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82465
82466 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82467
82468 [BZ #12350]
82469 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82470 bit from old_res_options.
82471 (gaih_inet): Likewise.
82472
82473 [BZ #11099]
82474 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82475 as signed.
82476
82477 * resolv/res_init.c (res_setoptions): Make the code more compact.
82478
82479 [BZ #11558]
82480 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82481 set RES_USEVC.
82482
82483 [BZ #11634]
82484 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82485
82486 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82487
82488 [BZ #11781]
82489 * malloc/malloc.h: Declare malloc hook variables as volatile.
82490
82491 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82492 in last patch.
82493
82494 [BZ #11799]
82495 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82496 raise in the comment.
82497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82499 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82500
82501 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82502
82503 [BZ #12811]
82504 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82505 grow the buffers more if it already has to be sufficient.
82506 (build_wcs_upper_buffer): Likewise.
82507 * posix/regexec.c (check_matching): Likewise.
82508 (clean_state_log_if_needed): Likewise.
82509 (extend_buffers): Don't enlarge buffers beyond size of the input
82510 buffer.
82511 Patches mostly by Emil Wojak <emil@wojak.eu>.
82512 * posix/bug-regex32.c: New file.
82513 * posix/Makefile (tests): Add bug-regex32.
82514
82515 * locale/findlocale.c (_nl_find_locale): Return right away if
82516 _nl_explode_name failed.
82517 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82518
82519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82520
82521 * debug/xtrace.sh: Unify messages.
82522 * malloc/memusage.sh: Likewise.
82523
82524 [BZ #12813]
82525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82526 time symbol from vDSO. Substitute with vsyscall if not available.
82527 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82528 __vdso_time.
82529
82530 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82531 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82532 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82533 Add sendmmsg and internal_sendmmsg.
82534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82535 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82537
82538 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82539 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82541
82542 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82543
82544 [BZ #12813]
82545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82546 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82547 available.
82548 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82549 __vdso_getcpu.
82550
82551 [BZ #12814]
82552 * iconvdata/Makefile (tests): Add bug-iconv9.
82553 * iconvdata/bug-iconv9.c: New file.
82554
82555 2011-05-27 Andreas Schwab <schwab@redhat.com>
82556
82557 [BZ #12814]
82558 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82559
82560 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82561
82562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82563 (struct user_regs_struct): Change intcs field back to cs.
82564
82565 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82566
82567 * po/ja.po: Update from translation team.
82568
82569 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82570
82571 [BZ #12795]
82572 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82573 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82574
82575 2011-05-20 Andreas Schwab <schwab@redhat.com>
82576
82577 * stdlib/longlong.h: Update from GCC.
82578
82579 2011-05-23 Andreas Schwab <schwab@redhat.com>
82580
82581 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82582 parameter name.
82583 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82584 Add parameter name.
82585 (__sysconf): Pass it down.
82586
82587 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82588
82589 [BZ #12671]
82590 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82591 some situations.
82592 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82593 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82594 add in in __libc_use_alloca calls. Adjust callers.
82595 (glob): Use malloc in some situations.
82596
82597 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82598 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82599 pltexit.
82600
82601 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82602
82603 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82604 and CLOCK_BOOTTIME_ALARM.
82605
82606 [BZ #12782]
82607 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82608 is returned.
82609
82610 * string/_strerror.c (__strerror_r): Print negative errors as signed
82611 numbers.
82612
82613 [BZ #12777]
82614 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82615 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82616 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82617
82618 * configure.in: Fix typo in redirection and correct removal of test
82619 files in two cases.
82620
82621 [BZ #12788]
82622 * locale/setlocale.c (new_composite_name): Fix test to check for
82623 identical name of all categories.
82624
82625 [BZ #12792]
82626 * libio/filedoalloc.c (local_isatty): New function.
82627 (_IO_file_doallocate): Use local_isatty.
82628 * stdio-common/perror.c (perror): In case a new stream is used
82629 forward the stream error.
82630 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82631 error flag.
82632
82633 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82634
82635 [BZ #11884]
82636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82637 alloca.
82638 * include/alloca.h (extend_alloca_account): Define.
82639
82640 [BZ #11857]
82641 * posix/regex.h: Fix comments with documentation of user-accessible
82642 fields after compilation and describe correct free'ing of pattern
82643 after re_compile_pattern.
82644 Patch by Reuben Thomas <rrt@sc3d.org>.
82645
82646 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82647
82648 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82649 and -mno-altivec to prevent the compiler from using Altivec and/or
82650 VSX instructions when the corresponding registers are not available.
82651
82652 2011-05-19 Andreas Schwab <schwab@redhat.com>
82653
82654 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82655
82656 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82657
82658 * libio/freopen.c (freopen): Use __dup2, not dup2.
82659 * libio/freopen64.c (freopen64): Likewise.
82660
82661 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82662
82663 [BZ #12775]
82664 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82665 * math/Makefile (tests): Add test-powl.
82666 (CFLAGS-test-powl.c): Define.
82667 * math/test-powl.c: New file.
82668
82669 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82670
82671 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82672
82673 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82674
82675 [BZ #11837]
82676 * iconvdata/gb18030.c: Update to GB18020-2005.
82677
82678 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82679
82680 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82681 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82682 Patch by Aharon Robbins <arnold@skeeve.com>.
82683
82684 [BZ #11892]
82685 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82686 on the stack.
82687
82688 [BZ #11895]
82689 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82690 through underflows.
82691
82692 [BZ #12766]
82693 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82694 point to strings before performing equality test for error_one_per_line
82695 mode.
82696
82697 [BZ #11697]
82698 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82699
82700 [BZ #11820]
82701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82702 (struct user_fpregs_struct): Avoid __uint*_t types.
82703
82704 [BZ #6420]
82705 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82706 symbol info. Use it instead of calling _dl_addr locally.
82707 (lock_and_info): New function.
82708 (tr_freehook): Call lock_and_info and pass symbol info as additional
82709 parameter to tr_where.
82710 (tr_mallochook): Likewise.
82711 (tr_reallochook): Likewise.
82712 (tr_memalignhook): Likewise.
82713
82714 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82715 used and couldn't be at all thread-safe.
82716
82717 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82718
82719 * libio/freopen.c (freopen): Don't close old file descriptor
82720 before the new one is opened. Instead dup the new file descriptor
82721 to the old one after the new stream is created.
82722 * libio/freopen64.c (freopen64): Likewise.
82723 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82724 * libio/fileops.c (_IO_new_file_close_it): Handle new
82725 _IO_FLAGS2_NOCLOSE flag.
82726 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82727 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82728 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82729 _IO_FLAGS2_NOCLOSE flag.
82730 * include/unistd.h: Add hidden_proto for dup3.
82731 Define __have_dup3.
82732 * io/dup3.c: Define hidden symbol.
82733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82734
82735 [BZ #7101]
82736 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82737 when an incomplete long option is used.
82738 * posix/tst-getopt_long1.c: New file.
82739 * posix/Makefile (tests): Add tst-getopt_long1.
82740
82741 [BZ #10138]
82742 * scripts/config.guess: Update from autoconf-2.68.
82743 * scripts/config.sub: Likewise.
82744
82745 [BZ #10157]
82746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82747 tests into ...
82748 (has_cpuclock): ...this. New function.
82749 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82750 macro here based on has_cpuclock code.
82751
82752 [BZ #10149]
82753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82754 First byte (not low byte) is now always NUL.
82755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82756
82757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82758 Use non-cancelable interfaces.
82759
82760 [BZ #9809]
82761 * locale/iso-639.def: Add entry for Sorani.
82762
82763 [BZ #11901]
82764 * include/stdlib.h: Move include protection to the right place.
82765 Define abort_msg_s. Declare __abort_msg with it.
82766 * stdlib/abort.c (__abort_msg): Adjust type.
82767 * assert/assert.c (__assert_fail_base): New function. Majority
82768 of code from __assert_fail. Allocate memory for __abort_msg with
82769 mmap.
82770 (__assert_fail): Now call __assert_fail_base.
82771 * assert/assert-perr.c: Remove bulk of implementation. Use
82772 __assert_fail_base.
82773 * include/assert.hL Declare __assert_fail_base.
82774 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82775 mmap.
82776 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82777
82778 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82779
82780 [BZ #11952]
82781 [BZ #12453]
82782 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82783 until all modules are registered in the DTV.
82784 * elf/Makefile: Add rules to build and run tst-tls19.
82785 * elf/tst-tls19.c: New file.
82786 * elf/tst-tls19mod1.c: New file.
82787 * elf/tst-tls19mod2.c: New file.
82788 * elf/tst-tls19mod3.c: New file.
82789 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82790
82791 [BZ #12083]
82792 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82793 correctly.
82794
82795 [BZ #12601]
82796 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82797 two-byte sequence errors.
82798 * iconvdata/Makefile (tests): Add bug-iconv8.
82799 * iconvdata/bug-iconv8.c: New file.
82800
82801 [BZ #12626]
82802 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82803 buf2 definition.
82804
82805 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82806
82807 [BZ #12432]
82808 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82809 (dummy_getcfa): New function.
82810 (init): Get _Unwind_GetCFA address, use dummy if not found.
82811 (backtrace_helper): In recursion check, also check whether CFA changes.
82812 (__backtrace): Completely initialize arg.
82813
82814 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82815 storing incomplete byte sequence in state object. Avoid testing for
82816 guaranteed too small input if we know there is enough data available.
82817
82818 2011-05-11 Andreas Schwab <schwab@redhat.com>
82819
82820 * Makeconfig (+link-pie): Indent.
82821 * Rules (binaries-pie): Define if $(have-fpie) and
82822 $(build-shared).
82823 (binaries-shared): Also filter out $(binaries-pie).
82824 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82825 * nscd/Makefile (others-pie): Add nscd.
82826 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82827 ($(objpfx)nscd): Remove command override.
82828 * login/Makefile (others-pie): Add pt_chown.
82829 ($(objpfx)pt_chown): Remove command override.
82830 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82831 remove command overrides.
82832
82833 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82834
82835 * libio/tst_putwc.c: Fix error messages.
82836
82837 [BZ #12724]
82838 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82839 currently writing and seek to current position when not.
82840 * libio/Makefile (tests): Add bug-fclose1.
82841 * libio/bug-fclose1.c: New file.
82842
82843 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82844
82845 [BZ #12511]
82846 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82847 don't set DF_1_NODELETE here.
82848 (do_lookup_x): When entering new entry test for copy relocation
82849 and if necessary set DF_1_NODELETE flag.
82850 * elf/tst-unique4.cc: New file.
82851 * elf/tst-unique4.h: New file.
82852 * elf/tst-unique4lib.cc: New file.
82853 * elf/Makefile: Add rules to build and run tst-unique4.
82854 Patch by Piotr Bury <pbury@goahead.com>.
82855
82856 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82857
82858 [BZ #12052]
82859 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82860
82861 [BZ #12625]
82862 * misc/mntent_r.c (addmntent): Flush the stream after the output
82863
82864 [BZ #12393]
82865 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82866 (is_trusted_path_normalize): Skip initial colon. Append slash
82867 to empty buffer. Duplicate is_trusted_path code but allow
82868 constructed patch to be prefix.
82869 (is_dst): Allow $ORIGIN followed by /.
82870 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82871 Correct testing of result of is_trusted_path_normalize
82872 (decompose_rpath): Fix warning.
82873
82874 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82875
82876 [BZ #11257]
82877 * grp/initgroups.c (internal_getgrouplist): When we found the service
82878 list through the initgroups entry in nsswitch.conf do not always
82879 continue on a successful lookup. Don't always use the
82880 __nss_group_database value if it is set.
82881 * nss/nsswitch.conf (initgroups): Change action for successful db
82882 lookup to continue for compatibility.
82883
82884 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82885
82886 [BZ #11532]
82887 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82888 and CP774 modules.
82889 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82890 and CP774 modules.
82891 * iconvdata/tst-tables.sh: Likewise.
82892 * iconvdata/cp770.c: New file.
82893 * iconvdata/cp771.c: New file.
82894 * iconvdata/cp772.c: New file.
82895 * iconvdata/cp773.c: New file.
82896 * iconvdata/cp774.c: New file.
82897 * iconvdata/testdata/CP770: New file.
82898 * iconvdata/testdata/CP770..UTF8: New file.
82899 * iconvdata/testdata/CP771: New file.
82900 * iconvdata/testdata/CP771..UTF8: New file.
82901 * iconvdata/testdata/CP772: New file.
82902 * iconvdata/testdata/CP772..UTF8: New file.
82903 * iconvdata/testdata/CP773: New file.
82904 * iconvdata/testdata/CP773..UTF8: New file.
82905 * iconvdata/testdata/CP774: New file.
82906 * iconvdata/testdata/CP774..UTF8: New file.
82907
82908 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82909 END CHARMAP line.
82910 * iconvdata/gen-8bit-gap.sh: Likewise.
82911 * iconvdata/gen-8bit.sh: Likewise.
82912
82913 * locale/iso-639.def: Add ary entry.
82914
82915 [BZ #11258]
82916 * locale/C-translit.h.in: Add U20A1 transliteration.
82917
82918 [BZ #12178]
82919 * locale/iso-639.def: Add wae entry.
82920 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82921
82922 [BZ #12545]
82923 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82924 for n.
82925
82926 [BZ #12711]
82927 * locale/C-translit.h.in: Add entry for U20B9.
82928 Patch by pravin.d.s@gmail.com.
82929
82930 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82931
82932 [BZ #12713]
82933 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82934 ENAMETOOLONG use generic getcwd.
82935 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82936 in rtld. Use *stat64.
82937 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82938 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82939 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82940 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82941 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82942 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82943 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82944 __fstatat64 macros.
82945 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82946 * dirent/rewinddir.c: Add libc_hidden_def.
82947 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82948 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82949
82950 * include/dirent.h (__alloc_dir): Add flags parameter.
82951 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82952 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82953 __alloc_dir.
82954 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82955 from fdopendir if O_CLOEXEC is already set.
82956
82957 2011-03-15 Alan Modra <amodra@gmail.com>
82958
82959 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82960 l_tls_firstbyte_offset non-zero. Save padding offset in
82961 l_tls_firstbyte_offset for later use.
82962 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82963 freeing static tls block.
82964
82965 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82966
82967 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82968 where #ifdef was intended. The intent is to prevent ARG_MAX from
82969 being defined by the kernel headers.
82970
82971 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82972
82973 [BZ #12734]
82974 * resolv/resolv.h: Define RES_NOTLDQUERY.
82975 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82976 no-tld-query and set RES_NOTLDQUERY.
82977 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82978 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82979 modern BIND to search name as TLD unless forbidden.
82980
82981 2011-05-07 Petr Baudis <pasky@suse.cz>
82982 Ulrich Drepper <drepper@gmail.com>
82983
82984 [BZ #12393]
82985 * elf/dl-load.c (fillin_rpath): Move trusted path check...
82986 (is_trusted_path): ...to here.
82987 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82988 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82989 using is_trusted_path_normalize() in setuid scripts.
82990
82991 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
82992
82993 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82994 __BEGIN/__END_DECLS.
82995
82996 2011-05-06 Ulrich Drepper <drepper@gmail.com>
82997
82998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82999 NSS_STATUS_NOTFOUND if no record was found.
83000
83001 2011-05-05 Andreas Schwab <schwab@redhat.com>
83002
83003 * sunrpc/Makefile (headers): Add rpc/netdb.h.
83004 (headers-not-in-tirpc): Remove rpc/netdb.h
83005 * resolv/netdb.h: Revert last change.
83006
83007 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
83008
83009 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83010 circular dependency between libgcc.a and libc.a.
83011
83012 2011-05-05 Andreas Schwab <schwab@redhat.com>
83013
83014 * resolv/netdb.h: Don't include <rpc/netdb.h>.
83015 * nis/Makefile: Don't install rpcsvc/*.
83016 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83017 instead of <rpc/types.h>.
83018 (MAXHOSTNAMELEN): Define.
83019
83020 2011-05-03 Andreas Schwab <schwab@redhat.com>
83021
83022 * elf/ldconfig.c (add_dir): Don't crash on empty path.
83023
83024 2011-04-28 Maciej Babinski <mbabinski@google.com>
83025
83026 [BZ #12714]
83027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83028 gethostbyname4_r when IPv6 results are possible.
83029
83030 2011-05-02 Ulrich Drepper <drepper@gmail.com>
83031
83032 [BZ #12723]
83033 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83034 _PC_PIPE_BUF handling.
83035
83036 2011-04-30 Bruno Haible <bruno@clisp.org>
83037
83038 [BZ #12717]
83039 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83040 * resolv/netdb.h (getnameinfo): Change type of flags parameter
83041 to 'int'.
83042 * inet/getnameinfo.c (getnameinfo): Likewise.
83043
83044 2011-04-29 Ulrich Drepper <drepper@gmail.com>
83045
83046 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83047 to groups setting in database lookup.
83048 * nss/nsswitch.conf: Add initgroups entry.
83049
83050 2011-04-22 Ulrich Drepper <drepper@gmail.com>
83051
83052 [BZ #12685]
83053 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83054 mode string.
83055 Patch by Eric Blake <eblake@redhat.com>.
83056
83057 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
83058
83059 * sunrpc/Makefile (need-export-routines): Add svc_run.
83060 (routines): Remove svc_run.
83061 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83062 * sunrpc/clnt_perr.c (clnt_perrno): Export.
83063 * sunrpc/svc_run.c (svc_run): Likewise.
83064 * sunrpc/svc_udp.c (svcudp_create): Likewise.
83065
83066 2011-04-21 Ulrich Drepper <drepper@gmail.com>
83067
83068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83069 problem in reallocation in last patch.
83070
83071 2011-04-20 Ulrich Drepper <drepper@gmail.com>
83072
83073 * sunrpc/Makefile: Move inclusion of Rules.
83074
83075 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83076
83077 * nss/nss_files/files-initgroups.c: New file.
83078 * nss/Makefile (libnss_files-routines): Add files-initgroups.
83079 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83080 _nss_files_initgroups_dyn.
83081
83082 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
83083
83084 * elf/elf.h (R_ARM_IRELATIVE): Define.
83085
83086 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83087
83088 * po/ru.po: Update from translation team.
83089
83090 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83091
83092 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83093 dependencies.
83094
83095 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83096
83097 [BZ #12653]
83098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83099 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83103
83104 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83105
83106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83107 differing bytes.
83108 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83111
83112 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83113
83114 [BZ #12420]
83115 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83116 storing it.
83117 * stdlib/bug-getcontext.c: New file.
83118 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83119
83120 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83121
83122 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83123 instructions into .machine "z9-109".
83124 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83125 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83126
83127 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83128
83129 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83130 between environment variables and auxiliary vector.
83131
83132 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83133
83134 * Makefile: Add rules to build linkobj/libc.so.
83135 * include/libc-symbols.h: Define libc_hidden_nolink.
83136 * include/rpc/auth.h: Mark functions which are to be hidden.
83137 * include/rpc/auth_des.h: Likewise.
83138 * include/rpc/auth_unix.h: Likewise.
83139 * include/rpc/clnt.h: Likewise.
83140 * include/rpc/des_crypt.h: Likewise.
83141 * include/rpc/key_prot.h: Likewise.
83142 * include/rpc/pmap_clnt.h: Likewise.
83143 * include/rpc/pmap_prot.h: Likewise.
83144 * include/rpc/pmap_rmt.h: Likewise.
83145 * include/rpc/rpc_msg.h: Likewise.
83146 * include/rpc/svc.h: Likewise.
83147 * include/rpc/svc_auth.h: Likewise.
83148 * include/rpc/xdr.h: Likewise.
83149 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83150 * nss/Makefile: Likewise.
83151 * sunrpc/Makefile: Don't install headers. Build library with normal
83152 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83153 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83154 for the compat linking library. Remove use of INTDEF/INTUSE.
83155 * sunrpc/auth_none.c: Likewise.
83156 * sunrpc/auth_unix.c: Likewise.
83157 * sunrpc/authdes_prot.c: Likewise.
83158 * sunrpc/authuxprot.c: Likewise.
83159 * sunrpc/clnt_gen.c: Likewise.
83160 * sunrpc/clnt_perr.c: Likewise.
83161 * sunrpc/clnt_raw.c: Likewise.
83162 * sunrpc/clnt_simp.c: Likewise.
83163 * sunrpc/clnt_tcp.c: Likewise.
83164 * sunrpc/clnt_udp.c: Likewise.
83165 * sunrpc/clnt_unix.c: Likewise.
83166 * sunrpc/des_crypt.c: Likewise.
83167 * sunrpc/des_soft.c: Likewise.
83168 * sunrpc/get_myaddr.c: Likewise.
83169 * sunrpc/key_call.c: Likewise.
83170 * sunrpc/key_prot.c: Likewise.
83171 * sunrpc/netname.c: Likewise.
83172 * sunrpc/pm_getmaps.c: Likewise.
83173 * sunrpc/pm_getport.c: Likewise.
83174 * sunrpc/pmap_clnt.c: Likewise.
83175 * sunrpc/pmap_prot.c: Likewise.
83176 * sunrpc/pmap_prot2.c: Likewise.
83177 * sunrpc/pmap_rmt.c: Likewise.
83178 * sunrpc/publickey.c: Likewise.
83179 * sunrpc/rpc_cmsg.c: Likewise.
83180 * sunrpc/rpc_common.c: Likewise.
83181 * sunrpc/rpc_dtable.c: Likewise.
83182 * sunrpc/rpc_prot.c: Likewise.
83183 * sunrpc/rpc_thread.c: Likewise.
83184 * sunrpc/rtime.c: Likewise.
83185 * sunrpc/svc.c: Likewise.
83186 * sunrpc/svc_auth.c: Likewise.
83187 * sunrpc/svc_authux.c: Likewise.
83188 * sunrpc/svc_raw.c: Likewise.
83189 * sunrpc/svc_run.c: Likewise.
83190 * sunrpc/svc_simple.c: Likewise.
83191 * sunrpc/svc_tcp.c: Likewise.
83192 * sunrpc/svc_udp.c: Likewise.
83193 * sunrpc/svc_unix.c: Likewise.
83194 * sunrpc/svcauth_des.c: Likewise.
83195 * sunrpc/xcrypt.c: Likewise.
83196 * sunrpc/xdr.c: Likewise.
83197 * sunrpc/xdr_array.c: Likewise.
83198 * sunrpc/xdr_float.c: Likewise.
83199 * sunrpc/xdr_intXX_t.c: Likewise.
83200 * sunrpc/xdr_mem.c: Likewise.
83201 * sunrpc/xdr_rec.c: Likewise.
83202 * sunrpc/xdr_ref.c: Likewise.
83203 * sunrpc/xdr_sizeof.c: Likewise.
83204 * sunrpc/xdr_stdio.c: Likewise.
83205
83206 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83207
83208 [BZ #12650]
83209 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83210 * sysdeps/ia64/dl-tls.h: Likewise.
83211 * sysdeps/powerpc/dl-tls.h: Likewise.
83212 * sysdeps/s390/dl-tls.h: Likewise.
83213 * sysdeps/sh/dl-tls.h: Likewise.
83214 * sysdeps/sparc/dl-tls.h: Likewise.
83215 * sysdeps/x86_64/dl-tls.h: Likewise.
83216 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83217
83218 2011-03-14 Andreas Schwab <schwab@redhat.com>
83219
83220 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83221 rpath element also skip the following colon.
83222 (expand_dynamic_string_token): Add is_path parameter and pass
83223 down to DL_DST_REQUIRED and _dl_dst_substitute.
83224 (decompose_rpath): Call expand_dynamic_string_token with
83225 non-zero is_path. Ignore empty rpaths.
83226 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83227 with zero is_path.
83228
83229 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83230
83231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83232 Make cancelable.
83233
83234 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83235
83236 [BZ #12655]
83237 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83238 Patch by Filipe David Manana <fdmanana@apache.org>.
83239
83240 2011-04-07 Andreas Schwab <schwab@redhat.com>
83241
83242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83243 Maintain aligned stack.
83244 (CHECK_RSP): Remove unused macro.
83245
83246 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83247
83248 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83250
83251 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83252
83253 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83254
83255 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83256
83257 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83258
83259 [BZ #12518]
83260 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83261 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83262 * sysdeps/x86_64/memmove.c: New file.
83263 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83264 (memcpy): Renamed to ...
83265 (__new_memcpy): This.
83266 (memcpy): Provide GLIBC_2_14 memcpy.
83267 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83268 (memcpy): Provide GLIBC_2_2_5 memcpy.
83269
83270 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83271
83272 [BZ #12631]
83273 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83274
83275 2011-03-30 Andreas Schwab <schwab@redhat.com>
83276
83277 * misc/syncfs.c: New file.
83278 * misc/Makefile (routines): Add syncfs.
83279 * posix/unistd.h: Declare syncfs.
83280 * sysdeps/unix/syscalls.list: Add syncfs.
83281
83282 2011-04-01 Andreas Schwab <schwab@redhat.com>
83283
83284 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83285 open_by_handle_at.
83286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83291 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83293
83294 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83295
83296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83303
83304 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83305 sync_file_range.c with -fexceptions.
83306 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83307 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83308 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83309 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83310 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83311 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83313 sync_file_range as cancellation point
83314 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83315 now a wrapper around __call_sync_file_range with cancellation handling.
83316 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83318 function name to __call_sync_file_range.
83319 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83320 Add call_sync_file_range.
83321
83322 2011-04-01 Andreas Schwab <schwab@redhat.com>
83323
83324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83325 bits/timex.h.
83326
83327 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83328
83329 * iconv/iconv.h: Fix typo in comment.
83330 * io/fcntl.h: Likewise.
83331 * libio/stdio.h: Likewise.
83332 * posix/spawn.h: Likewise.
83333 * posix/unistd.h: Likewise.
83334 * stdlib/stdlib.h: Likewise.
83335 * time/time.h: Likewise.
83336 * wcsmbs/wchar.h: Likewise.
83337
83338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83339 open_by_handle): Add.
83340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83341 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83342 Augment a few comments.
83343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83348 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83349 open_by_handle.
83350
83351 * io/fcntl.h (AT_EMPTY_PATH): Define.
83352
83353 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83354
83355 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83356 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83357 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83358 to...
83359 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83360 * Versions.def: Add GLIBC_2.14.
83361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83362 Export.
83363
83364 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83365
83366 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83367 round counter.
83368 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83369
83370 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83371
83372 [BZ #12597]
83373 * string/test-strncmp.c (do_page_test): New function.
83374 (check2): Likewise.
83375 (test_main): Call check2.
83376 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83377
83378 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83379
83380 [BZ #12587]
83381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83382 Handle cache information in CPU leaf 4.
83383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83384
83385 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83386
83387 [BZ #12583]
83388 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83389 character representation.
83390 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83391
83392 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83393
83394 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83395 END(__isnan) to END(__isnanf) to match function entry point/label
83396 EALIGN(__isnanf,...).
83397
83398 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83399
83400 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83401
83402 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83403
83404 [BZ #12510]
83405 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83406 copy from the symbol referenced in the relocation to initialize the
83407 used variable.
83408 Patch by Piotr Bury <pbury@goahead.com>.
83409 * elf/Makefile: Add rules to build and tst-unique3.
83410 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83411 * elf/tst-unique3.cc: New file.
83412 * elf/tst-unique3.h: New file.
83413 * elf/tst-unique3lib.cc: New file.
83414 * elf/tst-unique3lib2.cc: New file.
83415
83416 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83417
83418 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83419
83420 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83421 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83422 to _start.
83423
83424 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83425
83426 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83427 to-be-loaded object along a path to loader is ld.so.
83428
83429 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83430 Ulrich Drepper <drepper@gmail.com>
83431
83432 * sysdeps/x86_64/memset.S: After aligning destination, code
83433 branches to different locations depending on the value of
83434 misalignment, when multiarch is enabled. Fix this.
83435
83436 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83437
83438 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83439 Set _x86_64_preferred_memory_instruction for AMD processsors.
83440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83441 Set bit_Prefer_SSE_for_memop for AMD processors.
83442
83443 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83444
83445 * libio/fmemopen.c (fmemopen): Optimize a bit.
83446
83447 2011-03-03 Andreas Schwab <schwab@redhat.com>
83448
83449 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83450
83451 2011-03-03 Roland McGrath <roland@redhat.com>
83452
83453 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83454
83455 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83456
83457 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83458 __bzero_ultra1 instead of __memset_ultra1.
83459
83460 2011-02-23 Andreas Schwab <schwab@redhat.com>
83461 Ulrich Drepper <drepper@gmail.com>
83462
83463 [BZ #12509]
83464 * include/link.h (struct link_map): Add l_orig_initfini.
83465 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83466 returning unsuccessfully.
83467 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83468 close of a file loaded at startup, restore the original l_initfini
83469 list.
83470 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83471 list, store the pointer.
83472 * elf/Makefile ($(objpfx)noload-mem): New rule.
83473 (noload-ENV): Define.
83474 (tests): Add $(objpfx)noload-mem.
83475 * elf/noload.c: Include <memcheck.h>.
83476 (main): Call mtrace. Close all opened handles.
83477
83478 2011-02-17 Andreas Schwab <schwab@redhat.com>
83479
83480 [BZ #12454]
83481 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83482 dependencies are missing.
83483
83484 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83485
83486 Fix __if_freereq crash: Unlike the generic version which uses free,
83487 Hurd needs munmap.
83488 * sysdeps/mach/hurd/ifreq.h: New file.
83489
83490 2011-01-27 Petr Baudis <pasky@suse.cz>
83491 Ulrich Drepper <drepper@gmail.com>
83492
83493 [BZ 12445]#
83494 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83495 to extend_alloca().
83496 * stdio-common/bug23.c: New file.
83497 * stdio-common/Makefile (tests): Add bug23.
83498
83499 2010-09-28 Andreas Schwab <schwab@redhat.com>
83500 Ulrich Drepper <drepper@gmail.com>
83501
83502 [BZ #12489]
83503 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83504 before performing relro protection. At old place add assertion
83505 to make sure nothing changed.
83506
83507 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83508 Glauber de Oliveira Costa <glommer@gmail.com>
83509
83510 * elf/elf.h: Add new ARM TLS relocs.
83511
83512 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83513
83514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83515 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83516 cast from r3.
83517 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83518 'tests' variable.
83519 * sysdeps/wordsize-64/tst-writev.c: New file.
83520
83521 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83522
83523 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83524 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83525 insns in _dl_start to prevent a TOC reference before relocs are
83526 resolved.
83527
83528 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83529
83530 [BZ #12469]
83531 * Makeconfig: Remove RANLIB definition.
83532 * Makerules: Don't use RANLIB.
83533 * aclocal.m4: Remove ranlib test.
83534 * configure.in: No need to check for ranlib.
83535 * elf/rtld-Rules: Don't use RANLIB.
83536
83537 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83538
83539 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83540 protection macro.
83541 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83542 inclusion protection macro.
83543
83544 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83545 SIGRTMIN and SIGRTMAX and print information in that case only when
83546 SIGRTMIN is defined.
83547
83548 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83549
83550 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83551 arginfo fn returning -1.
83552
83553 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83554 and thousands string is zero terminated.
83555
83556 2011-02-03 Andreas Schwab <schwab@redhat.com>
83557
83558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83559 sysdeps/unix/sysv/linux/bits/socket.h.
83560
83561 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83562
83563 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83564 (__CPU_COUNT): Remove old macros.
83565 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83566 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83567 (__CPU_ALLOC, __CPU_FREE): Add macros.
83568 (__sched_cpualloc, __sched_cpufree): Add declarations.
83569
83570 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83571
83572 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83573 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83574 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83575 (readdhstai): Return value of addhstaiX call.
83576 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83577 (addgrbyX): Return value returned by cache_addgr.
83578 (readdgrbyname): Return value returned by addgrbyX.
83579 (readdgrbygid): Likewise.
83580 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83581 (addpwbyX): Return value returned by cache_addpw.
83582 (readdpwbyname): Return value returned by addhstbyX.
83583 (readdpwbyuid): Likewise.
83584 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83585 (addservbyX): Return value returned by cache_addserv.
83586 (readdservbyname): Return value returned by addservbyX:
83587 (readdservbyport): Likewise.
83588 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83589 (addhstbyX): Return value returned by cache_addhst.
83590 (readdhstbyname): Return value returned by addhstbyX.
83591 (readdhstbyaddr): Likewise.
83592 (readdhstbynamev6): Likewise.
83593 (readdhstbyaddrv6): Likewise.
83594 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83595 (readdinitgroups): Return value returned by addinitgroupsX.
83596 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83597 (prune_cache): Keep track of timeout value of re-added entries.
83598 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83599 * nscd/nscd.h: Adjust prototypes of readd* functions.
83600
83601 2011-02-04 Roland McGrath <roland@redhat.com>
83602
83603 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83604 (nis_stats): Likewise.
83605 * nis/nis_modify.c (nis_modify): Likewise.
83606 * nis/nis_remove.c (nis_remove): Likewise.
83607 * nis/nis_add.c (nis_add): Likewise.
83608
83609 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83610
83611 * posix/fnmatch_loop.c: Add some consts.
83612
83613 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83614
83615 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83616
83617 [BZ #12460]
83618 * config.make.in (config-cflags-novzeroupper): Define.
83619 * configure.in: Substitute libc_cv_cc_novzeroupper.
83620 * elf/Makefile (AVX-CFLAGS): Define.
83621 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83622 (CFLAGS-tst-auditmod4a.c): Likewise.
83623 (CFLAGS-tst-auditmod4b.c): Likewise.
83624 (CFLAGS-tst-auditmod6b.c): Likewise.
83625 (CFLAGS-tst-auditmod6c.c): Likewise.
83626 (CFLAGS-tst-auditmod7b.c): Likewise.
83627 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83628
83629 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83630
83631 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83632 function to the callback.
83633 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83634
83635 2011-02-02 Andreas Schwab <schwab@redhat.com>
83636
83637 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83638 of errno.
83639
83640 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83641
83642 [BZ #11724]
83643 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83644 of constructors.
83645 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83646 of destructors.
83647 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83648
83649 [BZ #11724]
83650 * elf/Makefile: Add rules to build and run new test.
83651 * elf/tst-initorder.c: New file.
83652 * elf/tst-initorder.exp: New file.
83653 * elf/tst-initordera1.c: New file.
83654 * elf/tst-initordera2.c: New file.
83655 * elf/tst-initordera3.c: New file.
83656 * elf/tst-initordera4.c: New file.
83657 * elf/tst-initorderb1.c: New file.
83658 * elf/tst-initorderb2.c: New file.
83659 * elf/tst-order-a1.c: New file.
83660 * elf/tst-order-a2.c: New file.
83661 * elf/tst-order-a3.c: New file.
83662 * elf/tst-order-a4.c: New file.
83663 * elf/tst-order-b1.c: New file.
83664 * elf/tst-order-b2.c: New file.
83665 * elf/tst-order-main.c: New file.
83666 New test case by George Gensure <werkt0@gmail.com>.
83667
83668 2010-10-01 Andreas Schwab <schwab@redhat.com>
83669
83670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83671 decoding ACE if AI_CANONIDN.
83672
83673 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83674
83675 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83676
83677 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83678
83679 * version.h (RELEASE): Bump for 2.13 release.
83680 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83681
83682 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83683
83684 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83685 MADV_NOHUGEPAGE.
83686 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83692
83693 * posix/getconf.c: Update copyright year.
83694 * catgets/gencat.c: Likewise.
83695 * csu/version.c: Likewise.
83696 * debug/catchsegv.sh: Likewise.
83697 * debug/xtrace.sh: Likewise.
83698 * elf/ldconfig.c: Likewise.
83699 * elf/ldd.bash.in: Likewise.
83700 * elf/sprof.c (print_version): Likewise.
83701 * iconv/iconv_prog.c: Likewise.
83702 * iconv/iconvconfig.c: Likewise.
83703 * locale/programs/locale.c: Likewise.
83704 * locale/programs/localedef.c: Likewise.
83705 * malloc/memusage.sh: Likewise.
83706 * malloc/mtrace.pl: Likewise.
83707 * nscd/nscd.c (print_version): Likewise.
83708 * nss/getent.c: Likewise.
83709
83710 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83711 PF_CAIF, and PF_ALG.
83712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83713
83714 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83715
83716 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83717 (modules-names): Use them.
83718 (ifunc-test-modules, ifunc-pie-tests): Define.
83719 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83720 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83721 (test-extras): Likewise.
83722 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83723 $(compile-command.c).
83724 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83725 (all-built-dso): Define.
83726 (check-textrel.out, check-execstack.out): Depend on it.
83727
83728 * configure.in: Don't override --enable-multi-arch.
83729
83730 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83731
83732 [BZ #6812]
83733 * nscd/hstcache.c (tryagain): Define.
83734 (cache_addhst): Return tryagain not notfound for temporary errors.
83735 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83736 failed.
83737
83738 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83739
83740 [BZ #10563]
83741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83742 to make the syscall.
83743 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83744
83745 [BZ #12378]
83746 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83747 and fall back to matching as normal character if the string ends before
83748 the matching ']' is found. This is what POSIX requires.
83749 * posix/testfnm.c: Adjust test result.
83750 * posix/globtest.sh: Adjust test result. Add new test.
83751 * posix/tst-fnmatch.input: Likewise.
83752 * posix/tst-fnmatch2.c: Add new test.
83753
83754 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83755
83756 * elf/Makefile (check-execstack): Revert last change. Depend on
83757 check-execstack.h.
83758 (check-execstack.h): New target.
83759 (generated): Add check-execstack.h.
83760 * elf/check-execstack.c: Include "check-execstack.h".
83761 (main): Revert last change.
83762 (handle_file): Return zero if GNU_STACK is absent and
83763 DEFAULT_STACK_PERMS doesn't include PF_X.
83764
83765 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83766
83767 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83768 in child fails because the descriptor is already closed.
83769 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83770 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83771 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83772
83773 [BZ #12397]
83774 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83775 syscall.
83776
83777 [BZ #10484]
83778 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83779 temporary buffer used to handle multi lookups locally.
83780 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83781
83782 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83783
83784 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83785 loader is ld.so.
83786
83787 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83788
83789 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83790 alignment for SSE2.
83791
83792 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83793
83794 [BZ #12394]
83795 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83796 characters. When rounding increased number of integer digits recompute
83797 number of groups.
83798 * stdio-common/tst-grouping.c: New file.
83799 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83800
83801 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83802
83803 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83804 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83805
83806 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83807 void.
83808 * bits/select.h: Likewise.
83809
83810 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83811
83812 * po/ja.po: Update from translation team.
83813
83814 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83815
83816 [BZ #11155]
83817 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83818 implementation just like for lxstat, fxstatat, et al.
83819
83820 2010-12-27 Jim Meyering <meyering@redhat.com>
83821
83822 [BZ #12348]
83823 * posix/regexec.c (build_trtable): Return failure indication upon
83824 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83825
83826 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83827
83828 [BZ #12201]
83829 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83830 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83831 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83832 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83833
83834 [BZ #12207]
83835 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83836
83837 [BZ #12204]
83838 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83839 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83840
83841 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83842
83843 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83844 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83845 script has SORT_BY_INIT_PRIORITY.
83846 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83847 NO_CTORS_DTORS_SECTIONS is defined.
83848 * elf/soinit.c: Likewise.
83849 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83850 NO_CTORS_DTORS_SECTIONS is defined.
83851 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83852 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83853 * sysdeps/sh/init-first.c: Likewise.
83854 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83855
83856 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83857
83858 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83859 always use the slow path.
83860
83861 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83862
83863 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83864 similar rule which adds the sysdep directories to the header search in
83865 order to pick up the correct platform stackinfo.h.
83866 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83867 perform test if it is, otherwise return successfully without testing.
83868 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83869 DEFAULT_STACK_PERMS define in stackinfo.h.
83870 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83871 defined in stackinfo.h.
83872 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83873 DEFAULT_STACK_PERMS defined in stackinfo.h.
83874 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83875 * sysdeps/ia64/stackinfo.h: Likewise.
83876 * sysdeps/s390/stackinfo.h: Likewise.
83877 * sysdeps/sh/stackinfo.h: Likewise.
83878 * sysdeps/sparc/stackinfo.h: Likewise.
83879 * sysdeps/x86_64/stackinfo.h: Likewise.
83880 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83881 PF_X for powerpc64. Retain PF_X for powerpc32.
83882
83883 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83884
83885 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83886 accurately.
83887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83888 GETDENTS_64BIT_ALIGNED.
83889
83890 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83891
83892 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83893
83894 2010-12-10 Andreas Schwab <schwab@redhat.com>
83895
83896 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83897 _GNU_SOURCE.
83898
83899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83900 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83901 Remove __restrict.
83902 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83903 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83904
83905 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83906
83907 [BZ #11655]
83908 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83909 are initialized.
83910
83911 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83912
83913 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83914
83915 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83916
83917 * po/it.po: Update from translation team.
83918
83919 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83920
83921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83922 unused codes.
83923
83924 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83925
83926 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83927
83928 2010-11-24 Andreas Schwab <schwab@redhat.com>
83929
83930 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83931 specially.
83932 (gaih_getanswer_slice): Likewise.
83933
83934 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83935
83936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83937
83938 2010-05-31 Petr Baudis <pasky@suse.cz>
83939
83940 [BZ #11149]
83941 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83942 silently even in the chroot mode.
83943
83944 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83945
83946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83947 last patch a bit. Pretty printing
83948
83949 2010-05-31 Petr Baudis <pasky@suse.cz>
83950
83951 [BZ #10085]
83952 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83953 initialization of skip_initgroups_dyn.
83954
83955 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83956
83957 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83958 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83959
83960 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83961
83962 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83963
83964 2010-11-11 Andreas Schwab <schwab@redhat.com>
83965
83966 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83967 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83968 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83969 ($(objpfx)tst-fnmatch-mem): New rule.
83970 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83971 * posix/tst-fnmatch.c (main): Call mtrace.
83972
83973 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83974
83975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83976 Support Intel processor model 6 and model 0x2c.
83977
83978 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83979
83980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83981 signed comparison.
83982
83983 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
83984
83985 [BZ #12205]
83986 * string/test-strncasecmp.c (check_result): New function.
83987 (do_one_test): Use it.
83988 (check1): New function.
83989 (test_main): Use it.
83990 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83991 Support strcasecmp and strncasecmp.
83992
83993 2010-11-08 Ulrich Drepper <drepper@gmail.com>
83994
83995 [BZ #12194]
83996 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83998
83999 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
84000
84001 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84002 IFUNC support.
84003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84004 memset-x86-64.
84005 * sysdeps/x86_64/multiarch/bzero.S: New file.
84006 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84007 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84008 * sysdeps/x86_64/multiarch/memset.S: New file.
84009 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84011 Set bit_Prefer_SSE_for_memop for Intel processors.
84012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84013 Define.
84014 (index_Prefer_SSE_for_memop): Define.
84015 (HAS_PREFER_SSE_FOR_MEMOP): Define.
84016
84017 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
84018
84019 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84020 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84021
84022 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
84023
84024 [BZ #12191]
84025 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84026 (__x86_64_raw_data_cache_size_half): Likewise.
84027 (__x86_64_raw_shared_cache_size): Likewise.
84028 (__x86_64_raw_shared_cache_size_half): Likewise.
84029
84030 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84031 (__x86_64_raw_data_cache_size_half): Likewise.
84032 (__x86_64_raw_shared_cache_size): Likewise.
84033 (__x86_64_raw_shared_cache_size_half): Likewise.
84034 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84035 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84036 and __x86_64_raw_shared_cache_size_half. Round
84037 __x86_64_data_cache_size_half, __x86_64_data_cache_size
84038 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84039 to multiple of 256 bytes.
84040
84041 2010-11-03 Ulrich Drepper <drepper@gmail.com>
84042
84043 [BZ #12167]
84044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84045 of inacessible symlinks. Verify result of symlink before returning it.
84046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84047 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84048
84049 2010-10-28 Erich Ritz <erichritz@gmail.com>
84050
84051 * math/math.h (isinf): Fix typo in comment.
84052
84053 2010-11-01 Ulrich Drepper <drepper@gmail.com>
84054
84055 * po/da.po: Update from translation team.
84056
84057 2010-10-26 Ulrich Drepper <drepper@gmail.com>
84058
84059 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84060 is added to the list.
84061
84062 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84063 Ulrich Drepper <drepper@gmail.com>
84064
84065 * elf/dl-object.c (_dl_new_object): Don't append the new object to
84066 the global list here. Move code to...
84067 (_dl_add_to_namespace_list): ...here. New function.
84068 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84069 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84070 * elf/dl-load.c (lose): Don't remove the element from the list.
84071 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84072 (_dl_map_object): Likewise.
84073
84074 2010-10-25 Ulrich Drepper <drepper@gmail.com>
84075
84076 [BZ #12159]
84077 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84078 into all bytes of SSE register.
84079 Patch by Richard Li <richardpku@gmail.com>.
84080
84081 2010-10-24 Ulrich Drepper <drepper@gmail.com>
84082
84083 [BZ #12140]
84084 * malloc/malloc.c (_int_free): Fill correct number of bytes when
84085 perturbing.
84086
84087 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84088
84089 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84090 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84091 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84094 submachine.
84095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84096
84097 2010-10-22 Andreas Schwab <schwab@redhat.com>
84098
84099 * include/dlfcn.h (__RTLD_SECURE): Define.
84100 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84101 mode & __RTLD_SECURE instead.
84102 (open_path): Rename preloaded parameter to secure.
84103 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84104 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84105 * elf/dl-deps.c (openaux): Likewise.
84106 * elf/rtld.c (struct map_args): Remove is_preloaded.
84107 (map_doit): Don't use it.
84108 (dl_main): Likewise.
84109 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84110 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84111
84112 2010-09-09 Andreas Schwab <schwab@redhat.com>
84113
84114 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84115 (sysd-rules-targets): Remove duplicates.
84116 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84117 rtld-%.$o dependency.
84118
84119 2010-10-18 Andreas Schwab <schwab@redhat.com>
84120
84121 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84122 _dl_map_object do it.
84123
84124 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84125
84126 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84127 fast fma builtins, define the macros in the C99 standard.
84128 (FP_FAST_FMAF): Likewise.
84129 (FP_FAST_FMAL): Likewise.
84130 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84131
84132 * bits/mathdef.h: Update copyright year.
84133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84134
84135 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84136
84137 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84138 builtins, define the macros in the C99 standard.
84139 (FP_FAST_FMAF): Likewise.
84140 (FP_FAST_FMAL): Likewise.
84141 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84142 multiply/add.
84143 (FP_FAST_FMAF): Likewise.
84144
84145 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84146
84147 [BZ #3268]
84148 * math/libm-test.inc (fma_test): Some new testcases.
84149 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84150 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84151 y and infinite z. Do multiplication by C already in long double.
84152 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84154 y and infinite z. Do bitwise or of inexact bit into u.d.
84155 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84156 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84157 * sysdeps/i386/fpu/s_fma.S: Removed.
84158 * sysdeps/i386/fpu/s_fmal.S: Removed.
84159
84160 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84161
84162 [BZ #3268]
84163 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84165 computation is not scheduled after fetestexcept. Fix value
84166 of minimum denormal long double.
84167
84168 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84169
84170 [BZ #3268]
84171 * math/libm-test.inc (fma_test): Add some more tests.
84172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84173 correctly.
84174
84175 2010-10-15 Andreas Schwab <schwab@redhat.com>
84176
84177 * scripts/data/localplt-s390-linux-gnu.data: New file.
84178 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84179
84180 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84181
84182 [BZ #3268]
84183 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84184 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84185 instead of dbl-64.
84186 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84187 inlines.
84188 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84190 if one of x and y is very large and the other is subnormal.
84191 * sysdeps/s390/fpu/s_fmaf.c: New file.
84192 * sysdeps/s390/fpu/s_fma.c: New file.
84193 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84194 * sysdeps/powerpc/fpu/s_fma.S: New file.
84195 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84196 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84197 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84198
84199 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84200
84201 [BZ #3268]
84202 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84203 fma tests.
84204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84205 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84206 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84207 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84208 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84209 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84210 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84211
84212 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84213
84214 [BZ #12078]
84215 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84216 * posix/bug-regex31.input: Add test case.
84217
84218 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84219
84220 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84221 * posix/bug-regex31.input: New file.
84222
84223 [BZ #12078]
84224 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84225 (parse_sub_exp): Fix last change, use postorder.
84226
84227 * posix/bug-regex31.c: New file.
84228 * posix/Makefile: Add rules to build and run bug-regex31.
84229
84230 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84231
84232 [BZ #12078]
84233 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84234
84235 [BZ #12108]
84236 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84237 to have entries in sys_siglist.
84238
84239 [BZ #12093]
84240 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84241 be NULL.
84242
84243 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84244
84245 [BZ #3268]
84246 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84247 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84248 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84249 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84251 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84252 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84253 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84254 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84255 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84256 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84257 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84258 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84259 * math/ftestexcept.c (fetestexcept): Likewise.
84260 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84261 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84262 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84263 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84264 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84265 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84267
84268 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84269
84270 [BZ #12107]
84271 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84272 newline.
84273
84274 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84275
84276 * string/bug-strstr1.c: New file.
84277 * string/Makefile: Add rules to build and run bug-strstr1.
84278
84279 2010-10-05 Eric Blake <eblake@redhat.com>
84280
84281 [BZ #12092]
84282 * string/str-two-way.h (two_way_long_needle): Always clear memory
84283 when skipping input due to the shift table.
84284
84285 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84286
84287 [BZ #12005]
84288 * malloc/mcheck.c: Handle large requests.
84289
84290 [BZ #12077]
84291 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84292 for strncmp and strncasecmp.
84293 * string/stratcliff.c: Add tests for strcmp and strncmp.
84294 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84295
84296 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84297
84298 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84299 __set_fpscr.
84300
84301 2010-09-30 Andreas Jaeger <aj@suse.de>
84302
84303 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84304 (CGROUP_SUPER_MAGIC): Define.
84305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84306 Handle btrfs and cgroup file systems.
84307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84308 Likewise.
84309
84310 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84311
84312 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84313 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84314
84315 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84316
84317 [BZ #12067]
84318 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84319 trying to locate the ELF header.
84320
84321 2010-09-27 Andreas Schwab <schwab@redhat.com>
84322
84323 [BZ #11611]
84324 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84325 Mask out sign-bit copies when constructing f_fsid.
84326
84327 2010-09-24 Petr Baudis <pasky@suse.cz>
84328
84329 * debug/stack_chk_fail_local.c: Add missing licence exception.
84330 * debug/warning-nop.c: Likewise.
84331
84332 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84333
84334 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84335 implementing getdents64 using getdents syscall, set d_type if
84336 __ASSUME_GETDENTS32_D_TYPE.
84337
84338 2010-09-16 Andreas Schwab <schwab@redhat.com>
84339
84340 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84341 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84342
84343 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84344
84345 [BZ #12037]
84346 * posix/unistd.h: Undo change of feature selection for ftruncate from
84347 2010-01-11.
84348
84349 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84350
84351 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84352 detection.
84353
84354 2010-09-20 Andreas Schwab <schwab@redhat.com>
84355
84356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84357 fanotify_mark.
84358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84359
84360 2010-09-14 Andreas Schwab <schwab@redhat.com>
84361
84362 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84363 variables after CHECK_SP call.
84364 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84365
84366 2010-09-13 Andreas Schwab <schwab@redhat.com>
84367 Ulrich Drepper <drepper@redhat.com>
84368
84369 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84370 re-relocationg ld.so.
84371 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84372 _dl_init_paths call.
84373 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84374 here anymore.
84375
84376 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84377
84378 * resolv/res_init.c (__res_vinit): Count the default server we added.
84379
84380 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84381 Ulrich Drepper <drepper@redhat.com>
84382
84383 [BZ #11968]
84384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84385 (____longjmp_chk): Use %ebx for saving value across system call.
84386 Add unwind info.
84387
84388 2010-09-06 Andreas Schwab <schwab@redhat.com>
84389
84390 * manual/Makefile: Don't mix pattern rules with normal rules.
84391
84392 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84393
84394 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84395 operation.
84396 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84397 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84398 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84399 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84401 Likewise.
84402
84403 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84404
84405 [BZ #11979]
84406 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84407 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84408
84409 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84410
84411 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84412 * sysdeps/x86_64/addmul_1.S: Likewise.
84413 * sysdeps/x86_64/lshift.S: Likewise.
84414 * sysdeps/x86_64/mul_1.S: Likewise.
84415 * sysdeps/x86_64/rshift.S: Likewise.
84416 * sysdeps/x86_64/sub_n.S: Likewise.
84417 * sysdeps/x86_64/submul_1.S: Likewise.
84418
84419 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84420
84421 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84422 Define __sched_param instead of SCHED_* and sched_param when
84423 <bits/sched.h> is included with __need_schedparam defined.
84424 * bits/sched.h [__need_schedparam]
84425 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84426 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84427 (__defined_schedparam): Define to 1.
84428 (__sched_param): New structure, identical to sched_param.
84429 (__need_schedparam): Undefine.
84430
84431 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84432
84433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84434 (epoll_create1): Declare.
84435
84436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84437
84438 2010-08-31 Andreas Schwab <schwab@redhat.com>
84439
84440 [BZ #7066]
84441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84442 shifting retval into place.
84443
84444 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84445
84446 * nis/rpcsvc/nis.h: Update copyright notice.
84447 * nis/rpcsvc/nis.x: Likewise.
84448 * nis/rpcsvc/nis_callback.h: Likewise.
84449 * nis/rpcsvc/nis_callback.x: Likewise.
84450 * nis/rpcsvc/nis_object.x: Likewise.
84451 * nis/rpcsvc/nis_tags.h: Likewise.
84452 * nis/rpcsvc/yp.h: Likewise.
84453 * nis/rpcsvc/yp.x: Likewise.
84454 * nis/rpcsvc/ypupd.h: Likewise.
84455 * nis/yp_xdr.c: Likewise.
84456 * nis/ypupdate_xdr.c: Likewise.
84457
84458 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84459 mainly the body of pmap_getport. Add parameters to specify timeouts.
84460 (pmap_getport): Use __libc_rpc_getport.
84461 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84462 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84463 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84464
84465 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84466
84467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84468 fanotify_mark.
84469
84470 2010-08-27 Roland McGrath <roland@redhat.com>
84471
84472 * sysdeps/i386/i686/multiarch/Makefile
84473 (CFLAGS-varshift.c): New variable.
84474
84475 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84476
84477 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84478 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84479
84480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84481
84482 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84483
84484 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84485
84486 * sysdeps/x86_64/strlen.S: Unroll the loop.
84487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84488 strlen-sse2 strlen-sse2-bsf.
84489 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84490 __strlen_no_bsf if bit_Slow_BSF is set.
84491 (__strlen_sse42): Removed.
84492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84493 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84494
84495 2010-08-25 Roland McGrath <roland@redhat.com>
84496
84497 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84498 * sysdeps/x86_64/multiarch/varshift.c: New file.
84499 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84500 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84501 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84502 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84503
84504 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84505
84506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84507 strlen-sse2 strlen-sse2-bsf.
84508 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84509 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84510 (__strlen_sse2): Removed.
84511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84514 bit_Slow_BSF for Atom.
84515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84516 (index_Slow_BSF): Define.
84517 (HAS_SLOW_BSF): Define.
84518
84519 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84520
84521 [BZ #10851]
84522 * resolv/res_init.c (__res_vinit): When no server address at all
84523 is given default to loopback.
84524
84525 2010-08-24 Roland McGrath <roland@redhat.com>
84526
84527 * configure.in: Remove config-name.h generation.
84528 * configure: Regenerated.
84529 * config-name.in: File removed.
84530 * scripts/config-uname.sh: New file.
84531 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84532 ($(objdir)config-name.h): New target.
84533
84534 * sunrpc/rpc_parse.h: Avoid nested comment.
84535
84536 2010-08-24 Richard Henderson <rth@redhat.com>
84537 Ulrich Drepper <drepper@redhat.com>
84538 H.J. Lu <hongjiu.lu@intel.com>
84539
84540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84542 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84543 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84544 _mm_alignr_epi8 with _mm_loadu_si128.
84545 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84546 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84547 (__m128i_shift_right): Removed.
84548 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84549 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84550 * sysdeps/x86_64/multiarch/varshift.h: New file.
84551 * sysdeps/x86_64/multiarch/varshift.S: New file.
84552
84553 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84554
84555 * configure.in: Move assembler checks to before sysdep dir checking.
84556
84557 2010-08-20 Petr Baudis <pasky@suse.cz>
84558
84559 * LICENSES: Sync the sunrpc license.
84560
84561 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84562
84563 * sunrpc/auth_des.c: Update copyright notice once again.
84564 * sunrpc/auth_none.c: Likewise.
84565 * sunrpc/auth_unix.c: Likewise.
84566 * sunrpc/authdes_prot.c: Likewise.
84567 * sunrpc/authuxprot.c: Likewise.
84568 * sunrpc/bindrsvprt.c: Likewise.
84569 * sunrpc/clnt_gen.c: Likewise.
84570 * sunrpc/clnt_perr.c: Likewise.
84571 * sunrpc/clnt_raw.c: Likewise.
84572 * sunrpc/clnt_simp.c: Likewise.
84573 * sunrpc/clnt_tcp.c: Likewise.
84574 * sunrpc/clnt_udp.c: Likewise.
84575 * sunrpc/clnt_unix.c: Likewise.
84576 * sunrpc/des_crypt.c: Likewise.
84577 * sunrpc/des_soft.c: Likewise.
84578 * sunrpc/get_myaddr.c: Likewise.
84579 * sunrpc/getrpcport.c: Likewise.
84580 * sunrpc/key_call.c: Likewise.
84581 * sunrpc/key_prot.c: Likewise.
84582 * sunrpc/openchild.c: Likewise.
84583 * sunrpc/pm_getmaps.c: Likewise.
84584 * sunrpc/pm_getport.c: Likewise.
84585 * sunrpc/pmap_clnt.c: Likewise.
84586 * sunrpc/pmap_prot.c: Likewise.
84587 * sunrpc/pmap_prot2.c: Likewise.
84588 * sunrpc/pmap_rmt.c: Likewise.
84589 * sunrpc/rpc/auth.h: Likewise.
84590 * sunrpc/rpc/auth_unix.h: Likewise.
84591 * sunrpc/rpc/clnt.h: Likewise.
84592 * sunrpc/rpc/des_crypt.h: Likewise.
84593 * sunrpc/rpc/key_prot.h: Likewise.
84594 * sunrpc/rpc/netdb.h: Likewise.
84595 * sunrpc/rpc/pmap_clnt.h: Likewise.
84596 * sunrpc/rpc/pmap_prot.h: Likewise.
84597 * sunrpc/rpc/pmap_rmt.h: Likewise.
84598 * sunrpc/rpc/rpc.h: Likewise.
84599 * sunrpc/rpc/rpc_des.h: Likewise.
84600 * sunrpc/rpc/rpc_msg.h: Likewise.
84601 * sunrpc/rpc/svc.h: Likewise.
84602 * sunrpc/rpc/svc_auth.h: Likewise.
84603 * sunrpc/rpc/types.h: Likewise.
84604 * sunrpc/rpc/xdr.h: Likewise.
84605 * sunrpc/rpc_clntout.c: Likewise.
84606 * sunrpc/rpc_cmsg.c: Likewise.
84607 * sunrpc/rpc_common.c: Likewise.
84608 * sunrpc/rpc_cout.c: Likewise.
84609 * sunrpc/rpc_dtable.c: Likewise.
84610 * sunrpc/rpc_hout.c: Likewise.
84611 * sunrpc/rpc_main.c: Likewise.
84612 * sunrpc/rpc_parse.c: Likewise.
84613 * sunrpc/rpc_parse.h: Likewise.
84614 * sunrpc/rpc_prot.c: Likewise.
84615 * sunrpc/rpc_sample.c: Likewise.
84616 * sunrpc/rpc_scan.c: Likewise.
84617 * sunrpc/rpc_scan.h: Likewise.
84618 * sunrpc/rpc_svcout.c: Likewise.
84619 * sunrpc/rpc_tblout.c: Likewise.
84620 * sunrpc/rpc_util.c: Likewise.
84621 * sunrpc/rpc_util.h: Likewise.
84622 * sunrpc/rpcinfo.c: Likewise.
84623 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84624 * sunrpc/rpcsvc/key_prot.x: Likewise.
84625 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84626 * sunrpc/rpcsvc/mount.x: Likewise.
84627 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84628 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84629 * sunrpc/rpcsvc/rex.x: Likewise.
84630 * sunrpc/rpcsvc/rstat.x: Likewise.
84631 * sunrpc/rpcsvc/rusers.x: Likewise.
84632 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84633 * sunrpc/rpcsvc/spray.x: Likewise.
84634 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84635 * sunrpc/rtime.c: Likewise.
84636 * sunrpc/svc.c: Likewise.
84637 * sunrpc/svc_auth.c: Likewise.
84638 * sunrpc/svc_authux.c: Likewise.
84639 * sunrpc/svc_raw.c: Likewise.
84640 * sunrpc/svc_run.c: Likewise.
84641 * sunrpc/svc_simple.c: Likewise.
84642 * sunrpc/svc_tcp.c: Likewise.
84643 * sunrpc/svc_udp.c: Likewise.
84644 * sunrpc/svc_unix.c: Likewise.
84645 * sunrpc/svcauth_des.c: Likewise.
84646 * sunrpc/xcrypt.c: Likewise.
84647 * sunrpc/xdr.c: Likewise.
84648 * sunrpc/xdr_array.c: Likewise.
84649 * sunrpc/xdr_float.c: Likewise.
84650 * sunrpc/xdr_mem.c: Likewise.
84651 * sunrpc/xdr_rec.c: Likewise.
84652 * sunrpc/xdr_ref.c: Likewise.
84653 * sunrpc/xdr_sizeof.c: Likewise.
84654 * sunrpc/xdr_stdio.c: Likewise.
84655
84656 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84657 handling.
84658
84659 2010-08-19 Andreas Schwab <schwab@redhat.com>
84660
84661 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84662
84663 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84664
84665 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84666 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84667 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84668 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84669 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84670 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84672 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84674 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84675 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84676 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84677 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84678 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84679
84680 2010-07-26 Anton Blanchard <anton@samba.org>
84681
84682 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84683 * malloc/arena.c (heap_trim): Likewise.
84684
84685 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84686
84687 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84688 here. Not...
84689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84690 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84691
84692 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84693
84694 * sysdeps/i386/elf/Makefile: New file.
84695
84696 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84697
84698 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84699 from fanotify_init.
84700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84702
84703 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84704
84705 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84706 of strncasecmp_l.
84707 * sysdeps/multiarch/strcmp.S: Likewise.
84708
84709 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84710
84711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84712 strncase_l-nonascii.
84713 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84714 Add strncase_l-ssse3.
84715 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84716 * sysdeps/x86_64/strcmp.S: Likewise.
84717 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84718 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84719 * sysdeps/x86_64/strncase.S: New file.
84720 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84721 * sysdeps/x86_64/strncase_l.S: New file.
84722 * string/Makefile (strop-tests): Add strncasecmp.
84723 * string/test-strncasecmp.c: New file.
84724
84725 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84726 warning.
84727
84728 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84729 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84730
84731 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84732
84733 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84734
84735 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84736
84737 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84738 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84740
84741 2010-05-01 Alan Modra <amodra@gmail.com>
84742
84743 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84744 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84745 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84746 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84747 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84748 tidying. Don't tail-call __sigjmp_save for static lib.
84749 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84750 save location.
84751 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84752 (CALL_MCOUNT): Add eh info, and nop after bl.
84753 (TAIL_CALL_SYSCALL_ERROR): New macro.
84754 (PSEUDO_RET): Use it.
84755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84756 Correct save location of integer regs and cr.
84757 (_dl_profile_resolve): Correct cr save location. Delete nops
84758 after bl when SHARED. Reduce cfi size a little by better
84759 placement of cfi directives.
84760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84761 make a stack frame. Instead use parm save area as a temp.
84762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84763 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84765 Don't make a stack frame for parent, use parm save area.
84766 Increase child stack frame to 112 bytes. Don't save unused reg,
84767 and adjust reg usage. Set up cfi on error recovery and
84768 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84770 (__makecontext): Add dummy nop after jump to exit.
84771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84772 Use correct parm save area and cr save, reduce stack frame.
84773 Correct cfi for possible PSEUDO_RET frame setup.
84774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84775 Branch to local label emitted by PSEUDO_RET rather than
84776 __syscall_error.
84777
84778 2010-08-12 Andreas Schwab <schwab@redhat.com>
84779
84780 [BZ #11904]
84781 * locale/programs/locale.c (print_assignment): New function.
84782 (show_locale_vars): Use it.
84783
84784 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84785
84786 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84787 field.
84788 (struct statfs64): Likewise.
84789 (_STATFS_F_FLAGS): Define.
84790 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84792 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84793 (ST_VALID): Define locally.
84794 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84795 __statvfs_getflags, use the provided value.
84796 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84797 __ASSUME_STATFS_F_FLAGS.
84798
84799 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84800
84801 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84802 Add sys/fanotify.h.
84803 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84804 fanotify_mask for GLIBC_2.13.
84805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84806 fanotify_init and fanotify_mark.
84807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84808 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84809
84810 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84811 Add prlimit.
84812 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84813 prlimit64 for GLIBC_2.13.
84814 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84815 prlimit64.
84816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84817 syscall.
84818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84820 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84823 add prlimit alias.
84824 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84825
84826 [BZ #11903]
84827 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84828 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84829
84830 * nss/Makefile: Add rules to build and run tst-nss-test1.
84831 * shlib-versions: Add entry for libnss_test1.
84832 * nss/nss_test1.c: New file.
84833 * nss/tst-nss-test1.c: New file.
84834
84835 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84836 (__nss_configure_lookup): Set appropriate entry in
84837 __nss_configure_lookup to true.
84838 * nss/nsswitch.h: Define enum with indeces of databases in
84839 databases and __nss_database_custom arrays. Declare
84840 __nss_database_custom.
84841 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84842 to avoid using nscd when custom rules are installed.
84843 * nss/getXXbyYY_r.c: Likewise.
84844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84845
84846 * nss/nss_files/files-parse.c: Whitespace fixes.
84847
84848 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84849
84850 [BZ #11883]
84851 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84852 * posix/fnmatch_loop.c: Likewise.
84853
84854 2010-07-17 Andi Kleen <ak@linux.intel.com>
84855
84856 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84857 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84858 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84859 * Versions.def [GLIBC_2.13]: Add.
84860
84861 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84862
84863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84864 Also fail if tpwd after pwuid call is NULL.
84865
84866 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84867
84868 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84869 when converting to ms.
84870
84871 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84872
84873 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84874 EOPNOTSUPP errors with ENOTTY.
84875 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84876 EOPNOTSUPP errors with ENOTTY.
84877
84878 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84879
84880 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84881 Add strcasecmp_l-ssse3.
84882 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84883 strcasecmp.
84884 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84885 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84886 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84887
84888 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84889
84890 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84891
84892 * string/Makefile (strop-tests): Add strcasecmp.
84893 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84894 strcasecmp_l-nonascii.
84895 (gen-as-const-headers): Add locale-defines.sym.
84896 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84897 * sysdeps/x86_64/strcasecmp.S: New file.
84898 * sysdeps/x86_64/strcasecmp_l.S: New file.
84899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84900 * sysdeps/x86_64/locale-defines.sym: New file.
84901 * string/test-strcasecmp.c: New file.
84902
84903 * string/test-strcasestr.c: Test both ends of the range of characters.
84904 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84905
84906 2010-07-29 Roland McGrath <roland@redhat.com>
84907
84908 [BZ #11856]
84909 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84910
84911 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84912
84913 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84914 for ld.so.
84915
84916 2010-07-27 Andreas Schwab <schwab@redhat.com>
84917
84918 * manual/memory.texi (Malloc Tunable Parameters): Document
84919 M_PERTURB.
84920
84921 2010-07-26 Roland McGrath <roland@redhat.com>
84922
84923 [BZ #11840]
84924 * configure.in (-fgnu89-inline check): Set and substitute
84925 gnu89_inline, not libc_cv_gnu89_inline.
84926 * configure: Regenerated.
84927 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84928
84929 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84930
84931 * string/test-strnlen.c: New file.
84932 * string/Makefile (strop-tests): Add strnlen.
84933 * string/tester.c (test_strnlen): Add a few more test cases.
84934 * string/tst-strlen.c: Better error reporting.
84935
84936 * sysdeps/x86_64/strnlen.S: New file.
84937
84938 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84939
84940 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84941 lower-latency instructions.
84942
84943 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84944
84945 * string/test-strcasestr.c: New file.
84946 * string/test-strstr.c: New file.
84947 * string/Makefile (strop-tests): Add strstr and strcasestr.
84948 * string/str-two-way.h: Don't undefine MAX.
84949 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84950
84951 2010-07-21 Andreas Schwab <schwab@redhat.com>
84952
84953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84954 strcasestr-nonascii.
84955 (CFLAGS-strcasestr-nonascii.c): Define.
84956 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84958 Remove unused attribute.
84959
84960 2010-07-20 Roland McGrath <roland@redhat.com>
84961
84962 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84963 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84964 ld.so.cache was broken. With it, there is no way to disable dsocaps
84965 like LD_HWCAP_MASK can disable hwcaps.
84966
84967 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84968
84969 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84970
84971 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84972
84973 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84974 call in strcasestr.
84975 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84976 __strcasestr_sse42_nonascii.
84977 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84978 strcasestr-nonascii.c.
84979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84980
84981 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84982
84983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84987
84988 2010-07-09 Ulrich Drepper <drepper@redhat.com>
84989
84990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84991 fcntl.
84992
84993 2010-07-06 Andreas Schwab <schwab@redhat.com>
84994
84995 [BZ #11577]
84996 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84997 dl_signal_cerror.
84998
84999 2010-07-06 Ulrich Drepper <drepper@redhat.com>
85000
85001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85002 _PC_PIPE_BUF using F_GETPIPE_SZ.
85003
85004 2010-07-05 Roland McGrath <roland@redhat.com>
85005
85006 * manual/arith.texi (Rounding Functions): Fix rint description
85007 implicit in round description.
85008
85009 2010-07-02 Ulrich Drepper <drepper@redhat.com>
85010
85011 * elf/Makefile: Fix linking for a few tests to make recent linker
85012 happy.
85013
85014 2010-06-30 Andreas Schwab <schwab@redhat.com>
85015
85016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85017 $(common-objpfx)libc_nonshared.a.
85018
85019 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
85020
85021 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85022 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85023 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85024 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85025 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85026 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85027 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85028 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85043 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85044 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85045 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85046 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85047 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85048 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85049 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85050 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85051 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85052 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85053 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85054 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85069
85070 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
85071
85072 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85073 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
85074 * string/memmove.c (memmove): Renamed to ...
85075 (MEMMOVE): ...this. Default to memmove.
85076 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85077 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85078 (END_CHK): Define.
85079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85080 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85081 mempcpy-ssse3-back memmove-ssse3-back.
85082 * sysdeps/x86_64/multiarch/bcopy.S: New file .
85083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85085 * sysdeps/x86_64/multiarch/memcpy.S: New file.
85086 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85087 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85088 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85089 * sysdeps/x86_64/multiarch/memmove.c: New file.
85090 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85091 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85092 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85093 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85096 Define.
85097 (index_Fast_Copy_Backward): Define.
85098 (HAS_ARCH_FEATURE): Define.
85099 (HAS_FAST_REP_STRING): Define.
85100 (HAS_FAST_COPY_BACKWARD): Define.
85101
85102 2010-06-21 Andreas Schwab <schwab@redhat.com>
85103
85104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85105 Restore proper fallback handling.
85106
85107 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85108
85109 [BZ #11701]
85110 * posix/group_member.c (__group_member): Correct checking loop.
85111
85112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85113 OOM in getpwuid_r correctly. Return error number when the caller
85114 should return, otherwise -1.
85115 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85116 call returning > 0 value.
85117 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85118
85119 2010-06-07 Andreas Schwab <schwab@redhat.com>
85120
85121 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85122 libc_nonshared.a from targets in modules-names.
85123
85124 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85125
85126 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85127 requires it.
85128
85129 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85130
85131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85135
85136 2010-06-02 Andreas Schwab <schwab@redhat.com>
85137
85138 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85139
85140 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85141
85142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85143 and F_GETPIPE_SZ.
85144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85150
85151 2010-06-14 Roland McGrath <roland@redhat.com>
85152
85153 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85154
85155 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85156
85157 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85158 __REDIRECT followed by __THROW.
85159 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85160 * posix/getopt.h (getopt): Likewise.
85161
85162 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85163
85164 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85165 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85166 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85167 in AT_FLAGS.
85168 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85169 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85170
85171 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85172
85173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85174
85175 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85176
85177 [BZ #11640]
85178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85179 Properly check family and model.
85180
85181 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85182
85183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85184
85185 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85186
85187 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85188
85189 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85190
85191 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85192 symbol reference.
85193
85194 2010-05-19 Andreas Schwab <schwab@redhat.com>
85195
85196 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85197 symbol reference.
85198
85199 2010-05-21 Andreas Schwab <schwab@redhat.com>
85200
85201 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85202 and internal_recvmmsg.
85203 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85205 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85206 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85207
85208 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85209 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85210 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85211
85212 2010-05-20 Andreas Schwab <schwab@redhat.com>
85213
85214 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85215
85216 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85217
85218 POWER7 optimizations.
85219 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85220 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85221
85222 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85223
85224 * version.h: Update for 2.13 development version.
85225
85226 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85227
85228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85229 exceptions. Return 0.
85230
85231 2010-05-07 Roland McGrath <roland@redhat.com>
85232
85233 * elf/ldconfig.c (main): Add a const.
85234
85235 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85236
85237 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85238 (args_options): Add no-idn option.
85239 (ahosts_keys_int): Add idn_flags to ai_flags.
85240 (parse_option): Handle 'i' option to clear idn_flags.
85241
85242 * malloc/malloc.c (_int_free): Possible race in the most recently
85243 added check. Only act on the data if no current modification
85244 happened.
85245
85246 See ChangeLog.17 for earlier changes.